There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver
and the content of ~/.vnc/xstartup
according to this topic is
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture
Any idea?