[FreeNX-kNX] Re: FreeNX server trying to write to wrong directory?

Freek de Kruijf f.de.kruijf at gmail.com
Mon Jun 13 08:20:09 UTC 2011


Op maandag 13 juni 2011 04:40:24 schreef Morris Jones:
> On 06/12/2011 02:03 PM, Freek de Kruijf wrote:
> > Op zondag 12 juni 2011 20:12:05 schreef Morris Jones:
> >> I'm running Ubuntu Maverick on a laptop and a desktop.  On trying to
> >> connect from the laptop to the desktop, I get this error in the session
> > 
> >> file:
> > This looks to be a race condition. One process should setup that
> > directory but the other process is too fast.
> > 
> > Do you have a sleep in /usr/bin/nxnode. See
> > http://en.opensuse.org/SDB:FreeNX_server#openSUSE_11.3
> > 
> > where it read # Patch - delay
> 
> I appreciate the thought, but alas it made no difference:
> 
> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set
> SESSION_LOG_CLEAN=0 in node.conf and investigate
> "/home/mojo/.nx/F-C-mojo-desktop-2000-AC169685AFA1CC47F37671F8798E31AB/sess
> ion". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode
> --agent to test the basic functionality. Session log follows:
> NX> 1009 Session status: starting
> Can't open
> /var/lib/nxserver/db/running/sessionId{AC169685AFA1CC47F37671F8798E31AB}:
> No such file or directory.
> mv: cannot stat
> `/var/lib/nxserver/db/running/sessionId{AC169685AFA1CC47F37671F8798E31AB}':
> No such file or directory
> NX> 1006 Session status: closed
> 
> Mojo

If you read past the sleep thing, you will find a remark that you should set 
nx to be the owner of /var/lib/nxserver. Also check the owner of the 
subdirectories of nxserver.

-- 
fr.gr.

Freek de Kruijf



More information about the FreeNX-kNX mailing list