3 # set up gnome desktop environment for vnc.
6 # https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
7 # https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
8 # https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
9 # https://ubuntuforums.org/showthread.php?t=1903220
10 # https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
12 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
13 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
15 xsetroot -solid darkgreen
19 gnome-session --session=ubuntu &
20 #valid values for session that we've seen:
27 x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
30 # are these alternatives also?
35 # we don't see this running at home, but it sure seems needed on vmbuilder.
38 #gnome-settings-daemon &
42 # one or the other of the window managers here.
43 #hmmm: but mutter doesn't work at all.