首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法通过运行x11vnc的VNC连接到计算机

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

Ask Ubuntu用户
提问于 2014-07-14 17:34:35
回答 1查看 5.6K关注 0票数 1

我有一台台式机和一台笔记本电脑,都运行Ubuntu14.04。台式机上安装了x11vnc,我的笔记本电脑安装了Remmina。我的桌面上也有SSH在运行。

我想使用Remmina通过VNC连接到我的桌面计算机。我过去常常将命令x11vnc -usepw -forever设置为在启动时运行,但我禁用了它。现在我想把它设置为在启动时再次运行。但问题是:当我使用SSH运行x11vnc -usepw -forever时,在运行x11vnc的计算机(我想要连接的东西)上会出现一个有趣的错误。错误在下面。我笔记本电脑的IP地址是10.0.0.7。

代码语言:javascript
复制
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
EN

回答 1

Ask Ubuntu用户

发布于 2020-10-16 10:11:26

在faq http://www.karlrunge.com/x11vnc/faq.html#faq中,它声明vnc客户端必须具有与x11vnc相同的颜色深度。

这对我有帮助。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/497715

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档