[opensuse] ssh X forwarding - what's missing?
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas? Thanks, Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* benefici@fastmail.fm <benefici@fastmail.fm> [01-20-11 09:53]:
I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
sounds like X is not running on the remote ?? -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 20-01-2011 14:57, Patrick Shanahan wrote:
* benefici@fastmail.fm<benefici@fastmail.fm> [01-20-11 09:53]:
I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X<host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas? sounds like X is not running on the remote ?? AFAIK, you do not need X running on the remote station in order to run X applications forwarded to your local one. I have about 30 servers, all running on init 3 and I'm able (usually do not) to run X apps remotely on all of them. Just FYI, it may be handy for you...
-- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rui Santos wrote:
AFAIK, you do not need X running on the remote station in order to run X applications forwarded to your local one. I have about 30 servers, all running on init 3 and I'm able (usually do not) to run X apps remotely on all of them. Just FYI, it may be handy for you... You don't need to have it running, but you do need some files to be installed. My firewall runs at init 3 and I regularly use X over ssh to run some apps.
Lars Muller mentioned all you need is xorg-x11-xauth. I've got a mininal X system installed. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 20 Jan 2011 14:52:11 benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom
Tom, This is not an answer to the question you've asked, but have you tried sshfs? It allows you to mount a remote filesystem locally, and I find it runs stuff faster than ssh -X, because the program is running on your local machine, and only data gets moved over the link. Usage: ~> sshfs remotehost:/home/you mountpoint ~> fusermount -u mountpoint # to unmount Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.3 64-bit, Kernel 2.6.36.90-desktop, KDE 4.5.3 Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob Williams wrote:
This is not an answer to the question you've asked, but have you tried sshfs? It allows you to mount a remote filesystem locally, and I find it runs stuff faster than ssh -X, because the program is running on your local machine, and only data gets moved over the link.
There are many applications where you need more than file access. For example, I regularly remotely access yast2 on my firewall via ssh. I'm also currently experimenting with Firewall Builder. Both of these examples have to run on the target computer. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jan 20, 2011 at 03:52:11PM +0100, benefici@fastmail.fm wrote:
I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
You need to install xorg-x11-xauth Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On 2011. 01. 20., Thursday 16:06:37 Lars Müller wrote:
On Thu, Jan 20, 2011 at 03:52:11PM +0100, benefici@fastmail.fm wrote:
I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
You need to install xorg-x11-xauth
Yes, I have it installed (and before you ask, I checked it on the remote host :)). Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 20-01-2011 14:52, benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X<host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom Do you have 'X11Forwarding yes' option on your /etc/ssh/sshd_config file ?
-- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011. 01. 20., Thursday 16:09:33 Rui Santos wrote:
On 20-01-2011 14:52, benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X<host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom
Do you have 'X11Forwarding yes' option on your /etc/ssh/sshd_config file ?
I haven't changed this file, and the answer is yes: # grep X /etc/ssh/sshd_config X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes # X11Forwarding no Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X<host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom
I believe you have to install a minimal X system for that to work. I just checked the software installed on my firewall and see "X Window System" is installed. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011. 01. 20., Thursday 16:10:30 James Knott wrote:
benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X<host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom
I believe you have to install a minimal X system for that to work. I just checked the software installed on my firewall and see "X Window System" is installed.
One of the installation screens is titled "Desktop selection" or something like that. Here I selected "Other / Minimal X Window", if that's what you mean. But anyway, you should be able to add any missing packages later if you want - and this is what I'm trying to do now. Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
benefici@fastmail.fm
-
Bob Williams
-
James Knott
-
Lars Müller
-
Patrick Shanahan
-
Rui Santos