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

We'll, I basically just wanna connect to my Linux Vps via a GUI and I'v done some research on the following and I think NoMachines can get this done, However I'v Installed the Windows Client of Nomachines on my windows xp machine and tried to login but to vain.

The stats of my server are : There Is no GUI (like Gnome) Installed on my ubuntu Vps I can Access my server via SFTP but not via GUI as my host says they don't have a GUI Installed.

My Questions are : How can I install a gui to my server? Can I install a GUI on my server via SFTP? Can someone tell me the procedure to run Nomachines?

If someone has a different service they'd wanna recommend me to connect to my vps then feel free, I just wanna get the job done.

this Is precisely what I want to do :

thank you.

share|improve this question

To install a gui on your server, you're best following this guide: That will get a GUI on your system.

The next step is to get remote desktop software. NoMachines looks like a proprietary implementation of NX technology ( There is an open source implementationm called FreeNX which works on Ubuntu and the Wiki has a tutorial for setting it up: There is also a free implementation created by Google, but it seems less feature complete at the moment.

There are also a couple of other Remote Desktop protocols that you could have a look at such as VNC. I've used it in the past for this style of thing and it's worked well. There's more info about it on the Wiki (search it for VNC, I can only post 2 links per comment here).

share|improve this answer

If you have SSH access to the server and you have administrator privileges, the following steps should work to get NoMachine up and running:

  1. Visit
  2. Click "NX Free Edition for Linux"
  3. Click "NX Free Edition for Linux DEB i386" (or amd64, if it's a 64-bit VPS)
  4. Download all three packages (client, node, server). That'll give you 3 .deb files.
  5. Upload these .deb files to your server with sftp
  6. Connect to your server over SSH, e.g. with PuTTY on Windows
  7. Run the following commands in your SSH session:

    sudo dpkg -i nxclient_3.5.0-7_i386.deb
    sudo dpkg -i nxnode_3.5.0-3_i386.deb
    sudo dpkg -i nxserver_3.5.0-4_i386.deb

    (assuming those are the names of the .deps you uploaded)

  8. Now try connecting to the server with nxclient from your local machine.
share|improve this answer
okay, how can I run the codes in the SSH session? do you mean the command prompt? and will this work with no gui installed? (like gnome/kde) ? – parastar Aug 2 '11 at 10:10
I ran it in the bitwise xterm command prompt and there seems to be activity there but when I try to login via the client app It says cannot login using my username, also guest login isn't allowed. – parastar Aug 2 '11 at 11:12
One thing you might need to do on the server side: "sudo service nxserver start". (That should happen automatically, so it shouldn't be necessary, but it will at least confirm that the software is correctly installed & running.) – dholbert Aug 8 '11 at 18:28
One other thing I realized -- I believe you'll still need to install some sort of GUI (like Gnome/kde/XFCE) in order for NoMachine (or any solution suggested here) to have anything that it can show you. [edit: ah yes, that's the first part of bobbo's answer here. his link there looks useful for that.] – dholbert Aug 8 '11 at 18:37

I would have a look at X2Go. It's also based on Nomachines NX libraries, like FreeNX, NeatX and Nomachines own NX Server. But unlike the other products, the server and clients are not compatible. They've made quite a few changes. The most important one, in my opinion, is that they use PulseAudio for audio integration. This means you can use VoIP over the network, which is not possible with FreeNX, NeatX or Nomachine NX Server.

share|improve this answer

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.