<br>
<br><tt><font size=2>Jonathan Bayer <jbayer@regiscope.com> wrote
on 25/09/2009 15:59:31:<br>
<br>
<br>
> > > <br>
></font></tt>
<br>
<br><tt><font size=2>SNIP</font></tt>
<br><tt><font size=2> <br>
> <br>
> OK. I rebooted the system. Before doing anything, I did
a ps -ef, here<br>
</font></tt>
<br><tt><font size=2><br>
> Now I started freenx:<br>
> <br>
> ps -ef<br>
> <br>
> PID TTY STAT TIME COMMAND<br>
> 4509 pts/2 Ss 0:00 -bash LANG=en_US.UTF-8
USER=root <br>
> LOGNAME=root HOME=/root PATH=/usr/local<br>
> 5338 pts/2 R+ 0:00 \_ ps ef
HOSTNAME=godzilla TERM=xterm <br>
> SHELL=/bin/bash HISTSIZE=1000 KDE<br>
> 4484 tty7 Ss+ 0:02 /usr/bin/Xorg
:0 -br -audit 0 -auth <br>
> /var/gdm/:0.Xauth -nolisten tcp vt7<br>
> 4382 tty6 Ss+ 0:00 /sbin/mingetty
tty6 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> 4380 tty5 Ss+ 0:00 /sbin/mingetty
tty5 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> 4378 tty4 Ss+ 0:00 /sbin/mingetty
tty4 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> 4377 tty3 Ss+ 0:00 /sbin/mingetty
tty3 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> 4376 tty2 Ss+ 0:00 /sbin/mingetty
tty2 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> 4375 tty1 Ss+ 0:00 /sbin/mingetty
tty1 HOME=/ TERM=linux <br>
> SELINUX_INIT=YES PATH=/bin:/usr/bi<br>
> <br>
> ps ax | grep nx<br>
> <br>
> 4547 ? Ss 0:00 sshd:
nx [priv] <br>
> 4549 ? S 0:00
sshd: nx@notty <br>
> 4550 ? Ss 0:00 /bin/bash
/usr/bin/nxserver<br>
> 4829 ? S 0:00
/bin/bash /usr/bin/nxserver<br>
> 4832 ? S 0:00
/bin/bash /usr/bin/nxserver<br>
> 4835 ? S 0:00
/bin/bash /usr/bin/nxserver<br>
> 4849 ? S 0:00
ssh -l root 127.0.0.1 -p 22 -x -2 -i <br>
> /etc/nxserver/users.id_dsa -o PubkeyAuthentication yes -o <br>
> RSAAuthentication yes -o RhostsAuthentication no -o <br>
> PasswordAuthentication no -o RhostsRSAAuthentication no -o <br>
> StrictHostKeyChecking no /usr/bin/nxnode --startsession<br>
> 4853 ? Ss 0:00 /bin/bash
/usr/bin/nxnode --startsession<br>
> 5080 ? S 0:00
/bin/bash /usr/bin/nxnode --startsession<br>
> 5081 ? S 0:00
/bin/bash /usr/bin/nxnode --startsession<br>
> 5083 ? S 0:00
/usr/lib/NX/nxagent -persistent -D -name <br>
> NX - root@godzilla:1003 - godzilla (GPL Edition) -option /root/.<br>
> nx/C-godzilla-1003-C7310C228B877A7D7EE819E01A0FF1CC/options -<br>
> keyboard pc102/us -geometry 1024x768+328+141 -nolisten tcp :1003<br>
> 5085 ? S 0:00
tee /root/.nx/C-godzilla-1003-<br>
> C7310C228B877A7D7EE819E01A0FF1CC/session<br>
> 5086 ? S 0:00
/bin/bash /usr/bin/nxnode --startsession<br>
> 5087 ? S 0:00
/bin/bash /usr/bin/nxnode --startsession<br>
> 5418 pts/2 S+ 0:00 grep nx<br>
> <br>
> <br>
</font></tt>
<br><tt><font size=2>OK , that's not all of it though. There should be
a startkde and a start_kdeinit or some such somewhere . . . </font></tt>
<br>
<br><tt><font size=2>But sounds like the difficult bits are working though.</font></tt>
<br>
<br><tt><font size=2>Looks like it isn't finishing off either starting
up or shutting down ( or both ) properly</font></tt>
<br>
<br><tt><font size=2>It might be worth trying a different user if you haven't
already . . .</font></tt>
<br>
<br><tt><font size=2>Also</font></tt>
<br>
<br><tt><font size=2>If you set debug on in /etc/nxserver/node.conf *ON
THE SERVER*</font></tt>
<br>
<br><tt><font size=2>NX_LOG_LEVEL=6</font></tt>
<br><tt><font size=2>NX_LOG_SECURE=1</font></tt>
<br><tt><font size=2># writeable for the "nx" user</font></tt>
<br><tt><font size=2>NX_LOGFILE=/var/log/nxserver.log</font></tt>
<br><tt><font size=2>SESSION_LOG_CLEAN=0</font></tt>
<br>
<br>
<br><tt><font size=2>You should see in the log where it is getting stuck.</font></tt>
<br>
<br><tt><font size=2>Are you setting up printers or shares, if so does
it work without them.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>You will need to set up debugging, then make a fresh
connection, disconnect and connect again !!</font></tt>
<br>
<br><tt><font size=2>I get the following. The NX> 999 Bye is where
the startup finishes, the last line when I terminate and disconnect.</font></tt>
<br>
<br><tt><font size=2>NX> 105 bye</font></tt>
<br><tt><font size=2>Bye</font></tt>
<br><tt><font size=2>NX> 999 Bye</font></tt>
<br><tt><font size=2>session_status A ... B Terminating</font></tt>
<br><tt><font size=2>server_nxnode_echo: NX> 1009 Session status: terminating</font></tt>
<br><tt><font size=2>session_close A ... B</font></tt>
<br><tt><font size=2>server_nxnode_echo: NX> 1006 Session status: closed</font></tt>
<br>
<br>
<br>
<br>
<br>
<br>
<br><tt><font size=2>If you have the Nomachine client on the server, you
can run</font></tt>
<br>
<br><tt><font size=2>nxclient --admin</font></tt>
<br>
<br><tt><font size=2>as the user, which will tell you what it thinks is
still running looking at the .nx directory.</font></tt>
<br>
<br>
<br><tt><font size=2><br>
> <br>
> <br>
> JBB<br>
> <br>
> <br>
> <br>
> ________________________________________________________________<br>
> Were you helped on this list with your FreeNX
problem?<br>
> Then please write up the solution in the FreeNX Wiki/FAQ:<br>
> <br>
> </font></tt><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ"><tt><font size=2>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</font></tt></a><tt><font size=2><br>
> <br>
> Don't forget to check the NX Knowledge
Base:<br>
> </font></tt><a href=http://www.nomachine.com/kb/><tt><font size=2>http://www.nomachine.com/kb/</font></tt></a><tt><font size=2>
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
> </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><tt><font size=2>https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size=2><br>
> ________________________________________________________________<br>
</font></tt>