4

Just installed Ubuntu server 22.04 and as I needed a DE, followed some tutorials where most of them suggested that I can install gnome (or ubuntu-desktop) using the tasksel command.

After doing so I encountered two problems: the mouse pointer on desktop is showing as a solid gray square ⬛ and the hotspot is at upper left corner. However when I run any gui app the pointer is drawn perfectly fine.

How can I fix this issues?

user174174
  • 141
  • 1
  • 4
  • Please focus to one question at a time on this site. – vanadium May 31 '22 at 13:32
  • If you "need a DE" why didn't you install the desktop version instead? – ChanganAuto May 31 '22 at 17:22
  • @ChanganAuto for learning purposes – user174174 May 31 '22 at 21:25
  • @vanadium sure, edited my question. – user174174 May 31 '22 at 21:28
  • 1
    "Ubuntu server" lacks the GUI components and services that your DE depends on. Start over, and install "Ubuntu desktop", since you want to use your computer as a desktop.Telling us which remote procedure (RP) you "followed" doesn't help us help you for N reasons: 1) It's remote. Will the link exist tomorrow? 2) Reading the RP doesn't tell us how accurately you "followed" it. Did you suffer typos or missed lines? We have. 3) Reading the RP omits the error messages you got on your system. These error messages (and the commands that caused them) are key elements in any diagnosis. – waltinator Jun 01 '22 at 01:28
  • @waltinator if I wanted to install the desktop version, obviously wouldn't proceeded to download the server in the first place. I'm sure it's possible to add gui to the server and looking for some help regarding that. About the error messages I know I need to provide those but didn't encounter any. – user174174 Jun 01 '22 at 02:52
  • I actually have this issue on desktop. :-) – Lennart Regebro Aug 30 '22 at 05:39
  • I do think it is a legitimate question. I have just finished installing two very old laptops, and have the same problem on both. I used the server image to have a basic installation because old, resource constrained hardware, and added what is needed. I think it is a legit expectation to have the same behaviour with the same packages installed, and having a square instead of mouse pointer - while not a big deal - is annoying. – Árpád Magosányi Oct 31 '22 at 00:37

3 Answers3

2

If inside the VirtualBox VM, and with the latest kernel 6.5.*, it is necessary to install the newer compiler:

sudo apt install gcc-12

After that, it is necessary to install the latest Guest Additions.

0

I have found that changing the cursor theme works: How do I change the cursor and its size?

apt install oxygen-cursor-theme
update-alternatives --config x-cursor-theme
0

What solved it for me was going into the Menu -> "Tweaks" -> "Appareance" and set Cursor to one of the options in the blank dropdown. In my case, "DMZ Black".

Note that this requires the ubuntu-desktop install using tasksel. The minimal one doesn't ome with "Tweaks" afaik.