[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 16:56:18 UTC 2007


> This might be the route I need to take, as I don't want to modify the
> initscripts RPM that provides rc.sysinit

Sure ;-)

> >> 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.
> >
> 
> That is what I was thinking too ... what is strange is that they (in
> this case Red Hat) already do create /tmp/.ICE-unix but for whatever the
> reason, they do not create /tmp/.X11-unix

Yeah ... Perhaps they saw no reason as xinit and kdm or xdm are all already suid root.

> I will open up a discussion about this on the RH message list.

Perfect.

> I do make the freenx and nx RPMS for CentOS, so I could also create a
> script that goes into /etc/init.d/ and does nothing more that create the
> directory if it does not exist (as root) when the machine starts ...
> which I can do if Red Hat will not modify their initscripts RPM.

Oh, thank you very much for maintaining the packages. :-)

The init script I created does do one thing more namely to terminate and cleanup all sessions on shutdown and again cleanup all sessions on startup, which might be useful after a power outage.

cu

Fabian



More information about the FreeNX-kNX mailing list