Welcome to 96MB, please Login or Create an account to get full access to the forums.
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Ubuntu 12.04] VNC + Gnome Desktop

Offline jarland Posted 03-24-2013, 02:42 PM -
Post: #1
Moderator
52 Posts
Reputation: 3
Although I'm sure these exact commands work fine for other versions, this is the specific set of commands that I use to install the Ubuntu Gnome desktop and VNC on 12.04.

First, run updates.
apt-get update && apt-get -y upgrade

Then, install the desktop, VNC, and nano. This might take a few minutes
apt-get install ubuntu-desktop vnc4server nano

Next, run vncserver for a moment to create some required files.
vncserver
(Set your password when asked)

Go ahead and kill the VNC server.
vncserver -kill :1

Let's edit the startup file.
nano ~/.vnc/xstartup

Add the following line to the bottom:
gnome-session &

Use Control+O to save, hit enter. Control+X to exit.

Start vncserver again.
vncserver

VNC into your VPS using the IP address and port 5901.
Back to top Find Quote
Offline 96mb Posted 03-24-2013, 02:44 PM -
Post: #2
Administrator
62 Posts
Reputation: 1
Thanks for the useful tutorials @Jarland!
Back to top Find Quote


Forum Jump:

User(s) browsing this thread
1 Guest(s)

© 2012 96MB

Community software by MyBB

Premium Theme by ThemeFreak