VNC unter Ubuntu 16.04.4 LTS zeigt keine Menüleiste an

VNC unter Ubuntu 16.04.4 LTS zeigt keine Menüleiste an

Ich möchte eine VNC-Verbindung zu einem PC mit Ubuntu konfigurieren. Ich verwende vnc4server und das folgende Skript ~/.vnc/xstartup. Allerdings wird die Menüleiste nicht angezeigt und das Öffnen eines Terminals ist nicht möglich. Wie kann ich das beheben?

#!/bin/sh
unset SESSION_MANAGER
#/etc/X11/Xsession
export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
export XDG_MENU_PREFIX="gnome-flashback-"
xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
# Fix to make GNOME work
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
gnome-flashback &

Bildschirmfoto

verwandte Informationen