Skip to content

Instantly share code, notes, and snippets.

@yantonov
Created September 30, 2012 17:24
Show Gist options
  • Save yantonov/3807754 to your computer and use it in GitHub Desktop.
Save yantonov/3807754 to your computer and use it in GitHub Desktop.
vnc4server config file for ubuntu 11.10, 12.04
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
# x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
gnome-session --session=ubuntu-2d &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment