Skip to content

Instantly share code, notes, and snippets.

@dausruddin
Created August 30, 2016 01:43
Show Gist options
  • Save dausruddin/6234e3a5b53818cb6048fdbdadd514cb to your computer and use it in GitHub Desktop.
Save dausruddin/6234e3a5b53818cb6048fdbdadd514cb to your computer and use it in GitHub Desktop.
Source: http://vandorp.biz/2012/01/installing-a-lightweight-lxdevnc-desktop-environment-on-your-ubuntudebian-vps/#.V8Tf-qkRVPA
# Make sure Debian is the latest and greatest
apt-get update
apt-get upgrade
apt-get dist-upgrade
# Install X, LXDE, VPN programs
apt-get install xorg lxde-core tightvncserver
# Start VNC to create config file
tightvncserver :1
# Then stop VNC
tightvncserver -kill :1
# Edit config file to start session with LXDE:
nano ~/.vnc/xstartup
# Add this at the bottom of the file:
lxterminal &
/usr/bin/lxsession -s LXDE &
# Restart VNC
tightvncserver :1
# P/S: Youcan change password by typing
vncpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment