Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-16-2009, 03:20 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 25

Rep: Reputation: 15
nxserver can't connect

I am completely new to Linux/CentOS5. I just installed it and saw it for the first time yesterday to give you an idea...... So if you can 'dumb down' things to exact steps in any response, please do so!

I have Cent-OS-5 running as a vmware virtual machine on a server. I can login to vmware and use the console no problem, but it is so slow at to be unusable. The server is located on a 1mb/s upload pipe for now, and have a 3mb/s down at home where I am trying to access the server from.
It's so slow, it takes about 30 seconds to refresh each screen!

So I thought I'd try nxserver.

I downloaded it via yum on my server and if I type nxserver --status at the command line, it says it is running.

I downloaded the client for my home PC (windows) and installed it.

I somehow managed to get ssh enabled (I think), because I can ssh manually into the server.

both my /etc/nxerver/ folder on my sever and my \nxserver\keys\ folder on my PC have the exact same files (I copy/pasted):


But everytime I try to login with the client, it says:

NX> 203 NXSSH running with pid: 5096
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: x.x.x.x on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

So what am I doing wrong? And why it using user "nx" ?? I never asked it to use this user. I'm putting in root and the correct password into the login/password fields of the nx client....


Last edited by patrickg28; 06-16-2009 at 03:36 PM.
Old 06-18-2009, 02:57 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
the simplest way to get a connection working is to use the default keys that come with the client / server. otherwise you will need to add your own as you said. Get it working with the defaults first. From the logs there it's definitely the case that the keys are incorrect in one way or another.

ns is the system user that is used to connect and spawn the sessions with it's special shell. once that is connected, the remote control stuff is started for the user you want with the login credentials.

And you shouldn't use root, only ever do it as a normal user and once working temporarily elevate yourself to root on demand.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone know how to use NXserver/client? pilotgi SUSE / openSUSE 3 12-09-2007 12:40 PM
WinXP nxclient won't connect to nxserver RH ES 5 bgrattan Linux - Desktop 1 03-29-2007 04:44 PM
NXserver problems mickeyboa Fedora 0 09-07-2006 03:09 PM
nxserver authentication meping Linux - Software 1 04-15-2006 01:58 PM
nxserver - can not connect with client thesonic1 Linux - Software 4 10-27-2005 08:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration