[FreeNX-kNX] Rootless Mode

Christopher Layne clayne at anodized.com
Sat Jan 13 06:26:01 UTC 2007


On Sat, Jan 13, 2007 at 12:22:12AM -0600, Brent Davidson wrote:
> I'm trying to use rootless mode to call a java program on my linux box 
> with the following command:
> 
> /usr/bin/java -jar /plant/dx/dbcsc.jar 192.168.1.10 -encrypt=off
> 
> I have tried everything I can think of but am still getting a "Session 
> Startup failed" message.
> 
> I am using the version of freenx and nx libraries that re in the Centos 
> repositories, freenx-0.5.0-10.c4.noarch.rpm and nx-1.5.0-1.centos4.i386.rpm
> 
> I am working from a Windows XP system have tried NoMachine's NX client 
> versions 2.0.0-93 and 2.1.0-11 with no luck.

I would try a 1.x client or upgrade your server side to 2.x and use a 2.x
client.

> which: no xauth in (/usr/local/bin:/bin:/usr/bin)
> NX> 105 listsession --user="root" --status="suspended,running" 
> --geometry="1280x800x32+render" --type="unix-application"
> NX> 127 Sessions list of user 'root' for reconnect:

See that line that signifies 'xauth' cannot be found? Edit your node.conf
or find the reference to xauth in one of the freenx config reading scripts
and change it.

> NX> 1004 Error: NX Agent exited with exit status 1.
> Can't open 
> /var/lib/nxserver/db/running/sessionId{65C6B5879E2DABDE4404685ECD832298}: 
> No such file or directory.
> mv: cannot stat 
> `/var/lib/nxserver/db/running/sessionId{65C6B5879E2DABDE4404685ECD832298}': 
> No such file or directory
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> Killed by signal 15.

Do those directories exist?

-cl



More information about the FreeNX-kNX mailing list