I have been messing with this for almost 2 days straight and it is driving me insane. With CentOS 6.2, X11 (X.Org X Server 1.10.4) fails to load from the LiveCD / LiveDVD or full install on ESXi 5.0, it works flawlessly on Workstation 8.04. The CD and DVD loop over and over, they bring up a blue background and then it reboots. I exported an OVF of my working full install from Workstation and deployed it in ESXi 5, this results in the same boot loop as the Live CD / DVD. To troubleshoot further I appended "single" in GRUB to get to the command line. From here I can see errors but hours and hours of research have no resulted in a single person stating they have the same issue. I've tried numerous fixes from similar sounding issues but nothing has worked.
This happens with and without VMware tools installed. I've tried updating ESXi to 5.0 Update 1 and VMware Tools to 5.0 Update 1, but neither have helped. I have recreated my ESXi host numerous times with different settings. Clicking Accelerate 3D graphics and lowering resolution of ESXi host does not help. Increasing video RAM of the CentOS VM does not help. I've tried using the OSP VMware tools and that did not help either. I've tried with and without all of the updates in CentOS (exporting OVF before and after updates).
I've attached my vmware.log from the datastore and Xorg.0.log / messages. Here is the output I receive when running startx manually:
[root@localhost ~]# startxxauth: creating new authority file /root/.serverauth.2235X.Org X Server 1.10.4Release Date: 2011-08-19X Protocol Version 11, Revision 0Build Operating System: c6b5 2.6.32-44.2.el6.x86_64Current Operating System: Linux localhost.localdomain 2.6.32-220.23.1.el6.i686 #1 SMP Mon Jun 18 16:56:21 BST 2012 i686Kernel command line: ro root=/dev/mapper/vg_livecd-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_livecd/lv_swap rd_NO_MD quiet rd_LVM_LV=vg_livecd/lv_root SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DMBuild Date: 25 February 2012 04:04:23PMBuild ID: xorg-x11-server 1.10.4-6.el6_2.1.0.1.centosCurrent version of pixman: 0.18.4Before reporting problems, check http://wiki.centos.org/Documentationto 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: Sat Jul 7 06:05:08 2012(==) Using default built-in configuration (30 lines)(EE) Failed to load module "vmwgfx" (module does not exist, 0)(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx(EE) open /dev/fb0: No such deviceexpected keysym, got XF86TouchpadOn: line 120 of inetexpected keysym, got XF86TouchpadOff: line 121 of inetexpected keysym, got XF86TouchpadOn: line 120 of inetexpected keysym, got XF86TouchpadOff: line 121 of inetGNOME_KEYRING_SOCKET=/tmp/keyring-0PgoXb/socketSSH_AUTH_SOCK=/tmp/keyring-0PgoXb/socket.sshGNOME_KEYRING_PID=2311** Message: NumLock remembering disabled because hostname is set to "localhost"vmware-user: could not open /proc/fs/vmblock/devW: main.c: This program is not intended to be run as root (unless --system is specified).Failed to play sound: Not available** (gnome-user-share:2349): WARNING **: gnome-user-share cannot be started as root for security reasons.(polkit-gnome-authentication-agent-1:2354): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'(polkit-gnome-authentication-agent-1:2354): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed** Message: applet now removed from the notification area** (gnome-panel:2331): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:(null)Initializing nautilus-open-terminal extensionInitializing nautilus-gdu extension** Message: applet now embedded in the notification areaBacktrace:0: /usr/bin/X (xorg_backtrace+0x3c) [0x80b03bc]1: /usr/bin/X (0x8047000+0x675e6) [0x80ae5e6]2: (vdso) (__kernel_rt_sigreturn+0x0) [0xa4f40c]3: /usr/lib/libcrypto.so.10 (0x485e000+0x44a7f) [0x48a2a7f]Illegal instruction at address 0x48a2a7fFatal server error:Caught signal 4 (Illegal instruction). Server abortingPlease consult the CentOS supportfor help.Please also check the log file at "/var/log/Xorg.0.log" for additional information.gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.** (gnome-volume-control-applet:2373): WARNING **: Connection failed, reconnecting...xinit: connection to X server lost.waiting for X server to shut down ** Message: Got disconnected from the session message bus; retrying to reconnect every 10 secondsgnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Please helpLatest troubleshooting performed:
Almost the exact same thing happens with Slackware, but instead of
Fatal server error:
Caught signal 4 (Illegal instruction). Server aborting
I get Fatal server error:
Caught signal 11 (Illegal instruction). Server aborting
Just uninstalled everything to do with VMware, removed all left over files, and cleaned VMware from the registry. Did a fresh install of Workstation and Vsphere. Created a new ESXi host and CentOS VM tried to boot the the LiveCD and got the same boot loop. Oddly enough I just set this all up in VirtualBox and it is working, but cannot get on the internet...
I have fixed the issue, it makes absolutely no sense to me but Selecting Custom Configuration and then Virtual Machine Version: 7 fixed both CentOS and Slackware. Very odd, considering I'm using ESXi 5.0 Update 1, vSphere Client 5.0 Update 1, and Workstation 8.04. I can only assume this has something to do with me installing ESXi in Workstation instead of physical hardware.
This worked for me on CentOS6.6 installed on VMWare ESXI 5.5:
#yum -y install http://packages.vmware.com/tools/esx/5.1/repos/vmware-tools-repo-RHEL6-9.0.0-2.x86_64.rpm
#yum -y install vmware-tools-core
After this, I was able to run startx.