2

I am currently using Ubuntu 24.04. When I turn on my PC and log in using my password, it lands on a black screen with only the mouse cursor visible. I am unable to perform any actions, including turning off my PC.

I found that pressing Ctrl+Alt+F4 allows me to switch to a terminal where I can log in using my username and password. After logging in, I can reboot my PC using the command line, and it works fine temporarily. However, the issue persists after some time, and I have to repeat the same steps again.

I am looking for a permanent solution to this problem.

Thank you!

3 Answers 3

1

Try pressing enter and then typing your password (nothing will be shown on screen).

I ran into a similar situation and found that the login screen was being shown on another display (multi-monitor setup). In my case, this was a dummy HDMI plug to enable the video card when no monitors were present.

If that works, it was just that the login screen is on a display you can't see. I have yet to find a way to get the login screen to ignore the dummy plug in 24.04.

2
  • OP has already stated that a terminal login works.
    – David
    Commented May 31 at 16:19
  • Indeed terminal login works for me as well. However, they can better troubleshoot the issue if they confirm that the login screen may also be shown on the wrong display.
    – Jim Shank
    Commented Jun 3 at 14:29
1

In ubuntu 24.04,lts the display manager which used is 'gdm'.I changed the gdm to 'lightdm' now everything works fine for me.

To change the display manager from gdm to lightdm

 sudo apt update
 sudo apt install lightdm

During the installation, you might be prompted to choose the default display manager. If not, you can manually reconfigure it:

sudo dpkg-reconfigure lightdm

You will be presented with a dialog to choose the default display manager. Select lightdm or gdm3 as per your preference.

Restart your system:

sudo reboot
0

I think but not sure this is issue related to your graphic card drivers

For update or install your graphic drivers, open your terminal(Ctrl + Alt + F4) and type:

ubuntu-drivers install

and reboot

reboot

If there is still a problem

You can purge your graphic driver and install again:

sudo apt purge ~nvidia
sudo apt auto remove
sudo apt clean

and install with apt or ubuntu-drivers again

apt:

sudo apt update
sudo apt full-upgrade

ubuntu-drivers:

ubuntu-drivers install

and reboot

reboot

Refrences: https://www.aptgetlife.co.uk/fixing-ubuntu-black-screen-with-blinking-cursor/

1
  • Still the issue persist.It shows the cursor pointer and the black screen now when i close the lid of my laptop and reopen it shows the display.what is the problem can u please suggest me the solution..!!
    – Sai Ram
    Commented May 31 at 1:34

You must log in to answer this question.

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