TightVNC中带有十字光标的灰色屏幕

时间:2016-08-17 21:57:40

标签: vnc-server tightvnc

我正在尝试从Windows 10 VNC到Ununtu 16.04。我得到一个带有十字光标的纹理灰色屏幕。enter image description here

以下是我的日志文件:

Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Wed Aug 17 14:42:46 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5902
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!

Wed Aug 17 14:43:07 2016
 Connections: accepted: 0.0.0.0::64580
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Wed Aug 17 14:43:10 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian bgr888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

我的xtartup文件如下:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

我已经彻底搜索了互联网,并尝试了很多建议,但我找不到任何东西。如果我评论xstartup文件中的最后两行,我会得到一个更平滑的灰色版本,左上角有3个复选框。我正在寻找的是一个GUI,就像我直接使用该机器一样。

编辑: 我检查过;已安装/etc/X11/xinit/xinitrc。以下是系统上的x11 *软件包列表:

root@sonu-virtual-machine:/etc/X11/xinit# dpkg -l | grep x11*
ii  dbus-x11                              1.10.6-1ubuntu3                                             amd64        simple interprocess messaging system (X11 deps)
ii  libselinux1:amd64                     2.4-3build2                                                 amd64        SELinux runtime shared libraries
ii  libspeex1:amd64                       1.2~rc1.2-1ubuntu1                                          amd64        The Speex codec runtime library
ii  libwebpmux1:amd64                     0.4.4-1                                                     amd64        Lossy compression of digital photographic images.
ii  libx11-6:amd64                        2:1.6.3-1ubuntu2                                            amd64        X11 client-side library
ii  libx11-data                           2:1.6.3-1ubuntu2                                            all          X11 client-side library
ii  libx11-protocol-perl                  0.56-7                                                      all          Perl module for the X Window System Protocol, version 11
ii  libx11-xcb1:amd64                     2:1.6.3-1ubuntu2                                            amd64        Xlib/XCB interface library
ii  libxkbcommon-x11-0:amd64              0.5.0-1ubuntu2                                              amd64        library to create keymaps with the XKB X11 protocol
ii  pulseaudio-module-x11                 1:8.0-0ubuntu3                                              amd64        X11 module for PulseAudio sound server
ii  signon-ui-x11                         0.17+16.04.20151125-0ubuntu1                                amd64        Single Sign-on UI
ii  x11-apps                              7.7+5+nmu1ubuntu1                                           amd64        X applications
ii  x11-common                            1:7.7+13ubuntu3                                             all          X Window System (X.Org) infrastructure
ii  x11-session-utils                     7.7+2                                                       amd64        X session utilities
ii  x11-utils                             7.7+3                                                       amd64        X11 utilities
ii  x11-xkb-utils                         7.7+2                                                       amd64        X11 XKB utilities
ii  x11-xserver-utils                     7.7+7                                                       amd64        X server utilities

编辑2: 我检查了 - 文件/etc/X11/xserver/SecurityPolicy不存在。我在线搜索。似乎很多其他人都有这个问题,但没有解决方案。

0 个答案:

没有答案