Hi,<br><br>NX set's locally the Display to 1000 plus the session number (the first one is 0) so the display on your NX server is unix:1000 -> the unix is used for local socket operations only. <br><br>When you connect to an different machine you need a possibility to connect and forwarding you X11 credentials automatically. Telnet doesn't support X11 forwarding (at least out of the box). <br>
<br>So I would suggest that you use ssh -X <hostname> instead to use X11 forwarding. <br><br>If there is any real reason (I can't see any in any case) that you are forced to use telnet (I am wondering that this is still alive :) ) you can set your display than on the machine by setenv DISPLAY <loginserverhostname>:1000 (tcsh) or export DISPLAY=<loginserverhostname>:1000 (bash) and than do an xhost +<hostnamewhereItelnetedto> on your NX LoginServer.<br>
<br>Cheers,<br>Florian<br><br><br><div><span class="gmail_quote">2009/6/9, Holger Krull <<a href="mailto:holger.krull@gmx.de">holger.krull@gmx.de</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Daniel Spannbauer schrieb:<br><br>><br> > Holger Krull schrieb:<br> >> Daniel Spannbauer schrieb:<br> >>> Hello,<br> >>><br> >>> I'M using FreeNX 0.5.0 and NX-1.5.0 under SuSE 10.2.<br>
>>> The Login with the actal NXClient from Nomachine works perfectly. But in<br> >>> NX when I do a telnet to an other host and try to start a X-application<br> >>> I get "unable to open Display". Display is set to unix:1000.<br>
>>> If I do a xhost + an try to start the app again there is also the error<br> >>> "cannot connect to X server unix:1000.0".<br> >> Check if there really is a X-Server listening on Port 1000.<br>
>> Why don't you set DISPLAY on the remote host to ip.address.of.nx:1000 ?<br> >> How is unix:1000 supposed to work?<br> ><br> > unix:1000 is set automaticly by NX (oder FreeNX). Its the default, not<br>
> my idea.<br> > How can I check if a Xserver is listening on that port? If I logged in<br> > with NX aon KDE a "echo $DISPLAY" sais "unix:1000".<br><br><br>Do a<br> netstat -tlnp |grep nx<br>
<br> if that outputs something like<br> tcp 0 0 <a href="http://0.0.0.0:8000">0.0.0.0:8000</a> 0.0.0.0:* LISTEN 6735/nxagent<br><br> you have the Xserver listening.<br><br> unix:1000.0 as DISPLAY will not work on the computer you logged in via telnet. It is purely local to the computer your nxagent is running on.<br>
<br><br> I recommend you use ssh with -X or -Y as parameter to connect from your nx session to the third computer instead of telnet. That will tunnel the X connection and set DISPLAY accordingly.<br><br><br> ________________________________________________________________<br>
Were you helped on this list with your FreeNX problem?<br> Then please write up the solution in the FreeNX Wiki/FAQ:<br><br> <a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
<br> Don't forget to check the NX Knowledge Base:<br> <a href="http://www.nomachine.com/kb/">http://www.nomachine.com/kb/</a><br><br> ________________________________________________________________<br>
FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br> <a href="https://mail.kde.org/mailman/listinfo/freenx-knx">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br> ________________________________________________________________<br>
</blockquote></div><br>