Changes

From Amahi Wiki
Jump to: navigation, search
1,540 bytes added ,  18:52, 15 July 2012
Added vnc4server for Ubuntu. Tigervnc is not in apt-get.
* It does involve the dreaded CLI.
* Since my HDA does not get rebooted often, this is not a huge problem
 
== Ubuntu Method ==
 
This is just what I found on how to install a VNC for Ubuntu 12.04LTC after figuring out that TigerVNC (the above methods) do not work for Ubuntu. The method is copied from [http://coddswallop.wordpress.com/2012/05/09/ubuntu-12-04-precise-pangolin-complete-vnc-server-setup/ here]. This will result in the gnome GUI, not Unity.
 
* First we need to update our repositories and install gnome.
 
sudo apt-get update
sudo apt-get install gnome-core gnome-session-fallback
 
* Next we install VNC4Server
 
sudo apt-get install vnc4server
 
* We need to test the VNC, and then close the session.
 
vncserver
vncserver -kill :1
 
* We open the startup file that we need to edit to make gnome show up in the VNC, and not just a terminal:
 
cp .vnc/xstartup .vnc/xstartup.bak
nano .vnc/xstartup
 
* We edit the file to uncomment the second line, and add "gnome-session -session=gnome-classic &". So it will look like this:
 
#!/bin/sh
 
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
gnome-session –session=gnome-classic &
 
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
 
* And finally we quit nano and save the file.
ctrl + x
y (for confirmation that yes, we do want the file to be overwritten with the new information)
= General Instructions =
110

edits