How to run X applications using different user ids on two different machines
Hello newsgroup participants,
I am in the following situation:
I have two accounts (let us call them a1 and a2) on two different
machines (let us call them m1 and m2). I want to do following: I would
like to start application
on machine m1 under account a1 and got it displayed back on machine m2
(so far account does not matter). I cannot set any additional user
acount on machine m2
because I do not have root privilegies, so it means also I cannot set
any user
account a1 on machine m2. Magic cookie authorization, as I understand
it, would not work under these circumstances in its most common form
but maybe there are some not so obvious methods how to achieve what I
want?
Thank you in advance.
With Best Regards
Ariel Burbaickij
Re: How to run X applications using different user ids on two different machines
In comp.windows.x, [email]Ariel.Burbaickij@web.de[/email]
<Ariel.Burbaickij@web.de>
wrote
on 7 May 2004 04:36:25 -0700
<d4352878.0405070336.72c28de9@posting.google.com>:[color=blue]
> Hello newsgroup participants,
> I am in the following situation:
> I have two accounts (let us call them a1 and a2) on two different
> machines (let us call them m1 and m2). I want to do following: I would
> like to start application
> on machine m1 under account a1 and got it displayed back on machine m2
> (so far account does not matter). I cannot set any additional user
> acount on machine m2
> because I do not have root privilegies, so it means also I cannot set
> any user
> account a1 on machine m2. Magic cookie authorization, as I understand
> it, would not work under these circumstances in its most common form
> but maybe there are some not so obvious methods how to achieve what I
> want?
>
> Thank you in advance.[/color]
The simplest method is to use ssh:
ssh -X a2@m2
will do exactly what you want, if m2 supports X11Forwarding
in /etc/ssh/sshd_config. (By default this is disabled, however.)
[color=blue]
>
> With Best Regards
> Ariel Burbaickij[/color]
--
#191, [email]ewill3@earthlink.net[/email]
It's still legal to go .sigless.
Re: How to run X applications using different user ids on two different machines
[email]Ariel.Burbaickij@web.de[/email] writes in comp.windows.x:
|I have two accounts (let us call them a1 and a2) on two different
|machines (let us call them m1 and m2). I want to do following: I would
|like to start application
|on machine m1 under account a1 and got it displayed back on machine m2
[url]http://www.xs4all.nl/~zweije/xauth.html[/url]
--
________________________________________________________________________
Alan Coopersmith [email]alanc@alum.calberkeley.org[/email]
[url]http://www.CSUA.Berkeley.EDU/~alanc/[/url] aka: [email]Alan.Coopersmith@Sun.COM[/email]
Working for, but definitely not speaking for, Sun Microsystems, Inc.