要在Debian系統中啟動TightVNC服務器,請按照以下步驟操作:
sudo apt update
sudo apt install tightvncserver
sudo systemctl start vncserver-x11-serviced.service
sudo systemctl enable vncserver-x11-serviced.service
your_password
替換為您選擇的密碼):vncpasswd
your_ip_address
替換為您的Debian系統的IP地址):your_ip_address:1
注意:如果您希望在后臺運行VNC服務器,可以使用以下命令:
vncserver-start -geometry 1280x800 :1
這將在1280x800分辨率下啟動VNC服務器,并在:1
端口上監聽連接。您可以根據需要調整分辨率。