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.
Please attach $HOME/.cache/imsettings/log too.
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.
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.
(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.
I reinstalled the laptop with F40 and can no longer reproduce the problem.