Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Why NX service unavailable or access is disabled on ubuntu?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-03-2012
Member
 
Join Date: Jan 2012
Posts: 68
Why NX service unavailable or access is disabled on ubuntu?
  

I have installed SSH on my system and it is working great. I am able to connect with server by using any machine and it can be control. However I am not able to get connected with the server by using NX Client. I am having nxserver on server machine but it cannot start remote desktop session by using NX Client. the error message can be stated as follow.
Quote:
The NX service is not available or the NX access was disabled on host <server ip>.
Well I am suspecting that the issue is associated with public/private key authentication and it can be displayed as follow.
Quote:
NX> 203 NXSSH running with pid: 4564
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.15 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Any suggestion to help me out will be greatly appreciated.

Reply With Quote
  #2  
Old 31-03-2012
Member
 
Join Date: Jul 2011
Posts: 317
Re: Why NX service unavailable or access is disabled on ubuntu?

You should give a try to below mentioned steps and let me know about your experience.
  • First of all uninstall NX and all the files which are associated with NX especially /usr/NX/*.
  • Make .nx directory at my home directory.
  • Now reinstall NX.
  • Finally check log files located at /usr/NX/var/log for any errors and see whether you are getting any error message.
  • Repeat the process again if you get any issue.
Reply With Quote
  #3  
Old 31-03-2012
Member
 
Join Date: Aug 2011
Posts: 414
Re: Why NX service unavailable or access is disabled on ubuntu?

I got the same issue in centos that is NX was nit making use of client dsa key at /etc/nxserver.

I ran cat /etc/passwd | grep ^nx and got below mentioned output.
Quote:
nx: x :102:103::/var/lib/nxserver/home:/usr/bin/nxserver
now you have to use below mentioned key in nx client
Code:
cat /var/lib/nxserver/home/.ssh/client.id_dsa.key
Reply With Quote
  #4  
Old 31-03-2012
Member
 
Join Date: Aug 2011
Posts: 393
Re: Why NX service unavailable or access is disabled on ubuntu?

I think you have done something wrong with the SSH server config only. Make sure that you have added AllowUsers option. If you donít do that then you might face above mentioned error message. Also see that you have added NX users as well.
Reply With Quote
  #5  
Old 03-04-2012
Member
 
Join Date: Aug 2011
Posts: 304
Re: Why NX service unavailable or access is disabled on ubuntu?

In this particular situation I am using couple DSA keys which are from /etc/nxserver and /var/lib/nxserver/home/.ssh but none of them worked for me at all. now I am using default key and when you are supposed to any changes to DSA key then you will have a button which has been said as Default. I clicked on the same it simply changed the DSA key field after doing I did not get any issue.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Why NX service unavailable or access is disabled on ubuntu?"
Thread Thread Starter Forum Replies Last Post
CityVille: 503 Service Unavailable Athreya Video Games 4 02-02-2011 09:31 AM
Event log service is unavailable Susa804 Vista Help 12 21-03-2010 10:50 AM
Service Unavailable - DNS failure tombman Networking & Security 4 26-05-2009 05:49 PM
Exchange HTTP/1.1 503 Service Unavailable in OWA aileen Small Business Server 3 24-02-2008 06:02 PM
The Directory Service is currently unavailable Nadeem Active Directory 1 05-05-2006 10:06 AM


All times are GMT +5.5. The time now is 10:45 PM.