Score:0

Login with firewall enabled leads to black screen

ws flag

I am using Ubuntu 22.04 LTS with desktop running on Xorg.

I wanted to do some work on my notebook today, so I got up, booted the computer, logged in and stared at the black screen for a while. After 5 minutes of staring at it, I realised, that the blackness was starting to spread into my soul because it seemed that I will probably spend a day trying to fix the computer.

So I began troubleshooting, reinstalled ubuntu-desktop, gdm, xorg, purged and reinstalled and uninstalled nvidia drivers, nothing worked. I scoured the internet for any solution, nothing helped.

I almost erased the disk and reinstalled Ubuntu, but then I remembered, that I was trying to set up a firewall using ufw the day before. So I disabled it, rebooted, and voilá! The black screen disappeared.

The firewall was configured with:

sudo ufw default allow outgoing
sudo ufw default deny incoming

So the question is, why? Why would a firewall interfere with the local desktop environment? Should I allow some ports or something? I really do not understand why this happened.

I sit in a Tesla and translated this thread with Ai:

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.