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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux