🐝
OSCP 2022 Materials
  • General
    • Whoami
    • Resources
    • Frequently Asked Questions
    • Shared Resource
  • Enumeration
    • Foreword
    • FTP
    • SMTP
    • DNS
    • Finger
    • HTTP/ HTTPS
      • Login Attacks
        • PHP Logins
      • XSS
      • LFI ( LFI -> RCE )
      • RFI ( RFI -> RCE )
      • CMS Exploitation
        • Wordpress
        • Magento
        • Bludit
        • Tomcat
        • Drupal
      • PHPMyAdmin
    • Kerberos
    • POP3
    • SMB
    • IMAP
    • SNMP
    • IRC
    • RSync
    • MSSQL
    • NFS
    • REDIS
    • Port Forwarding
  • Linux Post Exploitation
    • Post Exploit Checks
    • Pivoting ( ProxyChains )
  • Windows Post Exploitation
    • Post Exploit Checks
    • Active Directory ( Recon -> PE)
    • Notes
      • Powershell
      • Commands
  • Buffer Overflow
    • Hackthebox
    • TryHackMe
  • Mobile Pentesting
    • Android Pentesting
      • Lab TroubleShoot
      • Root Detection Bypass ( Manual )
      • Physical Device
  • MISC
    • Useful
    • Web
    • Linux
    • Application Specific
    • Programming Notes for Offensive Security
      • Python
    • Forensics
      • Disk Forensics
    • Inspection
    • Troubleshooting
      • Mouse Flickering
Powered by GitBook
On this page

Was this helpful?

  1. MISC
  2. Troubleshooting

Mouse Flickering

PreviousTroubleshooting

Last updated 2 years ago

Was this helpful?

Problem:

I was using the VMWare workstation 16 Player ( Non-Commercial ). When using the workstation with Linux guests ( kali, parrot and Ubuntu ) I faced the mouse flickering issue.

When dragging the mouse, the mouse will lack the smoothness of the dragging and will be like instant transportation

Solution

I was searching for a solution on the official forums and youtube, which included the processes of

  • Installing the vmware-guest addition tools

  • Repairing the installation

  • Enabling / Disabling the 3D acceleration

  • Installation vmtools sudo apt-get install open-vmtools open-vm-tools-desktop

  • Update the drivers

But unfortunately nothing provided the results

Looking up on the reddit for the solution,

Reddit Link:

User Pointed the link:

Blog that provided solution:

Script from the blog

  • Create a file name /etc/X11/xorg.conf

  • Add the following contents

Section "ServerLayout"
    Identifier "X.org Configured"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Device"
    ### Available Driver options are:-
    ### Values: : integer, : float, : "True"/"False",
    ### : "String", : " Hz/kHz/MHz",
    ### : "%"
    ### [arg]: arg optional
    Option "HWcursor" "off" # []
    #Option "Xinerama" # []
    #Option "StaticXinerama" # 
    #Option "GuiLayout" # 
    #Option "AddDefaultMode" # []
    #Option "RenderAccel" # []
    #Option "DRI" # []
    #Option "DirectPresents" # []
    #Option "HWPresents" # []
    #Option "RenderCheck" # []
    Identifier "Card0"
    Driver "vmware"
    BusID "PCI:0:15:0"
EndSection

Reboot the linux instance, this solved the issue for me

😄
👍
https://www.reddit.com/r/vmware/comments/l3931b/mouse_pointer_flickering_running_linux_vm_with/
https://www.reddit.com/user/dfotisjr/
https://redhalo.eu/mouse-flicker-in-kali-vm/