Skip to content

Instantly share code, notes, and snippets.

@dvir1994
Created January 16, 2018 11:11
Show Gist options
  • Save dvir1994/bf585b1f31602a382538f97e137521f9 to your computer and use it in GitHub Desktop.
Save dvir1994/bf585b1f31602a382538f97e137521f9 to your computer and use it in GitHub Desktop.
ubuntu install desktop and configure vnc
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install vnc4server
sudo apt-get install gnome-panel
vncserver
#enter password to terminal
vncserver-kill :1
echo "unset SESSION_MANAGER" >> /root/.vnc/xstartup
echo "gnome-session –session=gnome-classic &" >> /root/.vnc/xstartup
echo "gnome-panel&" >> /root/.vnc/xstartup
#connect to the host via tight vnc viewer > <IP>::5901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment