我已经安装了以下包:
ii tigervnc-common 1.10.1+dfsg-1 amd64 Virtual network computing; Common software needed >
ii tigervnc-standalone-server 1.10.1+dfsg-1 amd64 Standalone virtual network computing server
ii tigervnc-viewer 1.10.1+dfsg-1 amd64 Virtual network computing client for X
ii tigervnc-xorg-extension 1.10.1+dfsg-1 amd64 Virtual network computing X server extension
Run Code Online (Sandbox Code Playgroud)
我已经运行了 vncserver 并配置了密码并且没有添加额外的配置。
(这是一个已经工作的 VNC 会话)没有 sudo 的命令:
root@kali:~# vncserver -localhost
New 'kali.'"'':2 (root)' desktop at :2 on machine kali.'"''
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/kali.'"'':2.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :2 to connect to …Run Code Online (Sandbox Code Playgroud)