Re: "ssh -X root, then su -" don't bring terminal

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

 



Marcelo M. Garcia wrote:
Hi

I'm trying to test the installation of a software in HP-UX (B.11.11). To do that, I'm logging in as root[1], then changing to the user[2]. But after changing I could not export the terminal[3]. But if I try the same using Opensuse 11.0, everything works fine.

In my machine, I issue the command "xhost +", but it doesn't make difference.

Does anyone have a hint of what going on?

thanks

Marcelo



[1] ssh -X root@muggle
[2] su - lu
[3]
lu [muggle] ~ >    xterm
xterm Xt error: Can't open display: %s

Hi Marcelo

Try this:
[1] ssh -X root@muggle (Make sure X11Forwarding is enabled in your ssh server).
[2] xhost +
[3] su - lu
[4] export display:0.0
[5] lu [muggle] ~ >    xterm

Thanks
Gowrishankar Rajaiyan

--
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