[FreeNX-kNX] nxagent failure on FC5

Alastair Johnson alastair at solutiontrax.com
Tue Aug 15 16:17:33 UTC 2006


Easier said than done when the box is at a hosting company on the other side 
of the country ;-) I was hoping it would start as easily as it did with FC3. 
Now I'm installing FC5 on a spare partition locally so I can do the sort of 
things you're suggesting, but it takes a while to install...more later.

On Tuesday 15 August 2006 16:58, Sunil wrote:
> look at 'options' file and start nxagent manually from cmdline with the
> same options. Are you able to get a NX window?
>
> set display to :1000 and try opening an xterm, and see if that window pops
> up in that NX windows.
>
>
>
> Alastair Johnson <alastair at solutiontrax.com> wrote: After running
> successfully with FreeNX 0.4.x on FC3 for some time I am not trying to get
> things going with FC5 but without much success. I keep getting: 1004 Error:
> NX Agent exited with exit status 1.
>
> Here's what I've done. Can anybody tell me the (probably obvious) step I've
> missed?
>
> yum update
> yum install freens
> yum install kdebase
> mv /usr/X11R6 /usr/X11R6_old
> cp /etc/nxserver/node.conf.sample /etc/nxserver/node.conf
>
> This gives me these versions:
> freenx-0.5.0-2.fc5
> nx-2.0.0-3.fc5
>
> In node.conf I uncommented and set the following:
> NX_LOG_LEVEL=7
> SESSION_LOG_CLEAN=0
> ENABLE_2_0_0_BACKEND="1"
> These should be enough to give me useful log output and to get a connection
> going. I can sort out printing and so on later.
>
> The binary nxclient is not installed in the server. I assume the nxclient
> script provides the functionality needed by the server as it does on 0.4.x
>
> Using client nxclient-1.5.0-141 on gentoo amd64 (which works with the 0.4.x
> server on fc3) I create a new connection for this server, change the key to
> match the server's client.id_dsa.key and set it to enable SSL for all
> traffic. Speed is 'Modem', desktop is 'KDE' and smb, cups and multimedia
> are all off.
>
> Starting a connection with these settings authentication completes, but
> session startup fails. Logs are below.
>
> The client shows:
> ===========================================
> NX> 203 NXSSH running with pid: 14021
> NX> 285 Enabling check on switch command
> NX> 285 Enabling skip of SSH config files
> NX> 200 Connected to address:  on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 1.5.0-50 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: ajohnson
> NX> 102 Password:
> NX> 103 Welcome to:  user: ajohnson
> NX> 105
> listsession --user="ajohnson" --status="suspended,running"
> --geometry="1280x1024x24+render" --type="unix-kde" NX> 127 Sessions list of
> user 'ajohnson' for reconnect:
>
> Display Type             Session ID                       Options  Depth
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- -----
> -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: ajohnson
> NX> 105
> startsession --session="" --type="unix-kde" --cache="8M" --images="32M"
> --link="modem" --kbtype="pc102/gb" --nodelay="1" --encryption="1"
> --backingstore="when_requested" --geometry="1280x977" --media="0"
> --agent_server="" --agent_user="" agent_password="******"" 
> --screeninfo="1280x977x24+render"
>
> NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)
> NX> 700 Session id: -1000-95216C92E816A0FF5BBD7973284F7646
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-kde
> NX> 701 Proxy cookie: 450aeb72969941234dfc403ce9a5dd47
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 450aeb72969941234dfc403ce9a5dd47
> NX> 704 Session cache: unix-kde
> NX> 707 SSL tunneling: 1
> NX> 1009 Session status: starting
> NX> 710 Session status: running
> NX> 1002 Commit
> NX> 105 /usr/bin/nxserver: line 1077: 25434 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.
> Can't
> open
> /var/lib/nxserver/db/running/sessionId{95216C92E816A0FF5BBD7973284F7646}:
> No such file or directory.
> mv: cannot stat
> `/var/lib/nxserver/db/running/sessionId{95216C92E816A0FF5BBD7973284F7646}':
> No such file or directory
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> Killed by signal 15.
> =================================================
> On the server we have:
> /home/ajohnson/.nx/C--1000-95216C92E816A0FF5BBD7973284F7646/session
> =================================================
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
>
> NXAGENT - Version 2.0.0
>
> Copyright (C) 2001, 2006 NoMachine.
> See http://www.nomachine.com/ for more information.
>
> Info: Agent running with pid '25651'.
> Session: Starting session at 'Tue Aug 15 14:06:19 2006'.
> Info: Proxy running in server mode with pid '25651'.
> 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=/home/ajohnson/.nx/C--1000-95216C92E816A0FF5BBD7973284F7646/
>options:1000'. ===============================================
> /home/ajohnson/.nx/C--1000-95216C92E816A0FF5BBD7973284F7646/options
> ===============================================
> kbtype=pc102/gb,cache=8M,images=32M,link=modem,nodelay=1,type=unix-kde,clea
>nup=0,accept=127.0.0.1,cookie=450aeb72969941234dfc403ce9a5dd47,id=-1000-9521
>6C92E816A0FF5BBD7973284F7646,samba=0,media=0:1000
> ===============================================
> /var/log/nxserver.log
> ===============================================
> -- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
> HELLO NXSERVER - Version 1.5.0-50 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: ajohnson
> NX> 102 Password:
> Info: Auth method: passdb ssh
> NX> 103 Welcome to:  user: ajohnson
> NX> 105
> listsession --user="ajohnson" --status="suspended,running"
> --geometry="1280x1024x24+render" --type="unix-kde" NX> 127 Sessions list of
> user 'ajohnson' for reconnect:
>
> Display Type             Session ID                       Options  Depth
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- -----
> -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: ajohnson
> NX> 105
> startsession --session="" --type="unix-kde" --cache="8M" --images="32M"
> --link="modem" --kbtype="pc102/gb" --nodelay="1" --encrypt ion="1"
> --backingstore="when_requested" --geometry="1280x977" --media="0"
> --agent_server="" --agent_user="" agent_password="******"" 
> --screeninfo="1280x977
> x24+render"
>
> &session=&type=unix-kde&cache=8M&images=32M&link=modem&kbtype=pc102/gb&node
>lay=1&encryption=1&backingstore=when_requested&geometry=1280x97
> 7&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1280x9
>77x24+render&clientproto=1.5.0&user=ajohnson&userip=80.177.216.199&uniqueid=
>95216 C92E816A0FF5BBD7973284F7646&display=1000&host=127.0.0.1
> ajohnson at 127.0.0.1's password:
> NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)
> NX> 700 Session id: -1000-95216C92E816A0FF5BBD7973284F7646
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-kde
> NX> 701 Proxy cookie: 450aeb72969941234dfc403ce9a5dd47
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 450aeb72969941234dfc403ce9a5dd47
> NX> 704 Session cache: unix-kde
> NX> 707 SSL tunneling: 1
> NX> 1009 Session status: starting
> NX> 710 Session status: running
> NX> 1002 Commit
> NX> 1006 Session status: running
> NX> 105 NX> 1004 Error: NX Agent exited with exit status 1.
> NX> 1006 Session status: closed
> NX> 596 Session startup failed.
> mv: target
> `/home/ajohnson/.nx/F-C--1000-95216C92E816A0FF5BBD7973284F7646/' is
> not a directory: No such file or directory
> NX> 1001 Bye.
> bye
> Bye
> NX> 999 Bye
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=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
> ________________________________________________________________
>
>
>
> ---------------------------------
> Do you Yahoo!?
>  Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.




More information about the FreeNX-kNX mailing list