Ubuntu 默认配备 vino-server,我可以远程进入我的机器并连接到它,但是,远程客户端内部的显示是我自己桌面的镜像。
我尝试使用一台显示器,认为这就是问题所在,但仍然不起作用。
(vino-server:3608): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion `global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
25/07/2012 12:23:58 PM Autoprobing TCP port in (all) network interface
25/07/2012 12:23:58 PM Listening IPv6://[::]:5900
25/07/2012 12:23:58 PM Listening IPv4://0.0.0.0:5900
25/07/2012 12:23:58 PM Autoprobing selected port 5900
25/07/2012 12:23:58 PM Advertising security type: 'TLS' (18)
25/07/2012 12:23:58 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
25/07/2012 12:23:58 PM Listening IPv6://[::]:5900
25/07/2012 12:23:58 PM Listening IPv4://0.0.0.0:5900
25/07/2012 12:23:58 PM Clearing securityTypes
25/07/2012 12:23:58 PM Advertising security type: 'TLS' (18)
25/07/2012 12:23:58 PM Clearing securityTypes
25/07/2012 12:23:58 PM Advertising security type: 'TLS' (18)
25/07/2012 12:23:58 PM Advertising authentication type: 'No Authentication' (1)
25/07/2012 12:23:58 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
25/07/2012 12:23:58 PM Listening IPv6://[::]:5900
25/07/2012 12:23:58 PM Listening IPv4://0.0.0.0:5900
25/07/2012 12:23:58 PM Clearing securityTypes
25/07/2012 12:23:58 PM Clearing authTypes
25/07/2012 12:23:58 PM Advertising security type: 'TLS' (18)
25/07/2012 12:23:58 PM Advertising authentication type: 'VNC Authentication' (2)
25/07/2012 12:23:58 PM Clearing securityTypes
25/07/2012 12:23:58 PM Clearing authTypes
25/07/2012 12:23:58 PM Advertising security type: 'TLS' (18)
25/07/2012 12:23:58 PM Advertising authentication type: 'VNC Authentication' (2)
25/07/2012 12:23:58 PM Advertising security type: 'VNC Authentication' (2)
(vino-server:3608): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(vino-server:3608): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
25/07/2012 12:24:16 PM [IPv4] Got connection from client static-XXXX.bltmmd.fios.verizon.net
25/07/2012 12:24:16 PM other clients:
25/07/2012 12:24:29 PM Client Protocol Version 3.7
25/07/2012 12:24:29 PM Advertising security type 18
25/07/2012 12:24:29 PM Advertising security type 2
25/07/2012 12:24:30 PM Client returned security type 18
25/07/2012 12:24:30 PM Advertising authentication type 2
25/07/2012 12:24:30 PM Client returned authentication type 2
25/07/2012 12:24:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -258
25/07/2012 12:24:37 PM Enabling NewFBSize protocol extension for client static-XXXX.bltmmd.fios.verizon.net
25/07/2012 12:24:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type 1464686185
25/07/2012 12:24:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -259
25/07/2012 12:24:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -257
(vino-server:3608): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
25/07/2012 12:24:55 PM Client static-XXXX.bltmmd.fios.verizon.net gone
25/07/2012 12:24:55 PM Statistics:
25/07/2012 12:24:55 PM key events received 0, pointer events 80
25/07/2012 12:24:55 PM framebuffer updates 43, rectangles 152, bytes 292401
25/07/2012 12:24:55 PM tight rectangles 152, bytes 292401
25/07/2012 12:24:55 PM raw bytes equivalent 11621332, compression ratio 39.744502
25/07/2012 12:25:21 PM [IPv4] Got connection from client static-XXXX.bltmmd.fios.verizon.net
25/07/2012 12:25:21 PM other clients:
25/07/2012 12:25:28 PM Client Protocol Version 3.7
25/07/2012 12:25:28 PM Advertising security type 18
25/07/2012 12:25:28 PM Advertising security type 2
25/07/2012 12:25:28 PM Client returned security type 18
25/07/2012 12:25:29 PM Advertising authentication type 2
25/07/2012 12:25:29 PM Client returned authentication type 2
25/07/2012 12:25:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -258
25/07/2012 12:25:37 PM Enabling NewFBSize protocol extension for client static-XXXX.bltmmd.fios.verizon.net
25/07/2012 12:25:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type 1464686185
25/07/2012 12:25:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -259
25/07/2012 12:25:37 PM rfbProcessClientNormalMessage: ignoring unknown encoding type -257
(vino-server:3608): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
25/07/2012 12:25:47 PM Client static-XXXX.bltmmd.fios.verizon.net gone
25/07/2012 12:25:47 PM Statistics:
25/07/2012 12:25:47 PM key events received 0, pointer events 7283
25/07/2012 12:25:47 PM framebuffer updates 27, rectangles 82, bytes 113354
25/07/2012 12:25:47 PM tight rectangles 82, bytes 113354
25/07/2012 12:25:47 PM raw bytes equivalent 5831432, compression ratio 51.444431
我注意到几件事,以下错误反复出现。菜单错误似乎是由 ubuntu 引起的,类似的问题也发生了http://trac.wxwidgets.org/ticket/14292,
(vino-server:3608): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
第二个问题似乎也是与显示相关的问题,似乎无法找到解决方案。我真的宁愿尝试修复此问题,也不愿使用大多数人建议的其他 vnc 客户端。
(vino-server:3608): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion `global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
答案1
以下是我的问题的解决方案。首先,我忘了说我在 SSH 中运行了所有这些命令。我已经设置了服务器,当我到学校时,我试图通过 SHH 运行服务器,这就是导致问题的原因。
在我的节点本身上运行相同的命令,没有出现任何问题。