如何设置多个同时访问 x11vnc 会话

miv*_*n33 4 vnc xorg

我已经在一台计算机上设置了一个 x11vnc 服务器,我可以通过远程桌面客户端毫无问题地访问它。但我只能一次访问一个(即在我的笔记本电脑上,但不能同时在我的笔记本电脑和平板电脑上访问)。

当我为此启动 vncserver 时,是否需要通过一个开关,或者这只是我错过的 x11vnc 的限制?

ste*_*ver 11

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
Run Code Online (Sandbox Code Playgroud)

所以你可能想要 -shared -forever