giving the vnc lab its own folder
authorFred T. Hamster <fred@gruntose.com>
Fri, 10 Nov 2017 14:19:39 +0000 (09:19 -0500)
committerFred T. Hamster <fred@gruntose.com>
Fri, 10 Nov 2017 14:19:39 +0000 (09:19 -0500)
34 files changed:
experiments/home-.vnc/xstartup.001 [deleted file]
experiments/home-.vnc/xstartup.002 [deleted file]
experiments/home-.vnc/xstartup.003 [deleted file]
experiments/home-.vnc/xstartup.004 [deleted file]
experiments/home-.vnc/xstartup.005 [deleted file]
experiments/home-.vnc/xstartup.006 [deleted file]
experiments/home-.vnc/xstartup.007 [deleted file]
experiments/home-.vnc/xstartup.008 [deleted file]
experiments/home-.vnc/xstartup.009 [deleted file]
experiments/home-.vnc/xstartup.010 [deleted file]
experiments/home-.vnc/xstartup.011 [deleted file]
experiments/home-.vnc/xstartup.012 [deleted file]
experiments/init.d/vncserver.001 [deleted file]
experiments/init.d/vncserver.002 [deleted file]
experiments/init.d/vncserver.003 [deleted file]
experiments/init.d/vncserver.004 [deleted file]
experiments/init.d/vncserver.005 [deleted file]
experiments/vnc/dot.vnc/xstartup.001 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.002 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.003 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.004 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.005 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.006 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.007 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.008 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.009 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.010 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.011 [new file with mode: 0755]
experiments/vnc/dot.vnc/xstartup.012 [new file with mode: 0755]
experiments/vnc/init.d/vncserver.001 [new file with mode: 0755]
experiments/vnc/init.d/vncserver.002 [new file with mode: 0755]
experiments/vnc/init.d/vncserver.003 [new file with mode: 0755]
experiments/vnc/init.d/vncserver.004 [new file with mode: 0755]
experiments/vnc/init.d/vncserver.005 [new file with mode: 0755]

