Manual VNC install for 12.04 DESKTOP Version
Posted: Mon Jan 07, 2013 3:25 pm
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
Once installed you need to amend the .vnc/xstartup file
Once open amend the file so it looks like the following:
Once amended Crtl + x followed by a "y" and then hit enter to finish.
Start up the VNC server with the following command
(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.
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
Code: Select all
nano .vnc/xstartup
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 &
Start up the VNC server with the following command
or if you want to size the windowvncserver
Code: Select all
vncserver -geometry 1280x1024
On the remote machine start up your VNC viewer and you will now have a window with the Unity desktop.
Hope that helps.