install: apt install tightvncserver xtightvncviewer
edit xstartup
file located on $HOME/.vnc/xstartup
#!/bin/sh
def
export XKLXMODMAPDISABLE=1
unset SESSIONMANAGER
unset DBUSSESSIONBUSADDRESS
gnome-panel &
gnome-terminal &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
run vncserver with this command:
vncserver -localhost no -wmDecoration 1366x768
sometimes -localhost no
is not necessery
thank you