[FreeNX-kNX] problems w/ freenx 0.7.3 w/ latest nomachine sources on RHEL5...

Wolfgang Schweer schweer at cityweb.de
Mon Feb 2 17:06:31 UTC 2009


On Mo, 02 Feb 2009, Florian Schmidt wrote:

> Maybe it's possible to integrate the creating of /tmp/X11-unix dir 
> with 1777 permission in the nx startup script? 

That problem was solved some time ago by Fabian.
take his init script (out of freenx svn, attached), put it in 
/etc/init.de and add symlinks for it in appropriate runlevels.

Wolfgang

-------------- next part --------------
#!/bin/bash
#
# Sample startup script for FreeNX server
#
# Coypright (c) 2007 by Fabian Franz <freenx at fabian-franz.de>.
#
# License: GNU GPL, version 2
#
# SVN: $Id: freenx-server 485 2008-03-02 10:29:52Z fabianx $
#

# Read the config file
. $(PATH=$(cd $(dirname $0) && pwd):$PATH which nxloadconfig) --

case "$1" in
	start)
		[ ! -d "/tmp/.X11-unix" ] && mkdir -m1755 /tmp/.X11-unix/
		$PATH_BIN/nxserver --cleanup
		$PATH_BIN/nxserver --start
	;;
	stop)
		$PATH_BIN/nxserver --stop
		$PATH_BIN/nxserver --cleanup
	;;	
	*)
		echo "Usage: $0 <start|stop>"
	;;
esac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090202/e842aee4/attachment.sig>


More information about the FreeNX-kNX mailing list