fixes mapsdemo outdated api key
[feisty_meow.git] / experiments / vnc / dot.vnc / xstartup.002
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 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
13 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
14
15 xsetroot -solid darkgreen
16 vncconfig -iconic &
17
18 #######
19 gnome-session --session=ubuntu &
20 #valid values for session that we've seen:
21 # ubuntu
22 # gnome
23 # 2d-gnome (?)
24 # unity
25 #######
26
27 x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
28
29 #######
30 # are these alternatives also?
31 x-session-manager &
32 #x-window-manager &
33 #######
34
35 gnome-terminal-server &
36
37 # we don't see this running at home, but it sure seems needed on vmbuilder.
38 gnome-panel &
39
40 #gnome-settings-daemon &
41 #gnome-shell &
42
43 #######
44 # one or the other of the window managers here.
45 #hmmm: but mutter doesn't work at all.
46 metacity &
47 #mutter --replace &
48 #######
49
50 nautilus &
51
52 # experimental additions since still getting lots of weird isssues:
53 indicator-multiload &
54 compiz &
55 gnome-keyring-daemon &
56 ibus-daemon &
57 zeitgeist-daemon &
58
59 # just nice to have started already.
60 kwalletd &
61
62
63