Score:1

Lightdm gives black screen after logging out

cn flag

I am using Ubuntu 20.04 with lightdm.

Everything is fine except that if I log out, the screen turns black. And I have to press Ctrl + Alt + F2 to get the console and issue sudo lightdm to get the login screen.

Two further observations:

  1. This problem goes away if I switch to gdm3. But I require lightdm to use x11vnc.

  2. I am using nvidia-driver-450. I tried several versions of nvidia driver; the problem persists. If I remove the driver, then the problem goes away. But I need the nvidia driver for my work.

Any idea how to fix this problem is appreciated!

cn flag
Possibly related: https://askubuntu.com/q/1362536/134205
Score:0
cn flag

After some trials, I found the following command solves the problem.

sudo apt-get install --reinstall gnome-session ubuntu-desktop

I bumped into this solution here which may have more useful details for others: can't start lightdm without systemctl

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.