3 # set up gnome desktop environment for remote access via vnc.
5 # this script depends on the gnome desktop. to install the minimal
6 # parts of gnome needed (as far as i know), run this command:
7 # sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
11 # best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
13 # https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
14 # https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
15 # https://ubuntuforums.org/showthread.php?t=1903220
16 # https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
18 ############################
20 # reset some variables that could be a problem.
23 unset DBUS_SESSION_BUS_ADDRESS
24 export XKL_XMODMAP_DISABLE=1
26 ############################
28 # load some extra configuration files if they exist.
30 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
31 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
33 ############################
35 # set background to solid color; avoids using bandwidth to transfer pictures.
36 xsetroot -solid darkgreen
37 #this does what again?
40 ############################
42 # solid leads (from the best article above) got us this working
43 # and pretty minimal set of apps to run.
45 /usr/bin/gnome-panel &
46 /usr/lib/gnome-settings-daemon &
49 /usr/bin/gnome-terminal &
51 ############################
53 # password tools from kde.
56 ############################
58 # ------------------------------
59 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
60 # dungeon of pain and suffering.
61 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
62 # ------------------------------
64 # all content has been deleted from the config dungeon. the damaged configs
65 # have been set free to roam in their natural environment of the internet.