开发者社区> 问答> 正文

centos6.5的startx问题

操作系统是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

请各位大牛帮忙看看

展开
收起
药通网 2016-07-27 10:56:31 18741 0
2 条回答
写回答
取消 提交回答
  • 解决了吗

    2019-07-17 20:00:25
    赞同 展开评论 打赏
  • 旺旺:nectar2。

    您好,

    一般来说,不建议以root身份来启动X。

    您是参考哪个教程安装的图形界面呢?如果是CentOS 7的,或许您可以参考一下这个:https://help.aliyun.com/knowledge_detail/41227.html

    2019-07-17 20:00:25
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
低代码开发师(初级)实战教程 立即下载

相关实验场景

更多