[FreeNX-kNX] Unable to open display

Dan dfx at pyxos.com
Wed Mar 11 07:13:12 UTC 2009


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








More information about the FreeNX-kNX mailing list