
我想在兩台運行 Ubuntu 14.04 LTS 的電腦之間使用 Remmina 執行 VNC 遠端桌面會話。當使用者已經在遠端電腦上登入 Unity 時,我可以執行此遠端會話。但是,如果電腦剛剛啟動並且 Unity 登入畫面可見(即使用者尚未登入),我將無法啟動遠端桌面工作階段。這迫使我親自前往遠端電腦並登錄,以便可以啟動遠端桌面會話。
解決方案是將遠端電腦上的使用者配置為自動登入 Ubuntu,但我想避免這種情況,因為它不是安全配置。
即使沒有使用者登入遠端計算機,有關 Remmina 如何啟動 VNC 遠端會話的任何想法嗎?
答案1
雷米娜是觀眾; Vino 可能是您正在使用的伺服器,除了其他缺點之外,它無法在使用者會話之外運行。
X11VNC 就是你想要的。我發現性能也比Vino好很多;多年來,每次我嘗試 Vino 時,我總是最終安裝 X11VNC。
需要進行一些配置才能使其正常工作,但以下是我上次安裝 X11VNC 時所做的一些概要說明:
Vino performance still stinks; installed X11VNC
$ x11vnc -storepasswd
/etc/init/x11vnc.conf:
start on login-session-start
script
x11vnc -display :0 -auth /var/run/lightdm/root/:0 -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/charles/.vnc/passwd -rfbport 5900 -http -users charles -nowireframe
end script
Reboot and it's good to go. Indestructible! Even survives desktop reconfig due to monitor unplugs, etc.
(added -nowireframe later because the lack of visible icon when dragging files was annoying. Take off if it bogs id down on slow connections.)