• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1384
  • Last Modified:

Upgrading VMWare tools killed Xserver RHEL4

I have a VMWare server that's just been upgraded from v1.x to v2.x and this has upgraded the virtual hardware on the machines themselves. After booting a RHEL 4 VM and upgrading the VMWare tools to version 0:7397-156745.i386 from a RPM the vmware-tools service didn't start on reboot.

So I went to Applications> System Settings> Server Settings> Services go to Actions> Add Service.
Entered vmware-tools. Exited and rebooted.

This causes xserver not to start on boot because of a mouse problem that the mouse configuration wizard cannot seem to fix.

After being booted to a command prompt I tried:

mv /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

(EE) Failed to load module "vmware" (module does not exist, 0)
(EE) No drivers available

Fatal server error:
no screens found

rpm -e VMwareTools
error: package VMwareTools is not installed

rpm -e vmware-tools
error: package vmware-tools is not installed

I think because VMWare tools has modified my xorg.conf and I do not have a copy of it pre-vmware I either need to install the old version of the tools (which I don't have a RPM for) or remove them compeltely and hope that it fixes Xserver. I have a backup of the VM but I'd rather not have to go back to that, can anyone suggest anything?
  • 2
1 Solution

firs of all remove vmware tools forcefully then reboot. Install vmware tools and configure the same running the pl file. Try to select a regular screen size i.e. 800x600 or 1024x768 and then verify.

mark_667Author Commented:
How do I remove the vmware-tools? There is no uninstall perl script. The RPM command does not see that it is installed (see first posting).

ls /usr/bin | grep vmware

do you need to run configure perl script after installing from rpm? Running the config-tools script as root gives:

File /usr/lib/vmware-tools/lib is backed up to /usr/lib/vmware-tools/lib.old.0

The file /usr/lib/vmware-tools/lib that this program was about to install already exists. Overwrite? [yes] y

Stopping VMWare Tools services in the virtual machine:
      Guest operatin system daemon:      [ OK ]
      Unmounting HGFS shares:                  [ OK ]
      Guest filesystem driver:            [ OK ]
The bld-2.6.9-5.EL-i686smp-RHEL4 - vmmemctl module loads perfectly into the running kernel.

The bld-2.6.9-5.EL-i686smp-RHEL4 - vmhgfs module loads perfectly into the running kernel.

Unable to open the file "/etc/modproble.conf.BeforeVMWareToolsInstall".

Execution aborted.

ls /etc/ | grep vmware doesn't return anything
mark_667Author Commented:
Looks like someone's had a similar problem here: http://forums.virtualbox.org/viewtopic.php?p=33221&sid=ee594090f13703fd2fec648557b0ba22

I've tried reconfiguring x-server manually and got the following:

Trying with card: VMWare
Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration
Trying with card: VMWare
Couldn't start X server on card 0
Error, failed to start X server

#cd ~ &&
>mv /etc/X11/xorg.{conf,conf-old} &&
>Xorg -configure


(EE) Failed to load module "vmware" (module does not exist, 0)
(++) Using config file: "/root/xorg.conf.new"

Xorg is not able to detect your mouse.
Edit the file and correct the Device.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

Anyone have any further suggestions before I go back to the backup?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now