Results 1 to 5 of 5

Thread: Why NX service unavailable or access is disabled on ubuntu?

  1. #1
    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.
    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.
    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.

  2. #2
    Join Date
    Jul 2011
    Posts
    325

    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.

  3. #3
    Join Date
    Aug 2011
    Posts
    423

    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.
    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

  4. #4
    Join Date
    Aug 2011
    Posts
    397

    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.

  5. #5
    Join Date
    Aug 2011
    Posts
    308

    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.

Similar Threads

  1. CityVille: 503 Service Unavailable
    By Athreya in forum Video Games
    Replies: 4
    Last Post: 02-02-2011, 09:31 AM
  2. Event log service is unavailable
    By Susa804 in forum Vista Help
    Replies: 12
    Last Post: 21-03-2010, 10:50 AM
  3. Service Unavailable - DNS failure
    By tombman in forum Networking & Security
    Replies: 4
    Last Post: 26-05-2009, 05:49 PM
  4. Exchange HTTP/1.1 503 Service Unavailable in OWA
    By aileen in forum Small Business Server
    Replies: 3
    Last Post: 24-02-2008, 06:02 PM
  5. The Directory Service is currently unavailable
    By Nadeem in forum Active Directory
    Replies: 1
    Last Post: 05-05-2006, 10:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •