I've done the following but all I get in VNC Viewer is a blank orange screen, any help appreciated.


apt-get -y install ubuntu-desktop tightvncserver
adduser vnc
passwd vnc
echo "vnc ALL=(ALL)       ALL" >> /etc/sudoers
su - vnc
vncpasswd
exit
cd ~
nano .vnc/xstartup


#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
. /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] &amp;&amp; exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] &amp;&amp; xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &amp;
x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &amp;

#x-window-manager &

save

THEN nano /etc/init.d/vncserver 

THEN paste in the following, then save:

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          vncserver
# Required-Start:    networking
# Default-Start:     3 4 5
# Default-Stop:      0 6
### END INIT INFO

PATH="$PATH:/usr/bin/"

# The Username:Group that will run VNC
export USER="vnc"
#${RUNAS}

# The display that VNC will use
DISPLAY="1"

# Color depth (between 8 and 32)
DEPTH="16"

# The Desktop geometry to use.
#GEOMETRY="x"
#GEOMETRY="800x600"
GEOMETRY="1024x768"
#GEOMETRY="1280x1024"

# The name that the VNC Desktop will have.
NAME="my-vnc-server"

OPTIONS="-name ${NAME} -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 "Stopping vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
;;

restart)
$0 stop
$0 start
;;
esac

exit 0


Then ctrl-x to save, Y for Yes, and enter to accept file name.

THEN

chown -R vnc. /home/vnc/.vnc &amp;&amp; chmod +x /home/vnc/.vnc/xstartup
sed -i 's/allowed_users.*/allowed_users=anybody/g' /etc/X11/Xwrapper.config

THEN

chmod +x /etc/init.d/vncserver &amp;&amp; service vncserver start

THEN

update-rc.d vncserver defaults

THEN

reboot.

FINALLY: go in there with tightvnc viewer client, and voila, blank kool aid tangerine orange screen.

any help appreciated, of course it's been 3 x 8 hour evenings so far :}


Question: Command key in MacVim
Answer: The command key on OS X is known as the Super key in Vim, so you can do the following:

map &lt;D-t&gt; :CtrlP&lt;CR&gt;
map &lt;D-n&gt; :NERDtree&lt;CR&gt;


You can read more about the different key mappings in :help key-notation. You can't use the command key as a leader because it doesn't lead off a command, but is instead a modifier.