Skip to content

Instantly share code, notes, and snippets.

@hrchu
Created October 22, 2015 02:24
Show Gist options
  • Save hrchu/6d9c0f22f66be4bde6b3 to your computer and use it in GitHub Desktop.
Save hrchu/6d9c0f22f66be4bde6b3 to your computer and use it in GitHub Desktop.
~/.vnc/xstartup for ubuntu 14.04 (fix 3D causing problem)
#!/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 &
#/usr/bin/gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment