
我在電腦上設定了 x11vnc 伺服器,並且可以透過遠端桌面用戶端毫無問題地存取它。但我只能一次訪問一個(即在我的筆記型電腦上,但不能同時在我的筆記型電腦和平板電腦上訪問)。
當我為此啟動 vncserver 時是否需要通過一個開關,或者這只是我錯過的 x11vnc 的限制?
答案1
從man x11vnc
-shared
VNC display is shared, i.e. more than one viewer can connect at
the same time (default off).
-once
Exit after the first successfully connected viewer disconnects,
opposite of -forever. This is the Default.
-forever
Keep listening for more connections rather than exiting as soon
as the first client(s) disconnect. Same as -many
所以你可能想要-shared -forever