[SLE] export DISPLAY problems
Hi, I encountered some problems loging from a SUSE Linux pc onto a HP-UX server and redirecting the DISPLAY to the Suse pc. Here is what I am doing (suse and hpux stand for the names of the two boxes): [suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0 - Networking works fine, both "ping suse" and "ping hpux" work. - The Xserver listens to tcp port 6000, "ps -edaf | grep xdm" gives root 6123 6113 2 11:41 tty7 00:00:07 /usr/X11R6/bin/X -br :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-N9wgXF - "netstat -ln" confirms that: tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 :::6000 :::* LISTEN - "ssh -X" is no alternatice as there is no reliable ssh available for the (very old) HP-UX server. I could not find any other configurations that should hinder the DISPLAY or any advice what else to do. Do you have any ideas what else I could try? Thanks a lot for your help. Malte -- Malte Neumann Institute of Structural Mechanics, University of Stuttgart, Germany http://www.ibb.uni-stuttgart.de/members/neumann/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Malte Neumann wrote:
[suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0
[snip]
"ssh -X" is no alternatice as there is no reliable ssh available for the (very old) HP-UX server.
You can't even build it from source?
I could not find any other configurations that should hinder the DISPLAY or any advice what else to do.
Check that hpux did in fact get entered as an xhost - just run "xhost" on your SUSE machine and check that the list includes "hpux". Also, depending on your setup, you may need to use the full domain name with xhost. /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 31 July 2006 13:28, Malte Neumann wrote:
Hi,
I encountered some problems loging from a SUSE Linux pc onto a HP-UX server and redirecting the DISPLAY to the Suse pc. Here is what I am doing (suse and hpux stand for the names of the two boxes):
[suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0
- Networking works fine, both "ping suse" and "ping hpux" work. - The Xserver listens to tcp port 6000, "ps -edaf | grep xdm" gives root 6123 6113 2 11:41 tty7 00:00:07 /usr/X11R6/bin/X -br :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-N9wgXF - "netstat -ln" confirms that: tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 :::6000 :::* LISTEN - "ssh -X" is no alternatice as there is no reliable ssh available for the (very old) HP-UX server.
I could not find any other configurations that should hinder the DISPLAY or any advice what else to do. Do you have any ideas what else I could try?
You have DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" in /etc/sysconfig/displaymanager right? You could try logging in to another SUSE Linux machine and try to export the DISPLAY to your own box to see how that goes. I tried and it worked for me. Also, check the firewall stuff. From hpux, try "telnet susebox 6000"; you should get a "Connected" response. And use just "xhost +", while you test, to rule out DNS problems. You can restrict aftewards. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thanks you very much for all your instant replies. The problem is already almost solved. - ssh is not really an option as we are still running HP-UX 10.20, and only have old Hp "cc" compilers which do not compile ssh. The problem was resolving the host name in the DISPLAY variable: I use a line like ip-mumber suse.my_domain.de suse in the /etc/hosts file on hpux. This allows me to do "ping suse", but "telnet suse" fails. So, using "telnet ip-number" or "export DSIPLAY=ip-number:0.0" works. I still don't understand why, but knowing how to avoid the problem is already a step in the right direction. Thannks agains Malte -- Malte Neumann Institute of Structural Mechanics, University of Stuttgart, Germany http://www.ibb.uni-stuttgart.de/members/neumann/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Malte Neumann wrote:
- ssh is not really an option as we are still running HP-UX 10.20, and only have old Hp "cc" compilers which do not compile ssh.
You could try building gcc - it will take a while though :-) /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 31 July 2006 12:28, Malte Neumann wrote:
[suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0
Try running 'xhost + hpux' from your ~/.xinitrc file, instead of from a console. If i'm not mistaken, running it from a console in an X session is useless. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Malte Neumann wrote:
Hi,
I encountered some problems loging from a SUSE Linux pc onto a HP-UX server and redirecting the DISPLAY to the Suse pc. Here is what I am doing (suse and hpux stand for the names of the two boxes):
[suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0
- Networking works fine, both "ping suse" and "ping hpux" work. - The Xserver listens to tcp port 6000, "ps -edaf | grep xdm" gives root 6123 6113 2 11:41 tty7 00:00:07 /usr/X11R6/bin/X -br :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-N9wgXF - "netstat -ln" confirms that: tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 :::6000 :::* LISTEN - "ssh -X" is no alternatice as there is no reliable ssh available for the (very old) HP-UX server.
I could not find any other configurations that should hinder the DISPLAY or any advice what else to do. Do you have any ideas what else I could try?
Can you not use SSH? It's a lot easier to use for X. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
James Knott wrote:
Malte Neumann wrote:
Hi,
I encountered some problems loging from a SUSE Linux pc onto a HP-UX server and redirecting the DISPLAY to the Suse pc. Here is what I am doing (suse and hpux stand for the names of the two boxes):
[suse]$ xhost + hpux [suse]$ rlogin hpux [hpux]$ export DISPLAY=suse:0.0 [hpux]$ xclock Error: Can't open display: suse:0.0
- Networking works fine, both "ping suse" and "ping hpux" work. - The Xserver listens to tcp port 6000, "ps -edaf | grep xdm" gives root 6123 6113 2 11:41 tty7 00:00:07 /usr/X11R6/bin/X -br :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-N9wgXF - "netstat -ln" confirms that: tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 :::6000 :::* LISTEN - "ssh -X" is no alternatice as there is no reliable ssh available for the (very old) HP-UX server.
I could not find any other configurations that should hinder the DISPLAY or any advice what else to do. Do you have any ideas what else I could try?
Can you not use SSH? It's a lot easier to use for X.
Sorry, I missed that line about no reliable SSH. Any chance of compiling OpenSSH for it? -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
James Knott
-
Malte Neumann
-
Per Jessen
-
Silviu Marin-Caea
-
stephan beal