permission mods
[feisty_meow.git] / experiments / vnc / dot.vnc / xstartup.003
1 #!/bin/sh
2
3 # set up gnome desktop environment for vnc.
4
5 # references:
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
11
12 ############################
13
14 # boilerplate that people seem to agree on.
15
16 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
17 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
18
19 xsetroot -solid darkgreen
20 vncconfig -iconic &
21
22 ############################
23
24 # the chaos zone.  all of these are still being tested.
25
26 #######
27 gnome-session --session=ubuntu &
28 #valid values for session that we've seen:
29 # ubuntu
30 # gnome
31 # 2d-gnome (?)
32 # unity
33 #######
34
35 #######
36 # are these alternatives also?
37 x-session-manager &
38 #x-window-manager &
39 #######
40
41 gnome-terminal-server &
42
43 # we don't see this running at home, but it sure seems needed on vmbuilder.
44 gnome-panel &
45
46 # no longer exists?
47 #gnome-settings-daemon &
48
49 # do we need this?
50 #gnome-shell &
51
52 #######
53 # one or the other of the window managers here.
54 #hmmm: but mutter doesn't work at all.
55 metacity &
56 #mutter --replace &
57 #######
58
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?
62 nautilus &
63
64 ############################
65
66 # experimental additions since still getting lots of weird isssues:
67 indicator-multiload &
68 gnome-keyring-daemon &
69 ibus-daemon &
70 zeitgeist-daemon &
71
72 ############################
73
74 # these processes are just nice to have started already.
75 #
76 # you know you were going to want them.
77
78 # password tools from kde.
79 kwalletd &
80
81 ############################
82
83 # limbo of useless boneheads.
84 #
85 # these things just don't seem to work.
86
87 # this never ever shows up.
88 #x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
89
90 ############################
91
92 # ------------------------------
93 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
94 # dungeon of pain and suffering.
95 # "&@}*(@^!$)_-{%:</~`|#=;" !!!!
96 # ------------------------------
97 #
98 # adding these in just makes things go splatfooey.
99
100 # compiz causes xterm to no longer be a distinct window, which is how things were
101 # originally before i started fixing them.
102 #compiz &
103
104 ############################
105