Debian虎纹VNC(TigerVNC)连接方法如下:
更新系统并安装服务端:
sudo apt update  
sudo apt install tigervnc-standalone-server tigervnc-common  
vncpasswd  
按提示输入并确认密码(用于客户端认证)。:1对应端口5901):vncserver :1 -geometry 1920x1080 -localhost no  # 可选:设置分辨率、允许远程访问  
/etc/systemd/system/vncserver@:1.service),添加以下内容并启用:[Unit]  
Description=TigerVNC Server  
After=network.target  
[Service]  
Type=forking  
User=your_username  
ExecStart=/usr/bin/vncserver :1  
ExecStop=/usr/bin/vncserver -kill :1  
[Install]  
WantedBy=multi-user.target  
执行:sudo systemctl daemon-reload  
sudo systemctl enable vncserver@:1.service  
sudo systemctl start vncserver@:1.service  
开放VNC端口(默认5901):
sudo ufw allow 5901/tcp  
sudo ufw reload  
在另一台设备安装VNC客户端(如RealVNC Viewer、TigerVNC Viewer),输入:
192.168.1.100:1)ssh -L 5901:localhost:5901 user@debian-server-ip  
然后客户端连接localhost:1。以上步骤参考自。