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 ############################
14 # boilerplate that people seem to agree on.
16 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
17 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
19 xsetroot -solid darkgreen
22 ############################
24 # the chaos zone. all of these are still being tested.
27 gnome-session --session=ubuntu &
28 #valid values for session that we've seen:
36 # are these alternatives also?
41 gnome-terminal-server &
43 # we don't see this running at home, but it sure seems needed on vmbuilder.
47 #gnome-settings-daemon &
53 # one or the other of the window managers here.
54 #hmmm: but mutter doesn't work at all.
59 # this just brings up an initial file exploring window, although at one point i needed to
60 # have nautilus running to see icons on the desktop.
61 ####right now there are no visible icons on the desktop, so is it failing?
64 ############################
66 # experimental additions since still getting lots of weird isssues:
68 gnome-keyring-daemon &
72 ############################
74 # these processes are just nice to have started already.
76 # you know you were going to want them.
78 # password tools from kde.
81 ############################
83 # limbo of useless boneheads.
85 # these things just don't seem to work.
87 # this never ever shows up.
88 #x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
90 ############################
92 # ------------------------------
93 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
94 # dungeon of pain and suffering.
95 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
96 # ------------------------------
98 # adding these in just makes things go splatfooey.
100 # compiz causes xterm to no longer be a distinct window, which is how things were
101 # originally before i started fixing them.
104 ############################