I had Ubuntu 16.04 and suddenly I couldn't log in anymore. Each time I would try to log in, the screen went black and ask again for my password. I was stuck in a login loop. I updated to Ubuntu 18.04 and it fixed my problem, but now the mouse cursor is invisible. I can still click things, except I can't see the cursor.

I use Ubuntu with Parallels in my MacOs High Sierra.


3 Answers 3


This worked for me. I changed "intel" to "amd" because I'm running threadripper cpu. In my case I also had to run:

sudo mkdir /etc/X11/xorg.conf.d before creating the file.

  1. Create the file /etc/X11/xorg.conf.d/90-cursoron.conf

  2. Put in it the following content

#--makes mouse cursor re-appear
Section "Device"
    Identifier  "Device0"
    Driver      "intel"
    Option      "AccelMethod" "uxa"
    Option      "SWCursor"    "on"

The keyword is uxa accekeration method here. Logout-login

  • This worked for me mid-2023 on Linux Mint 21.2 "victoria", except I used the "amd" driver to match my video card.
    – scott8035
    Aug 5, 2023 at 15:57

This worked for me (apparently default mode is "touchscreen mode"):

gsettings set org.gnome.settings-daemon.plugins.cursor active false
  • This works for me but my situation is a little different: the cursor disappears after I install a new desktop environment (still 16.04).
    – Henry
    Sep 28, 2020 at 16:08
  • This also worked for me. I upgraded my Thinkpad X1 from 18.04 (mouse was fine) to 20.04 and my trackpad/mouse disappeared but the touchscreen was still working. I did have to restart to see this change however.
    – Amanda
    Feb 15, 2021 at 2:06

On my system it was due to a broken upgrade,

Open the terminal with crtl-alt-t and run sudo dpkg --configure -a let it run until it stops; and then update with sudo apt update && sudo apt upgrade and reboot (sudo reboot if you can't use the gui to do that).

My cursor was back again.

dpkg with the --configure -a flags set will tell dkpg to configure any packages that have been unpacked but not configured.

apt update checks available repositories for any available upgrades, and apt upgrade tells apt to upgrade any packages that need it.

  • Care to elaborate what version upgrade, and why this command came to the rescue?
    – matanox
    Jun 24, 2020 at 11:23
  • Added an explanation of what each command does. In general, we probably shouldn't encourage readers to run arbitrary sudo commands. I always try to expand on the function of each command, so that people don't get used to the idea that it's safe or reasonable to "just run this" without understanding it.
    – Amanda
    Feb 16, 2021 at 17:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .