Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed OpenSSH server on my Ubuntu Linux box (10.04). I can SSH to the box properly, no problem. I have to use port 443/TCP. No problem accessing a shell prompt with PuTTY or other SSH client. Hoewver, when I try to use NX to have a graphical session, it is not responding. I thought that NX is simply using the settings used by /etc/ssh/sshd_config. Are there other parameters for NX that I should change so that it listens on port 443 ?

I use NX from, and the version of all components is: 3.4.0-5

Thanks :-)

share|improve this question
UPDATE: I installed and tested the ssh server before doing anything with NX. So I know that my router is properly configured. – jfmessier Dec 2 '10 at 15:01
You can also edit you question of you have some addenda – Stefano Palazzo Dec 2 '10 at 21:43
The configuration is to be done on the server, not the client. The server responds fine when I connect from outside, but not from inside. – jfmessier Dec 4 '10 at 12:54
And I checked the routing. – jfmessier Dec 4 '10 at 12:55
up vote 3 down vote accepted

On the commercial NX, edit /usr/NX/etc/server.cfg, change SSHDPort, and restart NX.

(A little more... I like to link the NX etc directory.)

ln -s /usr/NX/etc /etc/nx
sudo vim /etc/nx/server.cfg

Change SSHDPort and save.

/etc/init.d/nxserver restart
share|improve this answer

If you are using FreeNX, you will need to edit /etc/nxserver/node.conf. In the General FreeNX Directives, locate this lines:

# The port number where local 'sshd' is listening.

Uncomment the second one and put there the port where sshd is listening. Note that I haven't been able to test it, so please comment if it doesn't work.

share|improve this answer
Actually, I use the Commercial NX. But I give a point for the fact that this can be useful for all FreeNX users out there..... – jfmessier Jan 27 '11 at 11:08

Looks like there should be some sort of GUI configurator available in the programs menu.

It also looks like there's a wizard you can run on the command line with

nxclient --wizard

More info here.

share|improve this answer
You might also find the Ubuntu Community Doc on NomachineNX useful, – bhamby Dec 2 '10 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.