13 Jun 2011 12:14
Re: FreeNX server trying to write to wrong directory?
<chris <at> ccburton.com>
2011-06-13 10:14:58 GMT
2011-06-13 10:14:58 GMT
Morris Jones <mojo <at> whiteoaks.com> wrote on 12/06/2011 19:12:05:
> I'm running Ubuntu Maverick on a laptop and a desktop. On trying to
> connect from the laptop to the desktop, I get this error in the session
> NXAGENT - Version 3.5.0
First posting with 3.5.0 libaries/binaries, Hmmmm
> Copyright (C) 2001, 2011 NoMachine.
> See http://www.nomachine.com/ for more information.
> Info: Agent running with pid '13993'.
> Session: Starting session at 'Sun Jun 12 07:33:29 2011'.
> Loop: PANIC! Can't create directory
> D. Error is 13 'Permission denied'.
> Error: Can't create directory
> '/usr/NX/.nx/C-mojo-desktop-2001-7F1847F630C70C1CF3ADBB17B932280D. Err
> or is 13 'Permission denied'.
Why is it trying to create that in there ??
Normal users shouldn't have write access there . . .
> Loop: PANIC! Cannot determine directory of NX session file.
This error message comes from
Which on my machine (OpenSuSE)lives in
so it could be defaulting to it's own directory as a last resort
if yours is in /usr/NX etc etc
It might be an issue with the 3.5.0 libraries writing there
as a last resort, or the nomachine coders may have changed
something here in tis version.
> Error: Cannot determine directory of NX session file.
> Session: Session terminated at 'Sun Jun 12 07:33:29 2011'.
> Any thoughts on what might be happening here? Do I have a mixed up
> version problem? The /usr/NX tree is owned by root. I tried changing
> the ownership to "nx" with the same result.
If it can't create the session file directory, then where did you get
the session file from ???
As far as the server is concerned,
you should have a session file in:-
created by user nx (unless ubuntu put it elsewhere)
a session directory below your home directory eg.
If you log on to the server and try the following:-
sudo su -l -s /bin/bash -c "echo \$HOME" nx
sudo egrep -i "(NOMACHINE_(SERVER|NX_HOME_DIR)|USER_FAKE_HOME)=" /etc/nxserver/node.conf /usr/bin/nxloadconfig
^ All on one line
sudo find /var/lib/nxserver/ -type d -ls
grep ":" /etc/passwd|cut -d":" -f6
. . . then the results will tell us what FreeNX thinks
it's doing as a first start.
Which versions of FreeNX are installed ??
Did you move up to 3.5.0, if so did it work before ??
> Morris Jones, Monrovia, CA
________________________________________________________________ Were you helped on this list with your FreeNX problem? Then please write up the solution in the FreeNX Wiki/FAQ: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ Don't forget to check the NX Knowledge Base: http://www.nomachine.com/kb/ ________________________________________________________________ FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org https://mail.kde.org/mailman/listinfo/freenx-knx ________________________________________________________________