Skip to content

Instantly share code, notes, and snippets.

@braddevans
Last active November 1, 2019 21:23
.vnc/xstartup for ubuntu server 18.04 using mate desktop
#!/bin/sh
unset DBUS_SESSION_BUS_ADDRESS ## unset dbus
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup ## xstartup from /etc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources ## setup resources
xsetroot -solid grey ## set background to grey
## vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & ## setup terminal geometry and title
xfwm4 & ## window manager xfwm4 xfce window manager
mate-session & ## start mate session manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment