Last active
November 1, 2019 21:23
.vnc/xstartup for ubuntu server 18.04 using mate desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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