[FreeNX-kNX] FreeNX CentOS Permission denied (publickey, gssapi-keyex, gssapi-with-mic)

OwN-3m-All own3mall at gmail.com
Wed Jul 31 05:02:38 UTC 2013


I seem to have got it working by reinstalling everything using nxsetup
--clean --install

However, I get a new error now when initially trying to start a session
after rebooting the main server.

*"cannot stat /var/lib/nxserver/db/running/{somenumber} no such file or
directory"*

After I run these commands a session does startup:

*[root at vt network-scripts]# cd /var/lib/nxserver/
[root at vt nxserver]# ls -ali
total 16
401581 drwx------.  4 nx   root 4096 Jul 30 17:22 .
131084 drwxr-xr-x. 49 root root 4096 Jul 30 20:03 ..
393262 drwxrwxr-x.  5 nx   root 4096 Jul 30 17:22 db
401592 drwx------.  3 nx   root 4096 Jul 30 22:49 home
[root at vt nxserver]# cd db
[root at vt db]# ls -ali
total 20
393262 drwxrwxr-x. 5 nx root 4096 Jul 30 17:22 .
401581 drwx------. 4 nx root 4096 Jul 30 17:22 ..
399339 drwxrwxr-x. 2 nx root 4096 Jul 30 20:03 closed
400960 drwxrwxr-x. 2 nx root 4096 Jul 30 22:50 failed
399388 drwxrwxr-x. 2 nx root 4096 Jul 30 22:50 running
[root at vt db]# cd running
[root at vt running]# ls -ali
total 8
399388 drwxrwxr-x. 2 nx root 4096 Jul 30 22:50 .
393262 drwxrwxr-x. 5 nx root 4096 Jul 30 17:22 ..
[root at vt running]# pwd
/var/lib/nxserver/db/running
[root at vt running]# cd ..
[root at vt db]# cd ..
[root at vt nxserver]# chown -R nx:root db
[root at vt nxserver]# chmod 775 -R db*

Why am I having to run this all the time before freenx sessions are
successfully created?  The permissions looked correct from the get-go?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20130730/06a9b1bd/attachment.html>


More information about the FreeNX-kNX mailing list