Hi! On my new box installed with SuSE 9.2 prof. I got a really critical problem. When I say xhost + in a local shell I get the message: xhost: unable to open display "<name-of-box>:0.0" I also tried to do "xhost <name-of-remote-box>" with the same result. The display name is set correctly (as printenv says). This is very urgent, for we need to open windows from other, remote boxes on this machine. Without that, it can't be used. :-( Any ideas? Annette -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
On Wed, 8 Jun 2005 14:45:08 +0200 (MEST)
"Annette Bitz"
When I say xhost + in a local shell I get the message: xhost: unable to open display "<name-of-box>:0.0"
I also tried to do "xhost <name-of-remote-box>" with the same result. The display name is set correctly (as printenv says).
This is very urgent, for we need to open windows from other, remote boxes on this machine. Without that, it can't be used. :-(
Have you considered using xauth? It's simple: http://www.acm.uiuc.edu/workshops/cool_unix/xauth.html Basically do localmachine$ xauth list <localmachine>:0 MIT-MAGIC-COOKIE-1 13a4d9e3a85d1de86662153ff8d9a51a [more lines] remotemachine$ export DISPLAY=<localmachine>:0 remotemachine$ xauth add <localmachine>:0 MIT-MAGIC-COOKIE-1 \ 13a4d9e3a85d1de86662153ff8d9a51a HTH, Ingo -- Ingo Strauch ---- Registered Linux User #227900 (http://counter.li.org/) http://www.the-one-brack.org/
Hi! Am Mittwoch, 8. Juni 2005 14:45 schrieb Annette Bitz:
... On my new box installed with SuSE 9.2 prof. ... When I say xhost + in a local shell I get the message: xhost: unable to open display "<name-of-box>:0.0"
I also tried to do "xhost <name-of-remote-box>" with the same result. The display name is set correctly (as printenv says). ...
You've encountered a common "problem". SUSE decided to start your X server without listening on the tcp port for incoming connections. Try searching for a "--nolisten-tcp" (or similar) option being set in recent releases. RU, Andreas
The nolisten flag is hindering you. The options are in: /etc/X11/XDM/Xservers. Just remove the "--nolisten tcp", restart X, and try
your Xhost stuff.
Thanks,
John
Andreas Schallenberg
... On my new box installed with SuSE 9.2 prof. ... When I say xhost + in a local shell I get the message: xhost: unable to open display "<name-of-box>:0.0"
I also tried to do "xhost <name-of-remote-box>" with the same result. The display name is set correctly (as printenv says). ...
You've encountered a common "problem". SUSE decided to start your X server without listening on the tcp port for incoming connections. Try searching for a "--nolisten-tcp" (or similar) option being set in recent releases. RU, Andreas -- To unsubscribe check the List-Unsubscribe header For additional commands, email: suse-xfree86-help@suse.com
john_ozarchuk@goodyear.com wrote:
The nolisten flag is hindering you. The options are in: /etc/X11/XDM/Xservers. Just remove the "--nolisten tcp", restart X, and try your Xhost stuff.
I think that would be /etc/X11/xdm/Xservers It depends. For kdm it's in the kdm directory. I resolved this issue on 9.2, but am fighing it with 9.3 now. I've modified /etc/X11/xdm/Xservers yet I still see the nolisten option passed to X. I also modified /opt/kde3/share/config/kdm/kdmrc where you'll find it set also. You'll also find a setting for it in /etc/sysconfig/displaymanager DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" I tried resetting it via Yast, but the darn thing still startes with nolisten. Anyone resolved this issue with 9.3? I can't figure out where it's getting this setting. -- Until later, Geoffrey
participants (5)
-
Andreas Schallenberg
-
Annette Bitz
-
Geoffrey
-
Ingo Strauch
-
john_ozarchuk@goodyear.com