[FreeNX-kNX] Server not installed or NX access disabled

none deathsfriend_99 at yahoo.com
Tue May 23 19:55:16 UTC 2006


Ok, after the 100th reinstall I got it to work.  I
figured it was a key thing, and it seems that the
proper dir's weren't installed with the rpm.  I had to
manually create the dir /var/lib/nxserver/home/.ssh/
and make sure the correct keys got in there, then
those keys had to be copied to /usr/NX/share/keys had
to unlock nx in the passwd using "passwd -u nx" and
tried to ssh using "ssh -i
/usr/NX/share/keys/client.id_dsa.key nx@{NX SERVER}" 
after that it worked.  

Things to note.  When I installed, I got errors:
 
cp: cannot create regular file
`/var/lib/nxserver/home/.ssh/client.id_dsa.key': No
such file or directory
cp: cannot create regular file
`/var/lib/nxserver/home/.ssh/server.id_dsa.pub.key':
No such file or directory
chmod: cannot access
`/var/lib/nxserver/home/.ssh/client.id_dsa.key': No
such file or directory
chmod: cannot access
`/var/lib/nxserver/home/.ssh/server.id_dsa.pub.key':
No such file or directory
/var/tmp/rpm-tmp.2531: line 37:
/var/lib/nxserver/home/.ssh/authorized_keys2: No such
file or directory
/var/tmp/rpm-tmp.2531: line 39:
/var/lib/nxserver/home/.ssh/authorized_keys2: No such
file or directory
chmod: cannot access
`/var/lib/nxserver/home/.ssh/authorized_keys2': No
such file or directory
/var/tmp/rpm-tmp.2531: line 41:
/var/lib/nxserver/home/.ssh/known_hosts: No such file
or directory
/var/tmp/rpm-tmp.2531: line 42:
/var/lib/nxserver/home/.ssh/known_hosts: No such file
or directory
chown: cannot access `/var/lib/nxserver/home': No such
file or directory

It was just a matter of tracking these down.  Maybe a
probem in the install script I dunno, I'm just a
newbie

Justin






--- none <deathsfriend_99 at yahoo.com> wrote:

> Please bare with me, I'm new to Linux.
> I installed freenx on FC4 using the instructions on
>
http://fedoranews.org/contributors/rick_stout/freenx/
> and the client from NoMachine.  When I try to log in
> I
> get: 
> Server not installed or NX access disabled.  Details
> are as follows:
> 
> NX> 203 NXSSH running with pid: 15417
> NX> 285 Enabling check on switch command
> NX> 285 Enabling skip of SSH config files
> NX> 200 Connected to address: 131.96.144.33 on port:
> 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> NX> 204 Authentication failed.
> 
> FROM SECURE LOG (NOTE: name of server has been
> replaced with {NX SERVER})
> 
> May 23 11:07:13 {NX SERVER} sshd[25723]: debug3: fd
> 4
> is not O_NONBLOCK
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> rexec
> start in 4 out 4 newsock 4 pipe 6 sock 7
> May 23 11:07:13 {NX SERVER} sshd[25723]: debug1:
> Forked child 26117.
> May 23 11:07:13 {NX SERVER} sshd[25723]: debug3:
> send_rexec_state: entering fd = 7 config len 666
> May 23 11:07:13 {NX SERVER} sshd[25723]: debug3:
> ssh_msg_send: type 0
> May 23 11:07:13 {NX SERVER} sshd[25723]: debug3:
> send_rexec_state: done
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> inetd
> sockets after dupping: 3, 3
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> Normalising mapped IPv4 in IPv6 address
> May 23 11:07:13 {NX SERVER} sshd[26117]: Connection
> from 131.96.144.115 port 37507
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> Client protocol version 2.0; client software version
> OpenSSH_3.9p1
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> match: OpenSSH_3.9p1 pat OpenSSH_3.*
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> Enabling compatibility mode for protocol 2.0
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug1:
> Local
> version string SSH-2.0-OpenSSH_4.2
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug2: fd
> 3
> setting O_NONBLOCK
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug2:
> Network child is on pid 26118
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> preauth child monitor started
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 0
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> mm_answer_moduli: got parameters: 1024 1024 8192
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug3:
> mm_request_send entering: type 1
> May 23 11:07:13 {NX SERVER} sshd[26117]: debug2:
> monitor_read: 0 used once, disabling now
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 5
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_sign
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_sign: signature 0x95d8608(143)
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_send entering: type 6
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug2:
> monitor_read: 5 used once, disabling now
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 7
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_pwnamallow
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_send entering: type 8
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug2:
> monitor_read: 7 used once, disabling now
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 3
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_authserv: service=ssh-connection, style=
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug2:
> monitor_read: 3 used once, disabling now
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 4
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_authrole: role=
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug2:
> monitor_read: 4 used once, disabling now
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> monitor_read: checking request 21
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_keyallowed entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_keyallowed: key_from_blob: 0x95d32c8
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> temporarily_use_uid: 500/503 (e=0/0)
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> trying public key file
> /home//var/lib/nxserver/home/.ssh/authorized_keys2
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> restore_uid: 0/0
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> temporarily_use_uid: 500/503 (e=0/0)
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> trying public key file
> /home//var/lib/nxserver/home/.ssh/authorized_keys2
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> restore_uid: 0/0
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_answer_keyallowed: key 0x95d32c8 is disallowed
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_send entering: type 22
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug3:
> mm_request_receive entering
> May 23 11:07:14 {NX SERVER} sshd[26117]: debug1:
> do_cleanup
> 
> When I try "ssh nx@{NX SERVER}" I am asked for a
> password.  
> 
> I have tried "passwd -u nx" and get 
> "passwd: Unknown user name 'nx'."
> 
> I tried adding nx to the passwd file with no luck. 
> I
> have this working on another server and checked the
> config files for both ssh and nx and they are the
> same.  Am I missing something obvious?
> 
> Justin
> 
> 
> 
> 
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
>
________________________________________________________________
>      Were you helped on this list with your FreeNX
> problem?
>     Then please write up the solution in the FreeNX
> Wiki/FAQ:
>  
>
http://openfacts.berlios.de/index-en.phtml?title=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
>
________________________________________________________________
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the FreeNX-kNX mailing list