按照官方linux操作指南提供的方法配置后仍然无法打开图形界面,只有命令行,如下图:
查看 /root/.vnc/iZ94vn54gpgZ:2.log 如下:
root@iZ94vn54gpgZ:~/.vnc# cat iZ94vn54gpgZ\:2.log
Xvnc Free Edition 4.1.1 - built Nov 18 2014 16:07:15
Copyright (C) 2002-2005 RealVNC Ltd.
Underlying X server release 40300000, The XFree86 Project, Inc
Fri Mar 6 10:47:20 2015
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/Speedo/, 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!
/root/.vnc/xstartup: 13: /root/.vnc/xstartup: ubuntu-desktop: not found
Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a
profile with the desired setting, and use the new '--profile' option
(gnome-terminal:29388): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key
'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with
a future version of glib.
Fri Mar 6 10:47:41 2015
Connections: accepted: 0.0.0.0::51808
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Fri Mar 6 10:47:44 2015
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 8 (8bpp) colour-map
Fri Mar 6 10:47:53 2015
Connections: closed: 0.0.0.0::51808 (Clean disconnection)
SMsgWriter: framebuffer updates 28
SMsgWriter: raw rects 1, bytes 16396
SMsgWriter: copyRect rects 31, bytes 496
SMsgWriter: ZRLE rects 55, bytes 5743
SMsgWriter: raw bytes equivalent 1003276, compression ratio 45.317133
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":2"
after 643 requests (642 known processed) with 0 events remaining.
(gnome-terminal:29388): Gdk-WARNING **: gnome-terminal: Fatal IO error 11 (Resource temporarily unavailable)
on X server :2.
请问该如何解决?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。