Bug 2274678 - Black screen on each first GUI login after a reboot
Summary: Black screen on each first GUI login after a reboot
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: imsettings
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-12 07:22 UTC by Marc Muehlfeld
Modified: 2024-04-16 06:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-16 06:47:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marc Muehlfeld 2024-04-12 07:22:38 UTC
When I boot my laptop and log in to Cinnamon, the screen stays black. Only the mouse cursor is visible and can be moved.

To work around this problem, I switch to the console, kill the "cinnamon-session-binary" process, and then log in again. After this workaround, I can logout/login as often as I want, and everything works as expected. However, as soon as I reboot, the problem is back and I, again, need the workaround.

The errors in /var/log/messages and .xsession-errors sound like the problem is related to imsettings-daemon.

I can reproduce this problem after each reboot of my laptop (Dell Latitude E7440). I don't have this problem on my F40 desktop computer. Both are fresh installations (no upgrades) of F40, and all available updates are installed.

Reproducible: Always

Steps to Reproduce:
1. Boot Fedora 40.
2. Log in to Cinnamon.

Actual Results:  
Black screen on the first time you log in after a reboot. Only the mouse cursor is visible and can be moved.

Expected Results:  
Desktop should be shown and be usable.

* The problem also exists if SELinux is in permissive mode.
* The problem also exists with a new user account (empty home directory).
* Only the first user who logs into the GUI after a reboot has this problem. If you run the workaround, all users can login/logoff without getting the black screen.
* After a reboot, the problem is back, and the first GUI login shows the black screen.

Comment 3 Akira TAGOH 2024-04-12 10:46:57 UTC
Please attach $HOME/.cache/imsettings/log too.

Comment 6 Marc Muehlfeld 2024-04-12 12:48:07 UTC
I removed everything from $HOME/.cache/imsettings/ before I logged in after a reboot.
On the first log in attempt (which ended, as expected, in a black screen), a log and log.bak was created. I attached both files.

Comment 7 Akira TAGOH 2024-04-15 01:14:50 UTC
It works for me on freshly installed from Fedora-Cinnamon-Live-x86_64-40-20240411.n.0.iso. I need more detailed steps to setup that your problem can be reproduced.

The strange thing from logs is that X Display was failed to open on your box even though the session type apparently looks like X11.

Comment 8 Akira TAGOH 2024-04-15 02:09:07 UTC
(In reply to Marc Muehlfeld from comment #0)
> The errors in /var/log/messages and .xsession-errors sound like the problem
> is related to imsettings-daemon.

Can you elaborate more why you concluded like that?
The workaround you pointed out is irrelevant to imsettings (If that is true, the problem may be more likely in cinnamon, no?).
The interesting thing may be that there are a lot of similar logs prior to imsettings logs that processes failed due to no X Display. it may be more natural that there was something in X server.

Anyway, more details is needed.

Comment 9 Marc Muehlfeld 2024-04-16 06:47:19 UTC
I reinstalled the laptop with F40 and can no longer reproduce the problem.


Note You need to log in before you can comment on or make changes to this bug.