您的位置:首页 > 运维架构 > Linux

centos 6.6 安装图形界面 X server gnome Xwindows

2015-07-24 14:10 721 查看


1.给个虚拟机安装oracle结果,系统给的时候都没给安装XWINDOWS  ,无奈呀,不想静默安装!!!

 

2.yum groupinstall  "Desktop" "Desktop Platform" "X Window System"

 

 

3.全部安装完成  就应该可以了

telinit 5  或者init 5   切换到runlevel 5   运行X    startx  应该都可以了

 

 

4.如果安装不全 可能会报以下错误

** (gnome-settings-daemon:21328): WARNING **: /usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so: undefined symbol: _XGetRequest

** (gnome-settings-daemon:21328): WARNING **: Cannot load plugin 'Wacom' since file '/usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so' cannot be read.

** (gnome-settings-daemon:21328): WARNING **: Error activating plugin 'Wacom'

** (gnome-panel:21341): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:

(null)

/usr/bin/gnome-session: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest

(nautilus:21342): EggSMClient-WARNING **: Failed to connect to the session manager: IO error occured opening connection

waiting for X server to shut down gnome-settings-daemon: Fatal IO error 2 (No such file or directory) on X server :0.0.

.Server terminated successfully (0). Closing log file.

在虚拟机中输入命令startx:

出现以下错误:

(EE) Failed to load module "vesa" (module does not exist, 0)

(EE) Failed to load module "fbdev" (module does not exist, 0)

(EE) Failed to load module "evdev" (module does not exist, 0)

(EE) No input driver matching `evdev'

(EE) Failed to load module "evdev" (module does not exist, 0)

(EE) No input driver matching `evdev'

(EE) Failed to load module "evdev" (module does not exist, 0)

