无法通过运行 x11vnc 的 VNC 连接到计算机

无法通过运行 x11vnc 的 VNC 连接到计算机

我有一台台式电脑和一台笔记本电脑,都运行 Ubuntu 14.04。台式电脑上安装了 x11vnc,笔记本电脑上安装了 Remmina。我的台式电脑上还运行着 SSH。

我想使用 Remmina 通过 VNC 连接到我的台式电脑。我曾经将命令x11vnc -usepw -forever设置为在启动时运行,但我禁用了它。现在我想再次将其设置为在启动时运行。但问题是:当我使用 SSH 运行时x11vnc -usepw -forever,我在运行 x11vnc(我想要连接的计算机)的计算机上收到一个有趣的错误。错误如下。PS 我的笔记本电脑的 IP 地址是 10.0.0.7。

14/07/2014 13:21:08 Got connection from client 10.0.0.7
14/07/2014 13:21:08   other clients:
14/07/2014 13:21:08 Normal socket connection
14/07/2014 13:21:08 Disabled X server key autorepeat.
14/07/2014 13:21:08   to force back on run: 'xset r on' (3 times)
14/07/2014 13:21:08 incr accepted_client=1 for 10.0.0.7:36678  sock=11
14/07/2014 13:21:08 Client Protocol Version 3.8
14/07/2014 13:21:08 Protocol version sent 3.8, using 3.8
14/07/2014 13:21:08 rfbProcessClientSecurityType: executing handler for type 2
14/07/2014 13:21:08 authProcessClientMessage: authentication failed from 10.0.0.7
14/07/2014 13:21:08 rfbAuthProcessClientMessage: password check failed
14/07/2014 13:21:08 rfbClientSendString("password check failed!")
14/07/2014 13:21:08 client_count: 0
14/07/2014 13:21:08 Restored X server key autorepeat to: 1
14/07/2014 13:21:08 Client 10.0.0.7 gone
14/07/2014 13:21:08 Statistics             events    Transmit/ RawEquiv ( saved)
14/07/2014 13:21:08  TOTALS              :      0 |         0/        0 (  0.0%)
14/07/2014 13:21:08 Statistics             events    Received/ RawEquiv ( saved)
14/07/2014 13:21:08  TOTALS              :      0 |         0/        0 (  0.0%)
14/07/2014 13:21:10 Got connection from client 10.0.0.7
14/07/2014 13:21:10   other clients:
14/07/2014 13:21:10 Normal socket connection
14/07/2014 13:21:10 Disabled X server key autorepeat.
14/07/2014 13:21:10   to force back on run: 'xset r on' (3 times)
14/07/2014 13:21:10 incr accepted_client=2 for 10.0.0.7:36679  sock=11
14/07/2014 13:21:10 Client Protocol Version 3.8
14/07/2014 13:21:10 Protocol version sent 3.8, using 3.8
14/07/2014 13:21:10 rfbProcessClientSecurityType: executing handler for type 2
14/07/2014 13:21:11 created   xdamage object: 0x1e00024
14/07/2014 13:21:16 client useCopyRect: 10.0.0.7 0
14/07/2014 13:21:16 client_set_net: 10.0.0.7  0.0243
14/07/2014 13:21:16 Pixel format for client 10.0.0.7:
14/07/2014 13:21:16   8 bpp, depth 8
14/07/2014 13:21:16   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
14/07/2014 13:21:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type ultraZip
14/07/2014 13:21:16 Using compression level 9 for client 10.0.0.7
14/07/2014 13:21:16 Using image quality level 0 for client 10.0.0.7
14/07/2014 13:21:16 Using JPEG subsampling 1, Q15 for client 10.0.0.7
14/07/2014 13:21:16 Enabling X-style cursor updates for client 10.0.0.7
14/07/2014 13:21:16 Enabling full-color cursor updates for client 10.0.0.7
14/07/2014 13:21:16 Enabling cursor position updates for client 10.0.0.7
14/07/2014 13:21:16 Enabling KeyboardLedState protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Enabling NewFBSize protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Enabling LastRect protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Enabling SupportedMessages protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Enabling SupportedEncodings protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Enabling ServerIdentity protocol extension for client 10.0.0.7
14/07/2014 13:21:16 Using tight encoding for client 10.0.0.7
14/07/2014 13:21:16 rfbProcessClientNormalMessage: read: Connection reset by peer
14/07/2014 13:21:16 client_count: 0
14/07/2014 13:21:16 Restored X server key autorepeat to: 1
14/07/2014 13:21:16 Client 10.0.0.7 gone

答案1

在常见问题解答中http://www.karlrunge.com/x11vnc/faq.html#faq它指出,vnc 客户端必须具有与 x11vnc 相同的颜色深度

这对我很有帮助。

相关内容