x Windows not working my RHEL 6.4 server

Latest response


X Windows is not working in my newly build RHEL 6.3 server.

Can some please help on this.

[root@Testserver ~]# startx
xauth: creating new authority file /root/.serverauth.47239

X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: x86-027 2.6.18-371.el5
Current Operating System: Linux usculdcnm01v.am.sony.com 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64
Kernel command line: ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup00/LogVolSwap SYSFONT=latarcyrheb-sun16 crashkernel=129M@0M rd_LVM_LV=VolGroup00/LogVol00 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Build Date: 18 December 2013 05:39:43PM
Build ID: xorg-x11-server 1.13.0-23.1.el6_5
Current version of pixman: 0.26.2
Before reporting problems, check https://www.redhat.com/apps/support/
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: Thu Jun 5 14:32:54 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
FreeType: couldn't open face /usr/share/fonts/liberation/LiberationMono-Bold.ttf: 1
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
FreeType: couldn't open face /usr/share/fonts/liberation/LiberationMono-BoldItalic.ttf: 1
/usr/bin/twm: unable to open fontset "-adobe-helvetica-bold-r-normal---120------*"

waiting for X server to shut down Server terminated successfully (0). Closing log file.


Are you connecting remotely and trying to export a Display (I noticed the xauth output)?

If you are logged in to the console, I would try running

init 5

which will likely bump you out of the console you're on.. but.. you should then get an X-windows graphical login. (you may been to press CTRL-ALT-F1 to switch consoles though).

Manikandan, (updated)

Run an 'lspci' and grep for 'vga' to see if there is also a graphics card you might benefit to attain their driver. Typically, servers have generic, if any graphics card or it is built into the motherboard.

Oddly, a couple of relatively new servers I opened up yesterday to load with RHEL 6.5 in our environment have a decent graphics card designed for a server.

/sbin/lspci | grep -i vga

See James' response, let us know how it goes...

Kind Regards,

Thanks James and Remmele

[root@usculdcnm01v ~]# /sbin/lspci | grep -i vga
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
[root@usculdcnm01v ~]#

I checked with runlevel 5, Still didnt help me :-(

[root@usculdcnm01v ~]# cat /var/log/Xorg.0.log | tail
[ 353.527] (II) evdev: Macintosh mouse button emulation: Close
[ 353.527] (II) UnloadModule: "evdev"
[ 353.527] (II) evdev: Power Button: Close
[ 353.527] (II) UnloadModule: "evdev"
[ 353.527] (II) evdev: AT Translated Set 2 keyboard: Close
[ 353.527] (II) UnloadModule: "evdev"
[ 353.828] (II) VMWARE(0): VMMouseUnInit
[ 353.828] (II) vmware(0): Terminating Xv video-stream id:0
[ 353.948] Server terminated successfully (0). Closing log file.


install vmware tools if you have not already (reinstalling them may help too)... it seems the vmware driver might be there based on your lspci output... however, reinstalling VMware tools again might help...

[root@yoursystem ~]# mount /dev/cdrom /cdrom
[root@yoursystem ~]# ls /cdrom/ ## should show VMwaretools with some gz file
[root@yoursystem ~]# df -PhT # look for a place to put the small gz file
[root@yoursystem ~]# mkdir /tmp/vmwaretoolsdeleteafterwards/
[root@yoursystem ~]# rsync -au --progress /cdrom/ /tmp/vmwaretoolsdeleteafterwards/
[root@yoursystem ~]# cd /tmp/vmwaretoolsdeleteafterwards/
[root@yoursystem ~]# gunzip NAME-OF-GZIPP'D-VMWARE-TOOLS-FILE-GOES-HERE.gz
[root@yoursystem ~]# tar -xvf NAME-OF-TAR-VMWARE-TOOLS-FILE-GOES-HERE.tar
[root@yoursystem ~]# cd vmwaretools-distrib # I think
[root@yoursystem ~]# ./vmware-install.pl # I think
[root@yoursystem ~]# echo "TAKE ALL DEFAULTS"
[root@yoursystem ~]# echo "continue taking all defaults until it is complete"
[root@yoursystem ~]# echo "the initrd will be made at the end and the script should report as completed"
[root@yoursystem ~]# 

I hope after you install VMware tools, your graphics driver will be available.

Let us know how it goes.

Kind Regards,

Hi Thanks Remmele...

It was already installed but still I updated it. Same issue. A flickr comes and then goes off.

Let's go back to the beginning.
How did you install the Virtual Machine (manual or automated kickstart)?
Did you select "Desktop" at that time?
If no, how did you later install X-windows and Graphical Display Manager?

The only remaining thing I can think of... would be the display adapter that VMware has assigned to the VM (ie. cirrus vs standard-vga, or whatever).

You should be able to run

yum groupinstall "X Window System" Desktop


Otherwise, I would
* update /etc/inittab - make sure that initdefault = 3
* shutdown the VM
* remove the display adapter
* boot and shut down VM
* add a new display adapter
* boot and rerun the vmware-tools install script
* attempt to switch to init 5

You may also want to try disabling (temporarily) SElinux

setenforce 0

Perhaps something was messed up with that?


I think James is probably on to something with his last post. (and read that reference he posted)

Unless you take specific non-default package groups, then the graphical display environment is not available with RHEL 6 server.

Let us know how it goes...

Kind Regards