Manual VNC install for 12.04 DESKTOP Version

Strangename
Posts: 31
Joined: Tue Feb 15, 2011 5:41 pm

Manual VNC install for 12.04 DESKTOP Version

Postby Strangename » 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

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Manual VNC install for 12.04 DESKTOP Version

Postby bigfoot65 » Mon Jan 07, 2013 3:33 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Strangename
Posts: 31
Joined: Tue Feb 15, 2011 5:41 pm

Re: Manual VNC install for 12.04 DESKTOP Version

Postby Strangename » Tue Jan 08, 2013 4:35 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Manual VNC install for 12.04 DESKTOP Version

Postby bigfoot65 » Tue Jan 08, 2013 6:19 am

Cool. No worries, not stepping on anyone's toes :) We appreciate your clarification and contribution.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 20 guests