Broken X window system on RHEL 6.5

Latest response

It's a messy sequence of events. It started with a working RHEL 6 system and a working Gnome GUI. The customer installed Teamviewer 9, then realized they only have a license for Teamviewer 8. So they removed Teamviewer 9 and started installing Teamviewer 8. Somewhere in the install, the system hung. They logged out of the GUI and after that, no more graphical logins.

I entered the picture and had them try a yum update. No good. I yum removed and reinstalled a bunch of stuff - most recently:

yum groupremove "General Purpose Desktop" "X Window System" "Legacy X Window System compatibility"

reboot

yum groupinstall "General Purpose Desktop" "X Window System" "Legacy X Window System compatibility"
yum groupinstall Desktop

reboot

The console just hangs until I do "init 3" from another window. It keeps a log when it starts. Here is a an extract from when the failure occurs:

[root@nfs2013 log]# more Xorg.0.log
[ 1129.167]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 1129.169] X Protocol Version 11, Revision 0
[ 1129.171] Build Operating System: x86-027 2.6.18-371.el5
[ 1129.174] Current Operating System: Linux nfs2013.lme.local 2.6.32-431.11.2.el6.x86_64 #1 SMP Mon Mar 3
13:32:45 EST 2014 x86_64
[ 1129.175] Kernel command line: ro root=/dev/mapper/vg_system-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_
MD SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_system/lv_swap rd_LVM_LV=vg_system/lv_root KEY
BOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
[ 1129.183] Build Date: 18 December 2013 05:39:43PM
[ 1129.184] Build ID: xorg-x11-server 1.13.0-23.1.el6_5
[ 1129.185] Current version of pixman: 0.26.2
[ 1129.188] Before reporting problems, check https://www.redhat.com/apps/support/
to make sure that you have the latest version.
[ 1129.189] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1129.197] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 21 17:41:32 2014
[ 1129.217] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1129.222] (==) No Layout section. Using the first Screen section.
[ 1129.222] (==) No screen section available. Using defaults.
.
.
.
[ 1135.596] OPTION2 = 00000000
[ 1135.596] CRTCEXT: 10 40 00 83 00 00
[ 1135.618] (==) MGA(0): Backing store disabled
[ 1135.618] (==) MGA(0): Silken mouse enabled
[ 1135.620] (==) MGA(0): DPMS enabled
[ 1135.620] (II) MGA(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 1135.620] (WW) MGA(0): Direct rendering disabled
[ 1135.620] (--) RandR disabled
[ 1135.641] (II) SELinux: Disabled by boolean
[ 1135.643] (II) AIGLX: Screen 0 is not DRI2 capable
[ 1135.643] (II) AIGLX: Screen 0 is not DRI capable
[ 1135.792] (II) AIGLX: Loaded and initialized swrast
[ 1135.792] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 1135.793] (II) MGA(0): Setting screen physical size to 304 x 228
[ 1136.004] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 1136.004] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[ 1136.004] (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/evdev
[ 1136.004] XKB: Failed to compile keymap
[ 1136.004] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[ 1136.004]
Fatal server error:
[ 1136.004] Failed to activate core devices.
[ 1136.004] (EE)
Please consult the Red Hat, Inc. support
at https://www.redhat.com/apps/support/
for help.
[ 1136.004] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1136.004] (EE)
[ 1136.005] Setting DAC:
00: 00 00 00 00 55 0D 00 00 CF 08 10 00 47 40 9E 00
10: 37 21 BA 00 00 00 00 00 03 07 01 00 00 20 1F 00
20: 44 39 1D 92 00 00 00 00 00 00 00 0F 14 F1 01 40
30: 00 00 00 00 00 00 00 00 00 00 07 00 98 6E 0D 00
40: A7 00 B2 00 11 90 07 00 0C 75 07 00 09 78 00 40
OPTION = 00049120
[ 1136.006] OPTION2 = 00008000
[ 1136.006] CRTCEXT: 10 40 21 83 00 3B
[ 1136.593] Server terminated with error (1). Closing log file.
[root@nfs2013 log]#

When I try to run /usr/bin/Xorg by hand from the console, it generates a bunch of output similar to above, then exits.

Various forums and documentation tell me the "Keyboard initialization failed..." error above happens when the system runs out of disk space. If only it were so simple here. I have plenty of free space and plenty of room for more files.

[root@nfs2013 log]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_system-lv_root
899G 4.8G 849G 1% /
tmpfs 7.7G 0 7.7G 0% /dev/shm
/dev/sda2 485M 93M 367M 21% /boot
/dev/sda1 200M 260K 200M 1% /boot/efi
/dev/mapper/vg_data-lv_data
2.7T 1.3T 1.3T 51% /data
[root@nfs2013 log]#
[root@nfs2013 log]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg_system-lv_root
59826176 155180 59670996 1% /
tmpfs 2018291 1 2018290 1% /dev/shm
/dev/sda2 128016 36 127980 1% /boot
/dev/sda1 0 0 0 - /boot/efi
/dev/mapper/vg_data-lv_data
183107584 29206245 153901339 16% /data
[root@nfs2013 log]#

Why not log a service call? This customer only has self support.

This is driving me nuts. Do I need to yum install something more? Is there a config file messed up? How do I dig into that X Window Xorg program to see why it's blowing up?

The GUI worked just fine on this system until last week. It was connected to a KVM switch with some issues. Right now, it's connected to its own monitor, keyboard, and mouse and disconnected from the KVM switch. I hooked everything into front USB and VGA ports. The hardware is an IBM x3630 M4.

thanks

  • Greg Scott

Responses