Ubuntu 安裝遠端桌面VINO (VNC)
在Linux用遠端桌面很直覺得就是要用VNC,但目前非常多VNC server,裝了一輪下來遇到的坑還真多最後終於找到最無腦簡單的Vino VNC,以下是在Ubuntu 20.04環境安裝步驟。先安裝sshsudo apt-get install openssh-server
步驟一:在Ubuntu安裝Vino VNC
$ sudo apt install vino
步驟二:設定螢幕分享
登入到Ubuntu桌面後,點選設定的Screen Sharing,如下圖
ubuntu 20.04需關閉加密的連線(需在本機輸入),ubuntu 22.04則不用
gsettings set org.gnome.Vino require-encryption false
ubuntu 20.04需打開防火牆,ubuntu 22.04則不用
sudo ufw allow 5900
預設連接埠號碼為5900
用VNC連線即可
用Netstat查看Vino服務的Port有沒有起來
$ netstat -tlnp | grep vino
開機要預設打開VIONO設置預設登入使用者就可以了
參考文章
https://cspenpen.blogspot.com/2022/01/ubuntu-vnc.html
https://askubuntu.com/questions/12206/how-do-i-start-the-vnc-server
http://www.tshopping.com.tw/thread-264284-1-1.html
頁:
[1]