[FreeNX-kNX] Re: got: "cannot create directory `/home/.nx'"
Rupert Kolb
rupert.kolb at med.uni-tuebingen.de
Tue Oct 19 13:46:53 UTC 2004
Christian Fischer schrieb:
[...]
>>>>running the "nxsetup" I got an
>>>>
>>>>"Setting up user nx ...mkdir: cannot create directory `/home/.nx':
>>>>Permission denied"
[...]
>>>>installed the rpms and run "nxsetup".
>>>>Any idea to do it better?
>
>
> Yes. Ideas to do it better you can find here:
> http://debian.tu-bs.de/knoppix/nx/freenx-0.2.5.tar.gz
> Have a look at the gentoo-nomachine.diff
>
> Cheers
> Christian
Thanks, now it works.
to summarise:
- for SuSE download
i386/supplementary/X/NX/.
from one of the mirrors
- install the rpms:
rpm -Uhv FreeNX.rpm knx.rpm NX.rpm
- create a local group nx:
groupadd -g 300 nx
- create a local user nx:
useradd -c "NX system user" -d "/var/NX/home/nx" -g 300 -u 300
-s "/usr/bin/nxserver" -m nx
- adjust the nx home directory in "nxserver":
NX_HOME_DIR=/var/NX/home/nx/
- create an directory for ssh:
mkdir /var/NX/home/nx/.ssh/
and change owner and permissions:
chown nx:nx /var/NX/home/nx/.ssh/
chmod 700 /var/NX/home/nx/.ssh/
- run the setup:
nxsetup --setup-nomachine-key
- start the server:
nxserver --start
gid, uid, home directory and path to nxserver may differ.
Rupert
More information about the FreeNX-kNX
mailing list