[opensuse] ssh -X didn't display YAST2 GUI
Hi, I manage to do GUI remote connection to one of my server running SLES 11 SP1 and to another running openSUSE 11.3 by using ssh -X remote-ip and then issue : yast2 but YAST running in ncurses (text mode) instead of GUI Application. I disable firewall for temporary checking but YAST (and others GUI application) could not start. is this my problem because I remote to the server twice : first remote to text mode server with public IP and then remote to the GUI server by using local IP (both with ssh -X) or do I need to do some configurationchecking. If so, what can I do for checking? -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com Excellent Infotama Kreasindo : http://www.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Aug 30, 2010 at 4:24 AM, Masim "Vavai" Sugianto
Hi,
I manage to do GUI remote connection to one of my server running SLES 11 SP1 and to another running openSUSE 11.3 by using ssh -X remote-ip and then issue :
yast2
but YAST running in ncurses (text mode) instead of GUI Application.
Check if X Forwarding is enabled in your "remote-ip" sshd. In the /etc/ssh/sshd_config file make sure you have this string "X11Forwarding yes"; if not then set it and restart the sshd server. HTH -- Arun Khan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Masim "Vavai" Sugianto wrote: is this my problem because I remote to
the server twice : first remote to text mode server with public IP and then remote to the GUI server by using local IP (both with ssh -X)
Probably. You're talking about A -> ssh -X B -> ssh -X C yes? I just tried making ssh chains like this and invoking yast2 at the end of the chain. Sometimes I get the GUI and sometimes I get the curses version. I don't know whether it's the number of links in the chain or the type of operating system and/or version in the chain. The A machine (that runs X) and the C machine (running yast2) were the same in all my tests. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
this may well be a silly question, but is everyone trying this sure that they have the graphical yast2 rpms available on their end hosts? e.g. when I do rpm -qa | grep yast | egrep "curse|gtk|qt" it looks as though there are different RPMs for curses, gtk & qt ... not sure if it can be installed without the graphical versions, but I wouldn't see why not.
then remote to the GUI server by using local IP (both with ssh -X)
Probably. You're talking about A -> ssh -X B -> ssh -X C yes?
I just tried making ssh chains like this and invoking yast2 at the end of the chain. Sometimes I get the GUI and sometimes I get the curses version. I don't know whether it's the number of links in the chain or the type of operating system and/or version in the chain. The A machine (that runs X) and the C machine (running yast2) were the same in all my tests.
Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2010-08-31 at 12:28 -0400, zGreenfelder wrote:
this may well be a silly question, but is everyone trying this sure that they have the graphical yast2 rpms available on their end hosts?
It works for me, I run YaST2 remotely all the time. Including on 11.3.
e.g. when I do rpm -qa | grep yast | egrep "curse|gtk|qt"
yast2-qt-2.19.1-1.9.x86_64 yast2-gtk-2.21.68-0.1.1.x86_64
it looks as though there are different RPMs for curses, gtk & qt ...
Which makes sense.
I just tried making ssh chains like this and invoking yast2 at the end of the chain. Sometimes I get the GUI and sometimes I get the curses version.
That means you DISPLAY is not exported in some circumstances
echo $DISPLAY
--
Adam Tauno Williams
participants (5)
-
Adam Tauno Williams
-
Arun Khan
-
Dave Howorth
-
Masim "Vavai" Sugianto
-
zGreenfelder