Page 1 of 1

Manual VNC install for 12.04 DESKTOP Version

Posted: Mon Jan 07, 2013 3:25 pm
by Strangename
Just thought I would post the following information concerning installing VNC on a 12.04 DESKTOP install.

The guidance in the wiki directs how to install on a SERVER however the way to install on the Desktop version differs.

First (if you haven't already) install vnc4server

Code: Select all

sudo apt-get vnc4server
Once installed you need to amend the .vnc/xstartup file

Code: Select all

nano .vnc/xstartup
Once open amend the file so it looks like the following:

Code: Select all

#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER #exec /etc/X11/xinit/xinitrc gnome-session --session=ubuntu-2d & [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager &
Once amended Crtl + x followed by a "y" and then hit enter to finish.

Start up the VNC server with the following command
vncserver
or if you want to size the window

Code: Select all

vncserver -geometry 1280x1024
(the size can be changed to what ever size you want)

On the remote machine start up your VNC viewer and you will now have a window with the Unity desktop.

Hope that helps.

Re: Manual VNC install for 12.04 DESKTOP Version

Posted: Mon Jan 07, 2013 3:33 pm
by bigfoot65
Could you add this to the wiki? We would greatly appreciate it. It would fit nicely on the same page as the server install. The intent is to keep as much tutorials in the wiki.

We also have an Amahi app which works with both Desktop and Server versions of Ubuntu.

Re: Manual VNC install for 12.04 DESKTOP Version

Posted: Tue Jan 08, 2013 4:35 am
by Strangename
Have applied for a wiki account and will update there.

Hope I haven't stepped on anyone's toes just wanted to give a little bit of info that I thought might be helpful

Re: Manual VNC install for 12.04 DESKTOP Version

Posted: Tue Jan 08, 2013 6:19 am
by bigfoot65
Cool. No worries, not stepping on anyone's toes :) We appreciate your clarification and contribution.