fixes mapsdemo outdated api key
[feisty_meow.git] / experiments / vnc / dot.vnc / xstartup.001
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 # we don't see this running at home, but it sure seems needed on vmbuilder.
36 gnome-panel &
37
38 #gnome-settings-daemon &
39 #gnome-shell &
40
41 #######
42 # one or the other of the window managers here.
43 #hmmm: but mutter doesn't work at all.
44 metacity &
45 #mutter &
46 #######
47
48 nautilus &
49