Installing NX Server Free Edition: Workaround for .ssh/config permissions error

In the past 24 hours, I installed NX Free Edition on two Linux machines – one RHEL 4 and one Ubuntu and on both, the installation failed with this message in /usr/NX/var/log/install:

NX> 700 WARNING: Error when trying to connect to NX server, error is:
NX> 700 WARNING: NX> 203 NXSSH running with pid: 28823^M
Bad owner or permissions on /home/marca/.ssh/config^M.
NX> 700 WARNING: nxsetup cannot validate the sanity of the current installation:
NX> 700 WARNING: the current system or NX configuration could be broken.

I tried chmodding ~/.ssh and ~/.ssh/config to be more and less restrictive and could not get the message to go away. What does work however is if I temporarily rename my config file to _config, install NX, and then rename it back.

Hopefully, NoMachine will add this to their FAQs and perhaps see if there’s a bug in the install that should be fixed.

NX is great though. You should definitely check it out if you’re into remote administration and using something like VNC, RDP, or remote X11, which are much slower than NX.

2 thoughts on “Installing NX Server Free Edition: Workaround for .ssh/config permissions error

  1. Had exactly the same problem. Chmod didn’t fix it but temporary renaming did; thanks!

    And I’ve just noticed that this is apparently a 7-year old bug! Not great on NoMachine’s part.

  2. No, I stand corrected, apparently when you rename it back it notices and kanks up again.

Leave a Reply

Your email address will not be published. Required fields are marked *