(EE) No input driver matching `evdev'

 

完全的log:

[   202.076]

X.Org X Server 1.15.0

Release Date: 2013-12-27

[   202.076] X Protocol Version 11, Revision 0

[   202.076] Build Operating System: c6b8 2.6.32-220.el6.x86_64

[   202.076] Current Operating System: Linux rac01.localdomain 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64

[   202.076] Kernel command line: ro root=UUID=26bf6ada-8b0f-404e-b697-233eb1886e82 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD
crashkernel=129M@0M LANG=zh_CN.UTF-8 rd_NO_LV
4000
M rd_NO_DM rhgb quiet

[   202.076] Build Date: 18 June 2015  11:45:14AM

[   202.076] Build ID: xorg-x11-server 1.15.0-26.el6.centos.0.1

[   202.076] Current version of pixman: 0.32.4

[   202.076]  Before reporting problems, check http://wiki.centos.org/Documentation
 to make sure that you have the latest version.

[   202.076] Markers: (--) probed, (**) from config file, (==) default setting,

 (++) from command line, (!!) notice, (II) informational,

 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   202.076] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 14 17:20:11 2015

[   202.111] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   202.112] (==) No Layout section.  Using the first Screen section.

[   202.112] (==) No screen section available. Using defaults.

[   202.112] (**) |-->Screen "Default Screen Section" (0)

[   202.112] (**) |   |-->Monitor ""

[   202.113] (==) No monitor specified for screen "Default Screen Section".

 Using a default monitor configuration.

[   202.113] (==) Automatically adding devices

[   202.113] (==) Automatically enabling devices

[   202.113] (==) Not automatically adding GPU devices

[   202.114] (==) FontPath set to:

 catalogue:/etc/X11/fontpath.d,

 built-ins

[   202.114] (==) ModulePath set to "/usr/lib64/xorg/modules"

[   202.114] (II) The server relies on HAL to provide the list of input devices.

 If no devices become available, reconfigure HAL or disable AutoAddDevices.

[   202.115] (II) Loader magic: 0x823020

[   202.115] (II) Module ABI versions:

[   202.115]  X.Org ANSI C Emulation: 0.4

[   202.115]  X.Org Video Driver: 15.0

[   202.115]  X.Org XInput driver : 20.0

[   202.115]  X.Org Server Extension : 8.0

[   202.123] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xd8000000/67108864, 0xd0800000/8388608, I/O @ 0x000010d0/16, BIOS @ 0x????????/32768

[   202.124] Initializing built-in extension Generic Event Extension

[   202.124] Initializing built-in extension SHAPE

[   202.124] Initializing built-in extension MIT-SHM

[   202.124] Initializing built-in extension XInputExtension

[   202.124] Initializing built-in extension XTEST

[   202.124] Initializing built-in extension BIG-REQUESTS

[   202.124] Initializing built-in extension SYNC

[   202.124] Initializing built-in extension XKEYBOARD

[   202.124] Initializing built-in extension XC-MISC

[   202.124] Initializing built-in extension SECURITY

[   202.124] Initializing built-in extension XINERAMA

[   202.124] Initializing built-in extension XFIXES

[   202.124] Initializing built-in extension RENDER

[   202.124] Initializing built-in extension RANDR

[   202.124] Initializing built-in extension COMPOSITE

[   202.124] Initializing built-in extension DAMAGE

[   202.124] Initializing built-in extension MIT-SCREEN-SAVER

[   202.124] Initializing built-in extension DOUBLE-BUFFER

[   202.124] Initializing built-in extension RECORD

[   202.124] Initializing built-in extension DPMS

[   202.124] Initializing built-in extension Present

[   202.124] Initializing built-in extension X-Resource

[   202.124] Initializing built-in extension XVideo

[   202.124] Initializing built-in extension XVideo-MotionCompensation

[   202.124] Initializing built-in extension SELinux

[   202.124] Initializing built-in extension XFree86-VidModeExtension

[   202.124] Initializing built-in extension XFree86-DGA

[   202.124] Initializing built-in extension XFree86-DRI

[   202.124] Initializing built-in extension DRI2

[   202.124] (II) LoadModule: "glx"

[   202.126] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so

[   202.209] (II) Module glx: vendor="X.Org Foundation"

[   202.209]  compiled for 1.15.0, module version = 1.0.0

[   202.209]  ABI class: X.Org Server Extension, version 8.0

[   202.209] (==) AIGLX enabled

[   202.209] Loading extension GLX

[   202.209] (==) Matched vmware as autoconfigured driver 0

[   202.209] (==) Matched modesetting as autoconfigured driver 1

[   202.209] (==) Matched fbdev as autoconfigured driver 2

[   202.209] (==) Matched vesa as autoconfigured driver 3

[   202.209] (==) Assigned the driver to the xf86ConfigLayout

[   202.209] (II) LoadModule: "vmware"

[   202.214] (WW) Warning, couldn't open module vmware

[   202.214] (II) UnloadModule: "vmware"

[   202.214] (II) Unloading vmware

[   202.214] (EE) Failed to load module "vmware" (module does not exist, 0)

[   202.214] (II) LoadModule: "modesetting"

[   202.214] (WW) Warning, couldn't open module modesetting

[   202.214] (II) UnloadModule: "modesetting"

[   202.214] (II) Unloading modesetting

[   202.214] (EE) Failed to load module "modesetting" (module does not exist, 0)

[   202.214] (II) LoadModule: "fbdev"

[   202.214] (WW) Warning, couldn't open module fbdev

[   202.214] (II) UnloadModule: "fbdev"

[   202.214] (II) Unloading fbdev

[   202.214] (EE) Failed to load module "fbdev" (module does not exist, 0)

[   202.214] (II) LoadModule: "vesa"

[   202.214] (WW) Warning, couldn't open module vesa

[   202.214] (II) UnloadModule: "vesa"

[   202.214] (II) Unloading vesa

[   202.214] (EE) Failed to load module "vesa" (module does not exist, 0)

[   202.214] (EE) No drivers available.

[   202.214] (EE)

Fatal server error:

[   202.214] (EE) no screens found(EE)

[   202.214] (EE)

Please consult the CentOS support

  at http://wiki.centos.org/Documentation

 for help.

[   202.214] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[   202.214] (EE)

解决方法:

yum install xorg-x11-drivers
yum groupinstall  "Desktop" "Desktop Platform" "X Window System"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux x-windows