Skip to content

Instantly share code, notes, and snippets.

@ars096
Created October 10, 2017 08:00
Show Gist options
  • Save ars096/5c6fae3bd1547a83d8e9c3b27db10c08 to your computer and use it in GitHub Desktop.
Save ars096/5c6fae3bd1547a83d8e9c3b27db10c08 to your computer and use it in GitHub Desktop.
xstartup file for Ubuntu 16.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-panel &
gnome-settings-daemon &
metacity &
nautilus &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment