操作系统是centos6.5,使用yum groupinstall "Desktop" "X Window System" "Font"安装了图形界面,使用startx出现如下错误
xauth: file /root/.serverauth.4433 does not exist
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/iZ232zfccu1Z:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: worker1 2.6.32-573.18.1.el6.x86_64
Current Operating System: Linux iZ232zfccu1Z 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64
Kernel command line: ro root=UUID=94e4e384-0ace-437f-bc96-057dd64f42ee rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=129M@0M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Build Date: 12 July 2016 04:55:13PM
Build ID: xorg-x11-server 1.17.4-9.5.el6.centos
Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 27 07:53:42 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
error setting MTRR (base = 0xf0000000, size = 0x00100000, type = 1) Invalid argument (22)
gnome-session[4458]: devkit-power-gobject-WARNING: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[4458]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[4458]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
GNOME_KEYRING_SOCKET=/tmp/keyring-kCB1hg/socket
SSH_AUTH_SOCK=/tmp/keyring-kCB1hg/socket.ssh
GNOME_KEYRING_PID=4484
socket(): Address family not supported by protocol
(gnome-panel:4505): WARNING : panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:
(null)
gnome-session[4458]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[4458]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
(gnome-panel:4505): WARNING : panel-applet-frame.c:1359: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'
(gnome-panel:4505): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
2016-07-27 07:59:16
请各位大牛帮忙看看
您好,
一般来说,不建议以root身份来启动X。
您是参考哪个教程安装的图形界面呢?如果是CentOS 7的,或许您可以参考一下这个:https://help.aliyun.com/knowledge_detail/41227.html
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。