Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am currently in the process of creating a Ubuntu server with Rackspace cloud and I am trying to configure this server for VNC over SSH on my MacBook Air. Here is a summary of what I am trying to accomplish.

Server Details:

  • Ubuntu 12.04
  • Hosted by RackSpace (no physical access)
  • Need to run Gnome3
  • VNC connection must be over SSH

Any guides or assistance would be great, I have installed Gnome3 and Vino for the VNC-server. I'm just not sure how to configure VNC properly. I've looked online but I'm stuck at the VNC-server portion.

share|improve this question
add comment

2 Answers

Check this out:

http://www.rackspace.com/knowledge_center/index.php/VNC_Install

Just skip part with installation and go to Confirugration

share|improve this answer
    
Though, it may theoretically answer the question, it is better to put the essential parts here and give the link as reference –  Anwar Shah Oct 12 '12 at 11:08
    
The vnc install bit doesn't work with Ubuntu. –  Giles Roberts Jan 15 '13 at 10:02
add comment

The first part is to install Gnome on the Ubuntu server by executing the following on the command line:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop

You've already done this but I put this here in case anybody is starting with a Rackspace server in its default state.

Thanks to http://www.ubuntugeek.com/how-to-install-gui-on-ubuntu-12-04-precise-server.html for the above.

I wasn't able to get Vino and Gnome working via the command line but FreeNX is a VNC equivalent for Ubuntu. Command line installation instructions are here:

https://help.ubuntu.com/community/FreeNX#Installing_the_FreeNX_server_on_Ubuntu_Karmic_.289.10.29_and_higher

In addition my FreeNX client wasn't compatible with the default 3d features of modern Gnome. It returned “Failed to load session “gnome-fallback” on logging in so I had to run the following line to get Gnome to run in 2d mode:

sudo echo -e "\n#Use unity 2d for client sessions\nCOMMAND_START_GNOME='gnome-session --session=ubuntu-2d'"|sudo tee -a /etc/nxserver/node.conf

Thanks to http://www.dickson.me.uk/2012/06/18/installing-freenx-server-on-12-04-precise-pangolin/ for resolving the above.

The Mac client for FreeNX can be downloaded from here: http://www.nomachine.com/download-package.php?Prod_Id=3834

share|improve this answer
add comment

Your Answer

 
discard

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.