Follow these steps:
- Install gnome-session-flashback:
sudo apt install gnome-session-flashback
- Add this to ~/.vnc/xstartup:
#!/bin/sh
autocutsel -fork
xrdb $HOME/.Xresources
xsetroot -solid grey
export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
export XDG_MENU_PREFIX="gnome-flashback-"
unset DBUS_SESSION_BUS_ADDRESS
gnome-session --session=gnome-flashback-metacity --disable-acceleration-check --debug &
标签:XDG,VNC,gnome,--,配置,session,export,flashback
From: https://www.cnblogs.com/wei-huan/p/16865233.html