Re: X display sharing fails (xauth)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Smith wrote:
> Bill Davidsen wrote:
>> And finally, why not just ssh to the other user with X forwarding? ssh
>> -X user2@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@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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux