Changes

From Amahi Wiki
Jump to: navigation, search
2,059 bytes removed ,  20:18, 15 July 2012
* It does involve the dreaded CLI.
* Since my HDA does not get rebooted often, this is not a huge problem
 
== Ubuntu Alternate Method==
A [[Install_VNC_server_on_Ubuntu_Server_12.04|VNC tutorial]] is linked from the main wiki page. It is one method for setting up VNC on your HDA. Below is another way dodumented by a user.
 
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. Follow the instructions.
 
sudo apt-get install vnc4server
 
* We need to test the VNC, and then close the session. In the process we are prompted for a password to use everytime we try to connect using our VNC client.
 
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:
 
{{Code|Code=
#!/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)}}
* To start the VNC just type the following into a terminal (using something like [[Key-based SSH Logins With Putty|Putty]]. This will start a new VNC session.
vncserver
= General Instructions =
12,424

edits