VNC配置


Follow these steps:

  1. Install gnome-session-flashback:
sudo apt install gnome-session-flashback
  1. 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 &

3、tigervnc安装

sudo apt install tigervnc-standalone-server

4、启动

tigervncserver -localhost no -geometry 1600x900 -depth 32 -xstartup .vnc/xstartup
posted @ 2022-11-07 10:50  诗酒  阅读(70)  评论(0编辑  收藏  举报