[FreeNX-kNX] Re: got: "cannot create directory `/home/.nx'"

Adriano Frare alfrare at e-alinux.com
Tue Oct 19 13:15:26 UTC 2004


Dear Rupert Kolb,

You don't need create user or group nx, the nxsetup create NX user 
automatic.

Please, remove nx user/group and re-run nxsetup --setup-nomachine-key


Adriano Frare
(BRAZIL)

Rupert Kolb wrote:
> 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
> _______________________________________________
> FreeNX-kNX mailing list
> FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx



More information about the FreeNX-kNX mailing list