diff --git a/experiments/home-.vnc/xstartup.001 b/experiments/home-.vnc/xstartup.001
deleted file mode 100755 (executable)
index 40b174b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for vnc.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-#######
-gnome-session --session=ubuntu &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-#######
-# are these alternatives also?
-x-session-manager &
-#x-window-manager &
-#######
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-gnome-panel &
-
-#gnome-settings-daemon &
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-metacity &
-#mutter &
-#######
-
-nautilus &
-
diff --git a/experiments/home-.vnc/xstartup.002 b/experiments/home-.vnc/xstartup.002
deleted file mode 100755 (executable)
index 1df643d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for vnc.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-#######
-gnome-session --session=ubuntu &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-#######
-# are these alternatives also?
-x-session-manager &
-#x-window-manager &
-#######
-
-gnome-terminal-server &
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-gnome-panel &
-
-#gnome-settings-daemon &
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-metacity &
-#mutter --replace &
-#######
-
-nautilus &
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-compiz &
-gnome-keyring-daemon &
-ibus-daemon &
-zeitgeist-daemon &
-
-# just nice to have started already.
-kwalletd &
-
-
-
diff --git a/experiments/home-.vnc/xstartup.003 b/experiments/home-.vnc/xstartup.003
deleted file mode 100755 (executable)
index d2a2667..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for vnc.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# boilerplate that people seem to agree on.
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-#######
-gnome-session --session=ubuntu &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-#######
-# are these alternatives also?
-x-session-manager &
-#x-window-manager &
-#######
-
-gnome-terminal-server &
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-gnome-panel &
-
-# no longer exists?
-#gnome-settings-daemon &
-
-# do we need this?
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-gnome-keyring-daemon &
-ibus-daemon &
-zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.004 b/experiments/home-.vnc/xstartup.004
deleted file mode 100755 (executable)
index b4158bb..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# boilerplate that people seem to agree on.
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-#######
-gnome-session --session=gnome &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-#######
-# are these alternatives also?
-#x-session-manager &
-#x-window-manager &
-#######
-
-gnome-terminal-server &
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-gnome-panel &
-
-# no longer exists?
-#gnome-settings-daemon &
-
-# do we need this?
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-gnome-keyring-daemon &
-ibus-daemon &
-zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.005 b/experiments/home-.vnc/xstartup.005
deleted file mode 100755 (executable)
index 1833bb7..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# boilerplate that people seem to mostly agree on.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-#not helping
-#if [ -x /etc/X11/xinit/xinitrc ]; then
-#  exec /etc/X11/xinit/xinitrc
-#fi
-#if [ -f /etc/X11/xinit/xinitrc ]; then
-#  exec sh /etc/X11/xinit/xinitrc
-#fi
-
-#... some new stuff that hopefully will help out.
-
-/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
-/usr/lib/x86_64-linux-gnu/unity/unity-panel-service &
-/usr/lib/unity-settings-daemon/unity-settings-daemon &
-
-for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
-  basename=’basename \${indicator}’ 
-  dirname=’dirname \${indicator}’ 
-  service=\${dirname}/\${basename}/\${basename}-service 
-  \${service} &
-done
-unity
-
-
-# items marked with #H: below were on until recently.
-
-#######
-#H: gnome-session --session=gnome &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-#######
-# are these alternatives also?
-#x-session-manager &
-#x-window-manager &
-#######
-
-#H: gnome-terminal-server &
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-#H: gnome-panel &
-
-# no longer exists?
-#gnome-settings-daemon &
-
-# do we need this?
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-#H: metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-#H: nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-#H: indicator-multiload &
-#H: gnome-keyring-daemon &
-#H: ibus-daemon &
-#H: zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-#H: kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-# maybe needed now though??
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.006 b/experiments/home-.vnc/xstartup.006
deleted file mode 100755 (executable)
index d8544fc..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# boilerplate that people seem to mostly agree on.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-#not helping
-#if [ -x /etc/X11/xinit/xinitrc ]; then
-#  exec /etc/X11/xinit/xinitrc
-#fi
-#if [ -f /etc/X11/xinit/xinitrc ]; then
-#  exec sh /etc/X11/xinit/xinitrc
-#fi
-
-
-
-# items marked with #H: below were on until recently.
-
-#######
-gnome-session --session=ubuntu &
-#valid values for session that we've seen:
-# ubuntu
-# gnome
-# 2d-gnome (?)
-# unity
-#######
-
-
-#... some new stuff that hopefully will help out.
-#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
-unity-panel-service &
-unity-settings-daemon &
-
-#seeing if indicator multiload does this:
-#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
-#  basename=’basename \${indicator}’ 
-#  dirname=’dirname \${indicator}’ 
-#  service=\${dirname}/\${basename}/\${basename}-service 
-#  \${service} &
-#done
-#unity
-
-
-#######
-# are these alternatives also?
-#x-session-manager &
-#x-window-manager &
-#######
-
-#H: gnome-terminal-server &
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-#H: gnome-panel &
-
-# do we need this?
-#gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-#H: metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-gnome-keyring-daemon &
-#H: ibus-daemon &
-#H: zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-# no longer exists?
-#gnome-settings-daemon &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-# maybe needed now though??
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.007 b/experiments/home-.vnc/xstartup.007
deleted file mode 100755 (executable)
index c597b49..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.
-
-# references:
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-# items marked with #H: below were on until recently.
-############################
-
-# boilerplate that people seem to mostly agree on.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-#not helping
-#if [ -x /etc/X11/xinit/xinitrc ]; then
-#  exec /etc/X11/xinit/xinitrc
-#fi
-#if [ -f /etc/X11/xinit/xinitrc ]; then
-#  exec sh /etc/X11/xinit/xinitrc
-#fi
-
-#######
-gnome-session --session=ubuntu &
-# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
-#######
-
-#... some new stuff that hopefully will help out.
-#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
-unity-panel-service &
-unity-settings-daemon &
-
-#seeing if indicator multiload does this:
-#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
-#  basename=’basename \${indicator}’ 
-#  dirname=’dirname \${indicator}’ 
-#  service=\${dirname}/\${basename}/\${basename}-service 
-#  \${service} &
-#done
-#unity
-
-
-#######
-# are these alternatives also?
-x-session-manager &
-#x-window-manager &
-#######
-
-# we don't see this running at home, but it sure seems needed on vmbuilder.
-#H: gnome-panel &
-
-# do we need this?
-gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-#H: metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-gnome-keyring-daemon &
-#H: ibus-daemon &
-#H: zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-# no longer exists?
-#gnome-settings-daemon &
-
-#doesn't seem to help.
-#gnome-terminal-server &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-# maybe needed now though??
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.008 b/experiments/home-.vnc/xstartup.008
deleted file mode 100755 (executable)
index a6d4d26..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.  to install the minimal
-# parts of gnome needed (as far as i know), run this command:
-#   sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal 
-
-# references:
-#   best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-# items marked with #H: below were on until recently.
-############################
-
-# boilerplate that people seem to mostly agree on.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-export XKL_XMODMAP_DISABLE=1
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-# solid leads are building this chunk.
-/usr/bin/gnome-panel &
-/usr/lib/gnome-settings-daemon &
-
-
-
-#######
-gnome-session --session=ubuntu &
-# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
-#######
-
-#... some new stuff that hopefully will help out.
-#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
-#unity-panel-service &
-#unity-settings-daemon &
-
-#seeing if indicator multiload does this:
-#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
-#  basename=’basename \${indicator}’ 
-#  dirname=’dirname \${indicator}’ 
-#  service=\${dirname}/\${basename}/\${basename}-service 
-#  \${service} &
-#done
-#unity
-
-
-#######
-# are these alternatives also?
-x-session-manager &
-#x-window-manager &
-#######
-
-
-# do we need this?
-gnome-shell &
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-#H: metacity &
-#mutter --replace &
-#######
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-indicator-multiload &
-gnome-keyring-daemon &
-#H: ibus-daemon &
-#H: zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# limbo of useless boneheads.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-#doesn't seem to help.
-#gnome-terminal-server &
-
-#not helping
-#if [ -x /etc/X11/xinit/xinitrc ]; then
-#  exec /etc/X11/xinit/xinitrc
-#fi
-#if [ -f /etc/X11/xinit/xinitrc ]; then
-#  exec sh /etc/X11/xinit/xinitrc
-#fi
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-#trying something wacky; minimalist as heck...
-#and it doesn't work at all.  of course.
-#startx&
-#exit 0
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-# maybe needed now though??
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.009 b/experiments/home-.vnc/xstartup.009
deleted file mode 100755 (executable)
index 1eb6fd4..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.  to install the minimal
-# parts of gnome needed (as far as i know), run this command:
-#   sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal kwalletmanager
-
-# references:
-#   best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# boilerplate that people seem to mostly agree on.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-export XKL_XMODMAP_DISABLE=1
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-xsetroot -solid darkgreen
-vncconfig -iconic &
-
-############################
-
-# the chaos zone.  all of these are still being tested.
-
-# solid leads are building this chunk.
-/usr/bin/gnome-panel &
-/usr/lib/gnome-settings-daemon &
-/usr/bin/metacity &
-/usr/bin/nautilus &
-/usr/bin/gnome-terminal &
-
-# password tools from kde.
-kwalletd &
-
-
-#######
-#gnome-session --session=ubuntu &
-# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
-#######
-
-#... some new stuff that hopefully will help out.
-#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
-#unity-panel-service &
-#unity-settings-daemon &
-
-#seeing if indicator multiload does this:
-#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
-#  basename=’basename \${indicator}’ 
-#  dirname=’dirname \${indicator}’ 
-#  service=\${dirname}/\${basename}/\${basename}-service 
-#  \${service} &
-#done
-#unity
-
-
-#######
-# are these alternatives also?
-#x-session-manager &
-#x-window-manager &
-#######
-
-
-# do we need this?
-#gnome-shell &
-
-
-# this just brings up an initial file exploring window, although at one point i needed to
-# have nautilus running to see icons on the desktop.
-####right now there are no visible icons on the desktop, so is it failing?
-#nautilus &
-
-############################
-
-# experimental additions since still getting lots of weird isssues:
-#indicator-multiload &
-#gnome-keyring-daemon &
-#H: ibus-daemon &
-#H: zeitgeist-daemon &
-
-############################
-
-# these processes are just nice to have started already.
-#
-# you know you were going to want them.
-
-# password tools from kde.
-#kwalletd &
-
-############################
-
-# limbo of useless boneheads and configs in training.
-#
-# these things just don't seem to work.
-
-# this never ever shows up.
-#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
-
-#doesn't seem to help.
-#gnome-terminal-server &
-
-#not helping
-#if [ -x /etc/X11/xinit/xinitrc ]; then
-#  exec /etc/X11/xinit/xinitrc
-#fi
-#if [ -f /etc/X11/xinit/xinitrc ]; then
-#  exec sh /etc/X11/xinit/xinitrc
-#fi
-
-#######
-# one or the other of the window managers here.
-#hmmm: but mutter doesn't work at all.
-#H: metacity &
-#mutter --replace &
-#######
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-#
-# adding these in just makes things go splatfooey.
-
-#trying something wacky; minimalist as heck...
-#and it doesn't work at all.  of course.
-#startx&
-#exit 0
-
-# compiz causes xterm to no longer be a distinct window, which is how things were
-# originally before i started fixing them.
-#compiz &
-# maybe needed now though??
-
-############################
-
diff --git a/experiments/home-.vnc/xstartup.010 b/experiments/home-.vnc/xstartup.010
deleted file mode 100755 (executable)
index 6330427..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.  to install the minimal
-# parts of gnome needed (as far as i know), run this command:
-#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
-
-# references:
-#
-#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
-#
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# reset some variables that could be a problem.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-export XKL_XMODMAP_DISABLE=1
-
-############################
-
-# load some extra configuration files if they exist.
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-############################
-
-# set background to solid color; avoids using bandwidth to transfer pictures.
-xsetroot -solid darkgreen
-#this does what again?
-vncconfig -iconic &
-
-############################
-
-# solid leads (from the best article above) got us this working
-# and pretty minimal set of apps to run.
-
-/usr/bin/gnome-panel &
-/usr/lib/gnome-settings-daemon &
-/usr/bin/metacity &
-/usr/bin/nautilus &
-/usr/bin/gnome-terminal &
-
-############################
-
-# password tools from kde.
-kwalletd &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-
-# all content has been deleted from the config dungeon.  the damaged configs
-# have been set free to roam in their natural environment of the internet.
-
diff --git a/experiments/home-.vnc/xstartup.011 b/experiments/home-.vnc/xstartup.011
deleted file mode 100755 (executable)
index 8dc54aa..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# this script depends on the gnome desktop.  to install the minimal
-# parts of gnome needed (as far as i know), run this command:
-#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
-
-# references:
-#
-#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
-#
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# reset some variables that could be a problem.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-export XKL_XMODMAP_DISABLE=1
-
-############################
-
-# load some extra configuration files if they exist.
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-############################
-
-# set background to solid color; avoids using bandwidth to transfer pictures.
-xsetroot -solid darkgreen
-#this does what again?
-vncconfig -iconic &
-
-############################
-
-# solid leads (from the best article above) got us this working
-# and pretty minimal set of apps to run.
-
-/usr/bin/gnome-panel &
-/usr/lib/gnome-settings-daemon &
-/usr/bin/metacity &
-/usr/bin/nautilus &
-/usr/bin/gnome-terminal &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-
-# all content has been deleted from the config dungeon.  the damaged configs
-# have been set free to roam in their natural environment of the internet.
-
diff --git a/experiments/home-.vnc/xstartup.012 b/experiments/home-.vnc/xstartup.012
deleted file mode 100755 (executable)
index 7e5fc79..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-# set up gnome desktop environment for remote access via vnc.
-
-# NOTE: it is important to be running the vncserver as a user who is NOT
-#        already running x windowing system.  otherwise, weird and possibly
-#        bad things can happen, e.g. your apps show up on display zero
-#        rather than on the vnc desktop.
-
-# this script depends on the gnome desktop.  to install the minimal
-# parts of gnome needed (as far as i know), run this command:
-#
-#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
-
-# references:
-#
-#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
-#
-#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
-#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
-#   https://ubuntuforums.org/showthread.php?t=1903220
-#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
-
-############################
-
-# reset some variables that could be a problem.
-
-unset SESSION_MANAGER
-unset DBUS_SESSION_BUS_ADDRESS
-export XKL_XMODMAP_DISABLE=1
-
-############################
-
-# load some extra configuration files if they exist.
-
-[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
-
-############################
-
-# set background to solid color; avoids using bandwidth to transfer pictures.
-xsetroot -solid darkgreen
-#this does what again?
-vncconfig -iconic &
-
-############################
-
-# solid leads from the "best" article above gave us the workable, minimal set
-# of x window apps below.
-/usr/bin/gnome-panel &
-/usr/lib/gnome-settings-daemon &
-/usr/bin/metacity &
-/usr/bin/nautilus &
-/usr/bin/gnome-terminal &
-
-############################
-
-# ------------------------------
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# dungeon of pain and suffering.
-# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
-# ------------------------------
-
-# all content has been deleted from the config dungeon.  the damaged configs
-# have been set free to roam in their natural environment of the internet.
-
diff --git a/experiments/init.d/vncserver.001 b/experiments/init.d/vncserver.001
deleted file mode 100755 (executable)
index 2b6e6dd..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fred"
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1024x768"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-
diff --git a/experiments/init.d/vncserver.002 b/experiments/init.d/vncserver.002
deleted file mode 100755 (executable)
index 73bdec0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fred"
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1200x800"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-
diff --git a/experiments/init.d/vncserver.003 b/experiments/init.d/vncserver.003
deleted file mode 100755 (executable)
index 73bdec0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fred"
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1200x800"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-
diff --git a/experiments/init.d/vncserver.004 b/experiments/init.d/vncserver.004
deleted file mode 100755 (executable)
index 9e95549..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fred"
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1200x800"
-XAUTHORITY="/home/$USER/.Xauthority.vnc"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-
diff --git a/experiments/init.d/vncserver.005 b/experiments/init.d/vncserver.005
deleted file mode 100755 (executable)
index 5cf5e2b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fredhuff"
-# fredhuff is a different user than my normal user who is logged in on
-# desktop zero.  this is important for display isolation.
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1200x800"
-XAUTHORITY="/home/$USER/.Xauthority.vnc"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-
diff --git a/experiments/vnc/dot.vnc/xstartup.001 b/experiments/vnc/dot.vnc/xstartup.001
new file mode 100755 (executable)
index 0000000..40b174b
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+# set up gnome desktop environment for vnc.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+#######
+gnome-session --session=ubuntu &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+#######
+# are these alternatives also?
+x-session-manager &
+#x-window-manager &
+#######
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+gnome-panel &
+
+#gnome-settings-daemon &
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+metacity &
+#mutter &
+#######
+
+nautilus &
+
diff --git a/experiments/vnc/dot.vnc/xstartup.002 b/experiments/vnc/dot.vnc/xstartup.002
new file mode 100755 (executable)
index 0000000..1df643d
--- /dev/null
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# set up gnome desktop environment for vnc.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+#######
+gnome-session --session=ubuntu &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+#######
+# are these alternatives also?
+x-session-manager &
+#x-window-manager &
+#######
+
+gnome-terminal-server &
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+gnome-panel &
+
+#gnome-settings-daemon &
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+metacity &
+#mutter --replace &
+#######
+
+nautilus &
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+compiz &
+gnome-keyring-daemon &
+ibus-daemon &
+zeitgeist-daemon &
+
+# just nice to have started already.
+kwalletd &
+
+
+
diff --git a/experiments/vnc/dot.vnc/xstartup.003 b/experiments/vnc/dot.vnc/xstartup.003
new file mode 100755 (executable)
index 0000000..d2a2667
--- /dev/null
@@ -0,0 +1,105 @@
+#!/bin/sh
+
+# set up gnome desktop environment for vnc.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-Tips_and_tricks-Configuring_a_VNC_Server.html
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# boilerplate that people seem to agree on.
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+#######
+gnome-session --session=ubuntu &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+#######
+# are these alternatives also?
+x-session-manager &
+#x-window-manager &
+#######
+
+gnome-terminal-server &
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+gnome-panel &
+
+# no longer exists?
+#gnome-settings-daemon &
+
+# do we need this?
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+gnome-keyring-daemon &
+ibus-daemon &
+zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.004 b/experiments/vnc/dot.vnc/xstartup.004
new file mode 100755 (executable)
index 0000000..b4158bb
--- /dev/null
@@ -0,0 +1,106 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# boilerplate that people seem to agree on.
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+#######
+gnome-session --session=gnome &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+#######
+# are these alternatives also?
+#x-session-manager &
+#x-window-manager &
+#######
+
+gnome-terminal-server &
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+gnome-panel &
+
+# no longer exists?
+#gnome-settings-daemon &
+
+# do we need this?
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+gnome-keyring-daemon &
+ibus-daemon &
+zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.005 b/experiments/vnc/dot.vnc/xstartup.005
new file mode 100755 (executable)
index 0000000..1833bb7
--- /dev/null
@@ -0,0 +1,133 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# boilerplate that people seem to mostly agree on.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+#not helping
+#if [ -x /etc/X11/xinit/xinitrc ]; then
+#  exec /etc/X11/xinit/xinitrc
+#fi
+#if [ -f /etc/X11/xinit/xinitrc ]; then
+#  exec sh /etc/X11/xinit/xinitrc
+#fi
+
+#... some new stuff that hopefully will help out.
+
+/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
+/usr/lib/x86_64-linux-gnu/unity/unity-panel-service &
+/usr/lib/unity-settings-daemon/unity-settings-daemon &
+
+for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
+  basename=’basename \${indicator}’ 
+  dirname=’dirname \${indicator}’ 
+  service=\${dirname}/\${basename}/\${basename}-service 
+  \${service} &
+done
+unity
+
+
+# items marked with #H: below were on until recently.
+
+#######
+#H: gnome-session --session=gnome &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+#######
+# are these alternatives also?
+#x-session-manager &
+#x-window-manager &
+#######
+
+#H: gnome-terminal-server &
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+#H: gnome-panel &
+
+# no longer exists?
+#gnome-settings-daemon &
+
+# do we need this?
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+#H: metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+#H: nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+#H: indicator-multiload &
+#H: gnome-keyring-daemon &
+#H: ibus-daemon &
+#H: zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+#H: kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+# maybe needed now though??
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.006 b/experiments/vnc/dot.vnc/xstartup.006
new file mode 100755 (executable)
index 0000000..d8544fc
--- /dev/null
@@ -0,0 +1,136 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# boilerplate that people seem to mostly agree on.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+#not helping
+#if [ -x /etc/X11/xinit/xinitrc ]; then
+#  exec /etc/X11/xinit/xinitrc
+#fi
+#if [ -f /etc/X11/xinit/xinitrc ]; then
+#  exec sh /etc/X11/xinit/xinitrc
+#fi
+
+
+
+# items marked with #H: below were on until recently.
+
+#######
+gnome-session --session=ubuntu &
+#valid values for session that we've seen:
+# ubuntu
+# gnome
+# 2d-gnome (?)
+# unity
+#######
+
+
+#... some new stuff that hopefully will help out.
+#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
+unity-panel-service &
+unity-settings-daemon &
+
+#seeing if indicator multiload does this:
+#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
+#  basename=’basename \${indicator}’ 
+#  dirname=’dirname \${indicator}’ 
+#  service=\${dirname}/\${basename}/\${basename}-service 
+#  \${service} &
+#done
+#unity
+
+
+#######
+# are these alternatives also?
+#x-session-manager &
+#x-window-manager &
+#######
+
+#H: gnome-terminal-server &
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+#H: gnome-panel &
+
+# do we need this?
+#gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+#H: metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+gnome-keyring-daemon &
+#H: ibus-daemon &
+#H: zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+# no longer exists?
+#gnome-settings-daemon &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+# maybe needed now though??
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.007 b/experiments/vnc/dot.vnc/xstartup.007
new file mode 100755 (executable)
index 0000000..c597b49
--- /dev/null
@@ -0,0 +1,130 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.
+
+# references:
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+# items marked with #H: below were on until recently.
+############################
+
+# boilerplate that people seem to mostly agree on.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+#not helping
+#if [ -x /etc/X11/xinit/xinitrc ]; then
+#  exec /etc/X11/xinit/xinitrc
+#fi
+#if [ -f /etc/X11/xinit/xinitrc ]; then
+#  exec sh /etc/X11/xinit/xinitrc
+#fi
+
+#######
+gnome-session --session=ubuntu &
+# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
+#######
+
+#... some new stuff that hopefully will help out.
+#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
+unity-panel-service &
+unity-settings-daemon &
+
+#seeing if indicator multiload does this:
+#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
+#  basename=’basename \${indicator}’ 
+#  dirname=’dirname \${indicator}’ 
+#  service=\${dirname}/\${basename}/\${basename}-service 
+#  \${service} &
+#done
+#unity
+
+
+#######
+# are these alternatives also?
+x-session-manager &
+#x-window-manager &
+#######
+
+# we don't see this running at home, but it sure seems needed on vmbuilder.
+#H: gnome-panel &
+
+# do we need this?
+gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+#H: metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+gnome-keyring-daemon &
+#H: ibus-daemon &
+#H: zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+# no longer exists?
+#gnome-settings-daemon &
+
+#doesn't seem to help.
+#gnome-terminal-server &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+# maybe needed now though??
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.008 b/experiments/vnc/dot.vnc/xstartup.008
new file mode 100755 (executable)
index 0000000..a6d4d26
--- /dev/null
@@ -0,0 +1,140 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.  to install the minimal
+# parts of gnome needed (as far as i know), run this command:
+#   sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal 
+
+# references:
+#   best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+# items marked with #H: below were on until recently.
+############################
+
+# boilerplate that people seem to mostly agree on.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+export XKL_XMODMAP_DISABLE=1
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+# solid leads are building this chunk.
+/usr/bin/gnome-panel &
+/usr/lib/gnome-settings-daemon &
+
+
+
+#######
+gnome-session --session=ubuntu &
+# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
+#######
+
+#... some new stuff that hopefully will help out.
+#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
+#unity-panel-service &
+#unity-settings-daemon &
+
+#seeing if indicator multiload does this:
+#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
+#  basename=’basename \${indicator}’ 
+#  dirname=’dirname \${indicator}’ 
+#  service=\${dirname}/\${basename}/\${basename}-service 
+#  \${service} &
+#done
+#unity
+
+
+#######
+# are these alternatives also?
+x-session-manager &
+#x-window-manager &
+#######
+
+
+# do we need this?
+gnome-shell &
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+#H: metacity &
+#mutter --replace &
+#######
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+indicator-multiload &
+gnome-keyring-daemon &
+#H: ibus-daemon &
+#H: zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# limbo of useless boneheads.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+#doesn't seem to help.
+#gnome-terminal-server &
+
+#not helping
+#if [ -x /etc/X11/xinit/xinitrc ]; then
+#  exec /etc/X11/xinit/xinitrc
+#fi
+#if [ -f /etc/X11/xinit/xinitrc ]; then
+#  exec sh /etc/X11/xinit/xinitrc
+#fi
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+#trying something wacky; minimalist as heck...
+#and it doesn't work at all.  of course.
+#startx&
+#exit 0
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+# maybe needed now though??
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.009 b/experiments/vnc/dot.vnc/xstartup.009
new file mode 100755 (executable)
index 0000000..1eb6fd4
--- /dev/null
@@ -0,0 +1,144 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.  to install the minimal
+# parts of gnome needed (as far as i know), run this command:
+#   sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal kwalletmanager
+
+# references:
+#   best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# boilerplate that people seem to mostly agree on.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+export XKL_XMODMAP_DISABLE=1
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid darkgreen
+vncconfig -iconic &
+
+############################
+
+# the chaos zone.  all of these are still being tested.
+
+# solid leads are building this chunk.
+/usr/bin/gnome-panel &
+/usr/lib/gnome-settings-daemon &
+/usr/bin/metacity &
+/usr/bin/nautilus &
+/usr/bin/gnome-terminal &
+
+# password tools from kde.
+kwalletd &
+
+
+#######
+#gnome-session --session=ubuntu &
+# valid values for session that we've seen: ubuntu, gnome, unity, 2d-gnome (?)
+#######
+
+#... some new stuff that hopefully will help out.
+#/usr/lib/gnome-session/gnome-session-binary –session=ubuntu &
+#unity-panel-service &
+#unity-settings-daemon &
+
+#seeing if indicator multiload does this:
+#for indicator in /usr/lib/x86_64-linux-gnu/indicator-*; do
+#  basename=’basename \${indicator}’ 
+#  dirname=’dirname \${indicator}’ 
+#  service=\${dirname}/\${basename}/\${basename}-service 
+#  \${service} &
+#done
+#unity
+
+
+#######
+# are these alternatives also?
+#x-session-manager &
+#x-window-manager &
+#######
+
+
+# do we need this?
+#gnome-shell &
+
+
+# this just brings up an initial file exploring window, although at one point i needed to
+# have nautilus running to see icons on the desktop.
+####right now there are no visible icons on the desktop, so is it failing?
+#nautilus &
+
+############################
+
+# experimental additions since still getting lots of weird isssues:
+#indicator-multiload &
+#gnome-keyring-daemon &
+#H: ibus-daemon &
+#H: zeitgeist-daemon &
+
+############################
+
+# these processes are just nice to have started already.
+#
+# you know you were going to want them.
+
+# password tools from kde.
+#kwalletd &
+
+############################
+
+# limbo of useless boneheads and configs in training.
+#
+# these things just don't seem to work.
+
+# this never ever shows up.
+#x-terminal-emulator -geometry 100x32 -ls -title "$VNCDESKTOP Desktop" &
+
+#doesn't seem to help.
+#gnome-terminal-server &
+
+#not helping
+#if [ -x /etc/X11/xinit/xinitrc ]; then
+#  exec /etc/X11/xinit/xinitrc
+#fi
+#if [ -f /etc/X11/xinit/xinitrc ]; then
+#  exec sh /etc/X11/xinit/xinitrc
+#fi
+
+#######
+# one or the other of the window managers here.
+#hmmm: but mutter doesn't work at all.
+#H: metacity &
+#mutter --replace &
+#######
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+#
+# adding these in just makes things go splatfooey.
+
+#trying something wacky; minimalist as heck...
+#and it doesn't work at all.  of course.
+#startx&
+#exit 0
+
+# compiz causes xterm to no longer be a distinct window, which is how things were
+# originally before i started fixing them.
+#compiz &
+# maybe needed now though??
+
+############################
+
diff --git a/experiments/vnc/dot.vnc/xstartup.010 b/experiments/vnc/dot.vnc/xstartup.010
new file mode 100755 (executable)
index 0000000..6330427
--- /dev/null
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.  to install the minimal
+# parts of gnome needed (as far as i know), run this command:
+#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
+
+# references:
+#
+#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
+#
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# reset some variables that could be a problem.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+export XKL_XMODMAP_DISABLE=1
+
+############################
+
+# load some extra configuration files if they exist.
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+############################
+
+# set background to solid color; avoids using bandwidth to transfer pictures.
+xsetroot -solid darkgreen
+#this does what again?
+vncconfig -iconic &
+
+############################
+
+# solid leads (from the best article above) got us this working
+# and pretty minimal set of apps to run.
+
+/usr/bin/gnome-panel &
+/usr/lib/gnome-settings-daemon &
+/usr/bin/metacity &
+/usr/bin/nautilus &
+/usr/bin/gnome-terminal &
+
+############################
+
+# password tools from kde.
+kwalletd &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+
+# all content has been deleted from the config dungeon.  the damaged configs
+# have been set free to roam in their natural environment of the internet.
+
diff --git a/experiments/vnc/dot.vnc/xstartup.011 b/experiments/vnc/dot.vnc/xstartup.011
new file mode 100755 (executable)
index 0000000..8dc54aa
--- /dev/null
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# this script depends on the gnome desktop.  to install the minimal
+# parts of gnome needed (as far as i know), run this command:
+#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
+
+# references:
+#
+#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
+#
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# reset some variables that could be a problem.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+export XKL_XMODMAP_DISABLE=1
+
+############################
+
+# load some extra configuration files if they exist.
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+############################
+
+# set background to solid color; avoids using bandwidth to transfer pictures.
+xsetroot -solid darkgreen
+#this does what again?
+vncconfig -iconic &
+
+############################
+
+# solid leads (from the best article above) got us this working
+# and pretty minimal set of apps to run.
+
+/usr/bin/gnome-panel &
+/usr/lib/gnome-settings-daemon &
+/usr/bin/metacity &
+/usr/bin/nautilus &
+/usr/bin/gnome-terminal &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+
+# all content has been deleted from the config dungeon.  the damaged configs
+# have been set free to roam in their natural environment of the internet.
+
diff --git a/experiments/vnc/dot.vnc/xstartup.012 b/experiments/vnc/dot.vnc/xstartup.012
new file mode 100755 (executable)
index 0000000..7e5fc79
--- /dev/null
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+# set up gnome desktop environment for remote access via vnc.
+
+# NOTE: it is important to be running the vncserver as a user who is NOT
+#        already running x windowing system.  otherwise, weird and possibly
+#        bad things can happen, e.g. your apps show up on display zero
+#        rather than on the vnc desktop.
+
+# this script depends on the gnome desktop.  to install the minimal
+# parts of gnome needed (as far as i know), run this command:
+#
+#   sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus
+
+# references:
+#
+#   best leads: https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
+#
+#   https://www.digitalocean.com/community/tutorials/how-to-setup-vnc-for-ubuntu-12
+#   https://www.digitalocean.com/community/questions/how-to-install-ubuntu-desktop-and-vnc
+#   https://ubuntuforums.org/showthread.php?t=1903220
+#   https://askubuntu.com/questions/800302/vncserver-grey-screen-ubuntu-16-04-lts
+
+############################
+
+# reset some variables that could be a problem.
+
+unset SESSION_MANAGER
+unset DBUS_SESSION_BUS_ADDRESS
+export XKL_XMODMAP_DISABLE=1
+
+############################
+
+# load some extra configuration files if they exist.
+
+[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+
+############################
+
+# set background to solid color; avoids using bandwidth to transfer pictures.
+xsetroot -solid darkgreen
+#this does what again?
+vncconfig -iconic &
+
+############################
+
+# solid leads from the "best" article above gave us the workable, minimal set
+# of x window apps below.
+/usr/bin/gnome-panel &
+/usr/lib/gnome-settings-daemon &
+/usr/bin/metacity &
+/usr/bin/nautilus &
+/usr/bin/gnome-terminal &
+
+############################
+
+# ------------------------------
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# dungeon of pain and suffering.
+# "&@}*(@^!$)_-{%:</~`|#=;" !!!!
+# ------------------------------
+
+# all content has been deleted from the config dungeon.  the damaged configs
+# have been set free to roam in their natural environment of the internet.
+
diff --git a/experiments/vnc/init.d/vncserver.001 b/experiments/vnc/init.d/vncserver.001
new file mode 100755 (executable)
index 0000000..2b6e6dd
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+PATH="$PATH:/usr/bin/"
+export USER="fred"
+DISPLAY="1"
+DEPTH="16"
+GEOMETRY="1024x768"
+OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
+. /lib/lsb/init-functions
+
+case "$1" in
+start)
+log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
+;;
+
+stop)
+log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
+;;
+
+restart)
+$0 stop
+$0 start
+;;
+esac
+exit 0
+
diff --git a/experiments/vnc/init.d/vncserver.002 b/experiments/vnc/init.d/vncserver.002
new file mode 100755 (executable)
index 0000000..73bdec0
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+PATH="$PATH:/usr/bin/"
+export USER="fred"
+DISPLAY="1"
+DEPTH="16"
+GEOMETRY="1200x800"
+OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
+. /lib/lsb/init-functions
+
+case "$1" in
+start)
+log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
+;;
+
+stop)
+log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
+;;
+
+restart)
+$0 stop
+$0 start
+;;
+esac
+exit 0
+
diff --git a/experiments/vnc/init.d/vncserver.003 b/experiments/vnc/init.d/vncserver.003
new file mode 100755 (executable)
index 0000000..73bdec0
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+PATH="$PATH:/usr/bin/"
+export USER="fred"
+DISPLAY="1"
+DEPTH="16"
+GEOMETRY="1200x800"
+OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
+. /lib/lsb/init-functions
+
+case "$1" in
+start)
+log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
+;;
+
+stop)
+log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
+;;
+
+restart)
+$0 stop
+$0 start
+;;
+esac
+exit 0
+
diff --git a/experiments/vnc/init.d/vncserver.004 b/experiments/vnc/init.d/vncserver.004
new file mode 100755 (executable)
index 0000000..9e95549
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash
+PATH="$PATH:/usr/bin/"
+export USER="fred"
+DISPLAY="1"
+DEPTH="16"
+GEOMETRY="1200x800"
+XAUTHORITY="/home/$USER/.Xauthority.vnc"
+OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
+. /lib/lsb/init-functions
+
+case "$1" in
+start)
+log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
+;;
+
+stop)
+log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
+;;
+
+restart)
+$0 stop
+$0 start
+;;
+esac
+exit 0
+
diff --git a/experiments/vnc/init.d/vncserver.005 b/experiments/vnc/init.d/vncserver.005
new file mode 100755 (executable)
index 0000000..5cf5e2b
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/bash
+PATH="$PATH:/usr/bin/"
+export USER="fredhuff"
+# fredhuff is a different user than my normal user who is logged in on
+# desktop zero.  this is important for display isolation.
+DISPLAY="1"
+DEPTH="16"
+GEOMETRY="1200x800"
+XAUTHORITY="/home/$USER/.Xauthority.vnc"
+OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
+. /lib/lsb/init-functions
+
+case "$1" in
+start)
+log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
+;;
+
+stop)
+log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
+su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
+;;
+
+restart)
+$0 stop
+$0 start
+;;
+esac
+exit 0
+