[FreeNX-kNX] /tmp/.X11-unix problems with nx-3.0.0 and freenx-0.7.1

Fabian Franz FabianFranz at gmx.de
Sat Nov 3 15:13:09 UTC 2007


> Now to my question.
> 
> Should nxnode create /tmp/.X11-unix with owner root and permissions 1777
>  if that directory does not exist?  If it should, how would one create
> that directory with the owner root?

It is not possible. This needs to be created by user root before login via ssh is allowed.

I added a sample init.d script called "freenx-server" to SVN.

> As a temporary work around, I have just added a command to properly
> create the directory in /tmp/ on startup in rc.sysinit (just like
> ICE-unix) but what I am wondering is where this scenario should
> correctly be handled.

rc.sysinit is a good place.

> When running xinit (startX calls that) the directory /tmp/X11-unix is
> properly created, so this is only a problem for (at least for me) when
> trying connect to the server with X not running using NX.

The problem is that xinit is suid root, but FreeNX has no suid root executable.

cu

Fabian



More information about the FreeNX-kNX mailing list