Wednesday, 13 November 2019

RHEL 5 - VMware - Mouse Not Working

When installing RHEL 5 on VMware / ESX, somehow generated /etc/X11/xorg.conf does not contain mouse driver.

Just update the /etc/X11/xorg.conf as follow (all the new lines are highlighted):

# Start of Xorg configuration 

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice     "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "vmmouse"
        Option "Device" "/dev/input/mice"
        Option "Name" "Mouse on VMware"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vmware"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

# End of Xorg configuration

You can reload the display or restart the VM after that and your RHEL 5 will have mouse pointer then. 

Cheers


No comments:

Post a Comment