Upgrading VMWare tools killed Xserver RHEL4

Posted on 2009-04-17
Last Modified: 2013-12-06
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?
Question by:mark_667
    LVL 23

    Accepted 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.

    LVL 1

    Author Comment

    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
    LVL 1

    Author Comment

    Looks like someone's had a similar problem here:

    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 is not able to detect your mouse.
    Edit the file and correct the Device.

    Your xorg.conf file is /root/

    To test the server, run 'X -config /root/'

    Anyone have any further suggestions before I go back to the backup?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Using a software based iSCSI solution, there is no requirement to purchase a hardware iSCSI initiator or TOE (TCP/IP Offload Engine) interface card. A standard network interface card can be used to connect an existing ESXi server to a remote iSCSI t…
    One of the new features of a version 7.0 or later virtual machine, supported in VMware vSphere 4.1, 5.0 or the VMware vSphere Hypervisor ESXi 4.1, ESXi 5.0 often overlooked by VMware Administrators is the ability to add and connect USB devices conne…
    Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
    This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now