Mouse Pointer Disappears after switching users in Linux? Has your mouse cursor disappeared in Linux after logging in, switching users, or waking from suspend? If your mouse still moves but the pointer is invisible, this issue is usually caused by a graphics driver, display server (Wayland/Xorg), or cursor rendering glitch.
This updated guide covers modern fixes for Ubuntu, Debian, and other Linux distributions, including systems using Wayland, Xorg, NVIDIA, and open source drivers.

Quick Fix (Try These First)
Before diving into advanced steps, try these quick solutions. In many cases, one of these will immediately restore your missing cursor.
- Restart GNOME Shell: Press
Alt + F2, typer, and press Enter (Xorg sessions only). - Log out and log back in
- Switch USB ports or reconnect your mouse
- Try a different mouse to rule out hardware issues
Why a Mouse Pointer Disappears
A missing or invisible mouse cursor or pointer in Linux is typically caused by:
- Graphics driver issues (NVIDIA, nouveau, or Intel/AMD)
- Wayland vs Xorg compatibility problems
- Cursor theme or rendering glitches
- Display manager bugs after suspend or user switching
Fix 1: Switch from Wayland to Xorg
Modern Ubuntu systems use Wayland by default, which can sometimes cause cursor issues depending on your GPU or drivers.
- Log out of your current session
- On the login screen, click the gear icon
- Select
Ubuntu on Xorg - Log back in
If your cursor reappears, the issue is likely Wayland-related.
Fix 2: Restart the Display Manager
Restarting your display manager can reset graphical glitches causing the invisible cursor.
For Ubuntu (GNOME):
sudo systemctl restart gdm
For systems using LightDM:
sudo systemctl restart lightdm
Note: This will log you out of your session.
Fix 3: Reset the Cursor Theme
A broken or missing cursor theme can cause the pointer to disappear.
gsettings set org.gnome.desktop.interface cursor-theme 'Adwaita'
Then log out and back in.
Fix 4: Reinstall or Update Graphics Drivers
For NVIDIA users (recommended):
sudo apt update
sudo apt install nvidia-driver
Then reboot:
sudo reboot
For open source drivers (nouveau, Intel, AMD):
sudo apt update && sudo apt upgrade
Keeping your system updated often resolves cursor rendering bugs.
Fix 5: Legacy NVIDIA (nv Driver Only)
Note: This fix applies only to very old systems using the deprecated nv driver. Most modern systems should skip this step.
If you are using the legacy nv driver, you can disable hardware cursor rendering:
sudo nano /etc/X11/xorg.conf
Locate the following section:
Section "Device"
Add this line before EndSection:
Option "HWCursor" "off"
Example:
Section "Device"
Identifier "NVIDIA Card"
Driver "nv"
Option "HWCursor" "off"
EndSection
Save and reboot:
sudo reboot
Fix 6: Create Xorg Config Snippet (If Needed)
If you do not have a full xorg.conf file, you can create a configuration snippet instead:
sudo mkdir -p /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/20-cursor.conf
Add:
Section "Device"
Identifier "Graphics Device"
Option "HWCursor" "off"
EndSection
Save and reboot.
Fix 7: Check for Hardware or USB Issues
- Try a different USB port
- Test another mouse
- Check if the issue occurs in a live USB session
If the lost mouse pointer problem persists across multiple systems, your mouse hardware may be failing.
Final Thoughts: Restore a Missing Mouse Pointer
A missing mouse cursor in Linux is usually a minor graphics glitch rather than a serious system problem. In most cases, switching from Wayland to Xorg, restarting the display manager, or resetting the cursor theme will quickly restore visibility.
For older systems, disabling the hardware cursor in Xorg remains a reliable workaround, but modern systems should focus on driver updates and display configuration fixes.
More Linux USB & Troubleshooting Guides
- How to Install .deb Packages on Ubuntu and Debian
- Run Ubuntu Fully from RAM
- Create a Multiboot USB Drive with YUMI