seems to be working well now, in version 10.
--- /dev/null
+#!/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??
+
+############################
+
--- /dev/null
+#!/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??
+
+############################
+
--- /dev/null
+#!/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.
+