[FreeNX-kNX] FreeNX CentOS Permission denied (publickey, gssapi-keyex, gssapi-with-mic)
OwN-3m-All
own3mall at gmail.com
Wed Jul 31 05:48:30 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?
>
The log shows this:
*
server_nxnode_echo: NX> 1004 Error: NX Agent exited with exit status 1. To
troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate
"/home/user/.nx/F-C-vt-1000-C3AD0301B4AC7A75961E2BA00CBC8E02/session". You
might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test
the basic functionality. Session log follows:
session_close C3AD0301B4AC7A75961E2BA00CBC8E02
server_nxnode_echo: NX> 1006 Session status: closed
NX> 1001 Bye.
server_nxnode_echo: NX> 1001 Bye.
*
So, then I try:*
[root at vt nx]# cd
/home/user/.nx/F-C-vt-1000-C3AD0301B4AC7A75961E2BA00CBC8E02/session
-bash: cd:
/home/user/.nx/F-C-vt-1000-C3AD0301B4AC7A75961E2BA00CBC8E02/session: No
such file or directory
*
Guess I can't really investigate it. But again, *chown -R nx:root
/var/lib/nxserver/db* and *chmod -R 775 nx:root **/var/lib/nxserver/db *fixes
it. I have no idea why this is.*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20130730/d4a7e116/attachment.html>
More information about the FreeNX-kNX
mailing list