[FreeNX-kNX] Unable to open display

Dan dfx at pyxos.com
Wed Mar 11 07:44:46 UTC 2009


When I log in as non-root, the session log is the same, but the 
client log is somewhat different.  The non-root client log follows:

Info: Display running with pid '4648' and handler '0x110b3e'.

NXPROXY - Version 3.3.0

Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '1400'.
Session: Starting session at 'Wed Mar 11 02:36:52 2009'.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Wed Mar 11 02:36:54 2009'.
Session: Session terminated at 'Wed Mar 11 02:36:54 2009'.



Actually, now when I try to log in as root, I get the same client log 
as my non-root attempt.

I don't have any problems logging in as root with NX on the other 
servers that I administer.  Just this one.  And I could at one point 
on this one too.  I'm not sure what happened.


~Dan






At 02:15 AM 3/11/2009, you wrote:
>Do you see the same behavior when attempting a login using a non-root user?
>
>Jim
>________________________________________
>From: Dan [dfx at pyxos.com]
>Sent: Wednesday, March 11, 2009 12:13 AM
>To: freenx-knx at kde.org
>Subject: [FreeNX-kNX] Unable to open display
>
>I'm trying to get a remote NX session up and running.  The system is
>Fedora 8, the server is FreeNX and the client is NX Client for
>Windows v3.2.0-10.  I installed FreeNX via `yum install freenx` of
>Fedora 8.  I'm not sure how to pull up the actual version information
>for FreeNX.
>
>I've set SESSION_LOG_CLEAN=0 in the node.conf file.  When I try to
>log in, I get the following error in the session log:
>
>NXAGENT - Version 2.1.0
>
>Copyright (C) 2001, 2006 NoMachine.
>See http://www.nomachine.com/ for more information.
>
>Info: Agent running with pid '31048'.
>Session: Starting session at 'Wed Mar 11 02:04:40 2009'.
>Info: Proxy running in server mode with pid '31048'.
>Info: Waiting for connection from '127.0.0.1' on port '5000'.
>Info: Aborting the procedure due to signal '15'.
>
>Fatal server error:
>Error: Unable to open display
>'nx/nx,options=/root/.nx/C-digi3-1000-319AB80435D4B5364985F02A07506DD9/options:1000'.
>
>
>Below is the log from the client side:
>
>NX> 203 NXSSH running with pid: 3796
>NX> 285 Enabling check on switch command
>NX> 285 Enabling skip of SSH config files
>NX> 285 Setting the preferred NX options
>NX> 200 Connected to address: xx.xx.xx.xx on port: 22
>NX> 202 Authenticating user: nx
>NX> 208 Using auth method: publickey
>HELLO NXSERVER - Version 1.5.0-70 OS (GPL)
>NX> 105 hello NXCLIENT - Version 1.5.0
>NX> 134 Accepted protocol: 1.5.0
>NX> 105 SET SHELL_MODE SHELL
>NX> 105 SET AUTH_MODE PASSWORD
>NX> 105 login
>NX> 101 User: root
>NX> 102 Password:
>NX> 103 Welcome to: digi3 user: root
>NX> 105 listsession --user="root" --status="suspended,running"
>--geometry="1920x1200x32+render" --type="unix-gnome"
>NX> 127 Sessions list of user 'root' for reconnect:
>
>Display Type             Session
>ID                       Options  Depth 
>Screen         Status      Session Name
>------- ---------------- -------------------------------- --------
>----- -------------- ----------- ------------------------------
>
>
>NX> 148 Server capacity: not reached for user: root
>NX> 105 startsession  --link="adsl" --backingstore="1"
>--encryption="1" --cache="16M" --images="64M" --media="0"
>--session="digi3" --type="unix-gnome" --geometry="1280x768"
>--kbtype="pc102/en_US" --screeninfo="1280x768x32+render"
>
>NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
>NX> 700 Session id: digi3-1000-319AB80435D4B5364985F02A07506DD9
>NX> 705 Session display: 1000
>NX> 703 Session type: unix-gnome
>NX> 701 Proxy cookie: 002a39224abcc11a8bf139ae0c0f6fcc
>NX> 702 Proxy IP: 127.0.0.1
>NX> 706 Agent cookie: 002a39224abcc11a8bf139ae0c0f6fcc
>NX> 704 Session cache: unix-gnome
>NX> 707 SSL tunneling: 1
>NX> 1009 Session status: starting
>NX> 710 Session status: running
>NX> 1002 Commit
>NX> 105 /usr/libexec/nx/nxserver: line 1203: 30840
>Terminated              sleep $AGENT_STARTUP_TIMEOUT
>NX> 1006 Session status: running
>NX> 596 Session startup failed.
>NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot
>set SESSION_LOG_CLEAN=0 in node.conf and investigate
>"/root/.nx/F-C-digi3-1000-319AB80435D4B5364985F02A07506DD9/session".
>You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode
>--agent to test the basic functionality. Session log follows:
>bye
>Bye
>NX> 999 Bye
>NX> 280 Exiting on signal: 15
>
>
>
>Line number 1203 in /usr/libexec/nx/nxserver is:  wait $SERVER_WAIT_PID
>
>
>The odd thing is that I used to be able to log into this system with
>NX but now I can't.  I'm not sure what changed.
>
>I've tried removing FreeNX from the system and then reinstalling it
>with yum again, but no luck.
>
>I've googled all day for answers and I haven't come up with anything
>yet.  I hope someone on this list can help me get my beloved NX back
>up and running.
>
>~Dan
>
>
>
>
>
>________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>
>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
>________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
>________________________________________________________________
>________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>
>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
>________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
>________________________________________________________________




More information about the FreeNX-kNX mailing list