インストール
apt install xfce4 xfce4-goodies
apt install tightvncserver
apt install dbus-x11
パスワード設定
vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used
root接続許可設定
vi /etc/gdm3/custom.conf
[security]
AllowRoot=true
AllowRemoteRoot=true
[xdmcp]
Enable=true
起動
tigervncserver -xstartup /usr/bin/gnome-session -geometry 1024x768 -localhost no :2
起動確認
vncserver -list
停止
vncserver -kill :*
WindowsPCからの接続は
TigerVNC Viewerがお勧めです
https://github.com/TigerVNC/tigervnc/releases
vncviewer64-x.xx.x.exe をダウンロード