Results 1 to 6 of 6
Since there is no specific Centos forum, I am posting here since Centos is based on RH.
Been pulling my hair trying to get this to work. I have the ...
- 09-18-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
Anyone Using NX by Nomachine?
Since there is no specific Centos forum, I am posting here since Centos is based on RH.
Been pulling my hair trying to get this to work. I have the NX client on a WinXp box and NXclient/node/server on a Centos 5.5 box.
When I try to fire up the client, I get:
NX> 203 NXSSH running with pid: 17300
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.70 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Now, I've googled this failure and found numerous references to it. Funny that most of them are from 2006-7? There seems to be various reasons for this error. I have checked most of the supposed fixes and none work.
What I'd like to see are the various config files of a working system.
If you have NX working on a RH or Centos box, could you please post or email your config files (those that are relevant for running NX) for me to look at?
Or if you have detailed instructions on fixing this error I'd like to see that too!
I would appreciate it.
Regards,
Ray
- 09-18-2010 #2
you need to import and use the public key from the server on the client, i forget exactly where it is, but its somewhere in the NX folder, I think its like /usr/lib/nx/ or /var/lib/nx something along those lines
i do have it set up and working on a machine at work, but i'm at home
- 09-18-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
The only keys I am finding are in: /usr/NX/home/nx/.ssh, /usr/NX/etc/keys
and /usr/NX/share/keys
In /usr/NX/home/nx/.ssh I have:
-rw-r--r-- 1 nx nx 668 Sep 18 10:07 authorized_keys
-rw-r--r-- 2 nx nx 668 Sep 17 22:51 authorized_keys2
-rw-r--r-- 2 nx nx 668 Sep 17 22:51 default.id_dsa.pub
-rw-r--r-- 1 ray ray 782 Sep 17 20:50 known_hosts
-rw-r--r-- 1 ray ray 668 Feb 2 2010 restore.id_dsa.pub
None of the above are in the format of ----BEGIN DSA PRIVATE KEY----- xxxxxx-----END DSA PRIVATE KEY-----
In /usr/NX/etc/keys I have:
-rw------- 1 nx root 668 Sep 17 20:49 node.localhost.id_dsa
-rw-r--r-- 1 root root 609 Sep 17 20:49 node.localhost.id_dsa.pub
The node.localhost.id_dsa has the form ----BEGIN DSA PRIVATE KEY----- xxxxxx-----END DSA PRIVATE KEY----- The node.localhost.id_dsa.pub begins with ssh-dss and ends in root@(hostname).
In /usr/NX/share/keys I have:
-rw-r--r-- 1 root root 668 Sep 17 22:51 default.id_dsa.key
-rw-r--r-- 1 root root 668 May 28 2007 server.id_dsa.key
Both keys have the form ----BEGIN DSA PRIVATE KEY----- xxxxxx-----END DSA PRIVATE KEY-----
I'm still stuck....
- 09-18-2010 #4Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
Ok, got a little further.
Had to copy default.id.dsa.key from Centos /usr/NX/share/keys to Vista Program Files/NX Client for Windows/share/keys then the login process advanced, but another failure type now.
NX> 203 NXSSH running with pid: 23184
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.70 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.4.0-14 - LEDS Evaluation
NX> 105 Hello NXCLIENT - Version 3.4.0
NX> 134 Accepted protocol: 3.4.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login
NX> 101 User: ray
NX> 102 Password: *********
NX> 103 Welcome to: CentOS-5.5.IDS user: ray
NX> 105 Listsession --user="ray" --status="suspended\054running" --geometry="1920x1080x32+render" --type="unix-gnome"
NX> 127 Available sessions:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: ray
NX> 105 Start session with: --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="CentOS\045205.5\04520IDS" --type="unix-gnome" --geometry="800x600" --client="winnt" --keyboard="pc105\057en_US" --screeninfo="800x600x32+render"
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 280 Exiting on signal: 15
Ideas?
Thanks
Ray
- 09-19-2010 #5
have you enabled x forwarding on the server? i know this is for ubuntu, but most of the same should apply
https://help.ubuntu.com/community/FreeNX
- 09-19-2010 #6Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
My CentOS box is cli only. I am using the free version of NX from Nomachine.
Installed NXclient on vista and installed nx client, node and server on CentOS 5.5.
Had to copy default.id.dsa.key from Centos /usr/NX/share/keys to Vista Program Files/NX Client for Windows/share/keys then the login advanced, but another failure type now. (xauth not found).
Did yum install xorg-x11-xauth for above error. Now get a NX window on Vista but it says cannot find the kde environment. Please contact your system administrator.
Changed client to to GNOME and got the same message (cannot find the Gnome environment)
Did yum groupinstall "X Window System" "GNOME Desktop Environment"
NX client now works and I have the CentOS desktop (yet the CentOS console is still cli only, but that's a good thing.) Now I want to fire up nxclient from CentOS in order to run a GUI based tcl app.
I am getting this:
[root@CentOS-5 db]# nxclient
Xlib: connection to ":1020.0" refused by server
Xlib: No protocol specified
nxclient: cannot connect to X server :1020.0
[root@CentOS-5 db]#
I am seeing this from the Vista NXclient and when I try it from the CentOS console.
Ideas?
Ray


Reply With Quote
