[FreeNX-kNX] FreeNX-kNX Digest, Vol 34, Issue 2

Alastair Johnson alastair at solutiontrax.com
Mon Jun 4 09:25:13 UTC 2007


The important line in this log is:
	NX> 1004 Error: NX Agent exited with exit status 1.
This tells us nxagent exited with an error, but to find out why we need to see 
the session logs from the user's home directory, in your case the session and 
error files from /root/.nx/F-<servername>-<display>-<session-ID>

If this again says 'startkde: command not found' then you need to find the 
startkde script, and find what what NX is trying to run. To find the script 
use the following (it may take some time...):
	find / -iname startkde
This may give more than one result. To find which one would normally be run 
use:
	which startkde
Now to find what nx is trying to run check the value of COMMAND_START_KDE 
in /etc/nxserver/node.conf. If it has a # in front of it you can ignore it 
and check the default value instead. This is in nxloadconfig which on my FC6 
is in /usr/bin along with nxagent, nxproxy and the rest. For reference on my 
FC6 the default is:
COMMAND_START_KDE="/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin
/startkde"

On Sunday 03 June 2007 22:40, sohbay at gmail.com wrote:
> Hello again,
>
> I havnt re-installed the OS yet! im determined to get nxserver working!
> I removed nxfree and re-installed it but I still get a connection error
> everytime.
>
> Will someone kindly have a look at my error log.
>
> Thanks
> Tom
>
> NX> 203 NXSSH running with pid: 3116
> 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:  on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 1.5.0-60 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: server user: root
> NX> 105
> listsession --user="root" --status="suspended,running"
> --geometry="1024x768x32+render" --type="unix-kde"
> 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" --nodelay="1" --cache="4M"
> --images="16M" --media="0" --imagecompressionmethod="-1"
> --imagecompressionlevel="-1" --render="1" --session="85" --type="unix-kde"
> --geometry="1024x768" --kbtype="pc102/us" --screeninfo="1024x768x32+render"
>
> NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
> NX> 700 Session id: server40085-1000-C8EDF432FFA1B76AED14B4E119572540
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-kde
> NX> 701 Proxy cookie: bd8ae5a2274f87c12bd2bc61324a1426
> NX> 702 Proxy IP:
> NX> 706 Agent cookie: bd8ae5a2274f87c12bd2bc61324a1426
> NX> 704 Session cache: unix-kde
> NX> 707 SSL tunneling: 0
> NX> 105 NX> 596 Session startup failed.
> NX> 1004 Error: NX Agent exited with exit status 1.
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> /usr/libexec/nx/nxserver: line 1190: 19702 Terminated              sleep
> $AGENT_STARTUP_TIMEOUT
> Can't open
> /var/lib/nxserver/db/running/sessionId{C8EDF432FFA1B76AED14B4E119572540}:
> No such file or directory.
> mv: cannot stat
> `/var/lib/nxserver/db/running/sessionId{C8EDF432FFA1B76AED14B4E119572540}':
> No such file or directory
> Killed by signal 15.
>
>
> ----- Original Message -----
> From: <sohbay at gmail.com>
> To: "User Support for FreeNX Server and kNX Client" <freenx-knx at kde.org>
> Sent: Sunday, June 03, 2007 1:01 AM
> Subject: Re: [FreeNX-kNX] FreeNX-kNX Digest, Vol 34, Issue 2
>
> >I removed nxserver with yum then tried to reinstall it but now Im getting
> >Error: Cannot open/read repomd.xml file for repository: updates
> > I am very lucky in linux..
> >
> > :( :(
> >
> > ----- Original Message -----
> > From: "dewey hylton" <freenx at deweyonline.com>
> > To: <freenx-knx at kde.org>
> > Sent: Saturday, June 02, 2007 6:51 PM
> > Subject: Re: [FreeNX-kNX] FreeNX-kNX Digest, Vol 34, Issue 2
> >
> >>> Date: Fri, 1 Jun 2007 23:25:50 +0200
> >>> From: <sohbay at gmail.com>
> >>> Subject: Re: [FreeNX-kNX] {Disarmed}  install freenx on fedora core 6
> >>> To: "User Support for FreeNX Server and kNX Client"
> >>> <freenx-knx at kde.org>
> >>>
> >>> KDE is installed, I will re-install the OS and try freenx again.
> >>>
> >>> Thanks to everyone for trying.
> >>>
> >>> Tom :)
> >>>
> >>> ----- Original Message -----
> >>> From: "Fabian Franz" <FabianFranz at gmx.de>
> >>> To: "User Support for FreeNX Server and kNX Client"
> >>> <freenx-knx at kde.org> Sent: Friday, June 01, 2007 3:41 AM
> >>> Subject: Re: [FreeNX-kNX] {Disarmed} install freenx on fedora core 6
> >>>
> >>> >> I have cleared all the session logs and started again
> >>> >>
> >>> >> the new log says -
> >>> >>
> >>> >> /usr/libexec/nx/nxnode: line 306: startkde: command not found
> >>> >
> >>> > That sounds much better:
> >>> >
> >>> > What about installing KDE now? ;-)
> >>> >
> >>> > cu
> >>> >
> >>> > Fabian
> >>
> >> that's using a sledgehammer to crack a nut ... don't reinstall the os -
> >> just
> >> find where your 'startkde' script lives and either fix the node.conf on
> >> your
> >> nxserver or call the correct 'startkde' script from the client.
> >>




More information about the FreeNX-kNX mailing list