[FreeNX-kNX] Error trying to start nxserver
Laura Thurber
Laura.Thurber at trx.com
Tue Oct 5 13:40:40 UTC 2004
Here is the output - sorry for the delay. I put the commands before "attempt connection by NX client" in a script "PreClient.sh" and the commands after it in the script "PostClient.sh." The machine's hostname is Cleopatra, my username is laura:
bash-2.05b# ./PreClient.sh
Running nxsetup --setup-nomachine-key
Searching for nxserver binary...done
Setting up /usr/NX/etc ...done
Setting up /usr/NX/var/db ...done
Setting up known_hosts and .ssh/authorized_keys2 ...done
Setting up permissions ...done
Ok, nxserver is ready.
PAM authentication enabled:
All users will be able to login with their
normal passwords.
You can change this behaviour in the nxserver script.
Have Fun!
Status:
NX> 100 NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 110 NX Server is running
NX> 999 Bye
Starting server...
NX> 100 NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 500 ERROR: Service already running
NX> 999 Bye
grep nx /etc/passwd
nx:x:1008:100::/usr/NX/home/nx:/usr/NX/bin/nxserver
ls -al /usr/NX/home/nx/
total 12
drwx------ 3 nx root 4096 Sep 30 17:46 .
drwxr-xr-x 3 root root 4096 Sep 30 17:46 ..
drwx------ 2 nx root 4096 Oct 4 17:47 .ssh
ls -al /usr/NX/home/nx/.ssh/
total 44
drwx------ 2 nx root 4096 Oct 4 17:47 .
drwx------ 3 nx root 4096 Sep 30 17:46 ..
-rw-r--r-- 1 nx root 602 Oct 4 17:47 authorized_keys2
-rw-r--r-- 1 nx root 602 Oct 4 13:04 authorized_keys2.disabled
-rw------- 1 nx root 668 Oct 4 12:52 client.id_dsa.key
-rw------- 1 nx root 668 Sep 30 17:46 client.id_dsa.key.20040930-175145
-rw------- 1 nx root 672 Sep 30 17:51 client.id_dsa.key.20041004-125250
-rw-r--r-- 1 nx root 234 Sep 30 17:46 known_hosts
-rw------- 1 nx root 604 Oct 4 12:52 server.id_dsa.pub.key
-rw------- 1 nx root 604 Sep 30 17:46 server.id_dsa.pub.key.20040930-175145
-rw------- 1 nx root 604 Sep 30 17:51 server.id_dsa.pub.key.20041004-125250
ls -al /home/.nx/
ls: /home/.nx/: No such file or directory
ls -al /home/.nx/.ssh/
ls: /home/.nx/.ssh/: No such file or directory
bash-2.05b#
<<attempted connection by NX client>>
bash-2.05b# ./PostClient.sh
tail /var/log/secure
Oct 3 09:03:50 cleopatra proftpd[12899]: connect from 210.106.80.198
Oct 3 13:37:45 cleopatra proftpd[13081]: connect from 211.148.164.165
Oct 4 12:08:26 cleopatra su[15245]: + pts/1 laura-root
Oct 4 13:33:50 cleopatra su[15536]: + pts/0 laura-root
Oct 4 13:48:02 cleopatra su[15680]: + pts/3 laura-root
Oct 4 17:40:41 cleopatra su[17739]: + pts/2 laura-root
tail /var/log/messages
Oct 4 15:27:59 cleopatra -- MARK --
Oct 4 15:47:59 cleopatra -- MARK --
Oct 4 16:07:59 cleopatra -- MARK --
Oct 4 16:27:59 cleopatra -- MARK --
Oct 4 16:47:59 cleopatra -- MARK --
Oct 4 17:07:59 cleopatra -- MARK --
Oct 4 17:27:59 cleopatra -- MARK --
Oct 4 17:36:54 cleopatra sshd[17680]: Accepted password for laura from 192.168.1.1 port 2742 ssh2
Oct 4 17:47:59 cleopatra -- MARK --
Oct 4 17:50:11 cleopatra sshd[17835]: Accepted publickey for nx from 192.168.1.1 port 2800 ssh2
bash-2.05b#
Thanks for your help!
-Laura
-----Original Message-----
From: Doug Burks [mailto:mubley at gmail.com]
Sent: Monday, October 04, 2004 2:41 PM
To: Laura Thurber
Cc: freenx-knx at kde.org
Subject: Re: [FreeNX-kNX] Error trying to start nxserver
To troubleshoot further, please capture the result of the following
commands and include in your reply. If there happens to be any
personal information (usernames, IP addresses), feel free to replace
them with xxxxx's.
nxsetup --setup-nomachine-key
nxserver --status
nxserver --start
grep nx /etc/passwd
ls -al /usr/NX/home/nx/
ls -al /usr/NX/home/nx/.ssh/
ls -al /home/.nx/
ls -al /home/.nx/.ssh/
(attempt connection from NX client)
tail /var/log/secure
tail /var/log/messages
Doug
On Mon, 4 Oct 2004 14:17:56 -0400, Laura Thurber <laura.thurber at trx.com> wrote:
> Yes; In fact, I'm ssh'ing into my server to set this whole thing up! :)
>
> -Laura
More information about the FreeNX-kNX
mailing list