X display sharing fails (xauth)

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Oct 13 19:35:17 UTC 2008


Joe Smith wrote:
> Bill Davidsen wrote:
>> And finally, why not just ssh to the other user with X forwarding? ssh
>> -X user2 at localhost would let user2 run X apps without xhost
>> configuration.
>>
>> Maybe some of that will help.
> 
> Yes, very helpful--thanks.
> 
> Good point; I forgot about ssh. It's certainly a good solution but seems
> pretty heavyweight for what I need, both in setup work and while running.
> 
Not a lot of setup work - If you do not like typing in the password,
you can create a key pair. I would use -Y instead of -X, but that is
minor. You run the ssh command in an xterm, and then enter the
commands you want to run as the second user in that xterm after
running the ssh command. Running "ssh -Y user2 at localhost" works
about the same as running "su - user2". (There are differences, but
for what you are after, it should not be a problem.)

Now, if you wanted a full desktop for the second user, you could
consider using something like Xnest. But that is nore work...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081013/4f28c2a4/attachment-0001.sig>


More information about the fedora-list mailing list