[Question] Fedora KDE defaults to console mode if I don't turn on the display during boot-up
from some_random_nick@lemmy.world to linux@lemmy.ml on 02 Jul 16:23
https://lemmy.world/post/32370487

Any way to force the desktop to load regardless? I know, typing startx isn’t hard, but I would like not to. Tnx!

#linux

threaded - newest

just_another_person@lemmy.world on 02 Jul 16:27 next collapse

It still starts the KDE session, but it’s probably on another term output. Hit ALT+F1 and see if it shows, but it depends on the distro, so it could F1, F6, F7…etc

some_random_nick@lemmy.world on 02 Jul 17:20 collapse

F1 is just a blank conosle with a blinking curses and you can’t type anything into it. F2/3/4 open a new terminal from where I can log in, but none seem to have a KDE session running. Gotta check out the other F keys. Just in case none of the work, is there a solution you know of?

just_another_person@lemmy.world on 02 Jul 17:44 collapse

I’m guessing it’s similar to this: discuss.kde.org/t/…/17350

You’re probably on a laptop and have multiple GPUs enabled at the same time. If not, you’re defining Nvidia drivers with something trying to be smart about when to enable the actual outputs or not.

You can either make sure to have the display turned on, or make it super clear to the drivers to always enable a display regardless of whether it detects a display.

some_random_nick@lemmy.world on 02 Jul 19:18 collapse

I should have provided more details about my setup, but I was kinda hoping that it turns out to be trivial. I am on a desktop PC, AMD gpu, Mesa drivers, one 1440p monitor. Nothing special about the setup. I’ll have a look at the URL you provided and try a few things tomorrow.

[deleted] on 02 Jul 19:36 collapse

.

some_random_nick@lemmy.world on 02 Jul 20:25 collapse

Ehm, what? I am pretty sure you are in the wrong post.

just_another_person@lemmy.world on 02 Jul 20:30 collapse

Whoops, you are correct. Sorry about that!

some_random_nick@lemmy.world on 03 Jul 18:25 collapse

No probs! I checked all the F-keys and non have the session initialized. The logs say that SDDM segfaulted. That’s the last message. I typed it out in the commend above if you want to take a look.

SheeEttin@lemmy.zip on 02 Jul 17:44 next collapse

That seems strange. What’s in the log?

some_random_nick@lemmy.world on 02 Jul 19:20 collapse

I’ll check them tomorrow. Should I look for some specific messages? Or the general KDE init process?

SheeEttin@lemmy.zip on 02 Jul 19:53 collapse

Boot log/kernel/dmesg, X/Wayland/kde primarily. Been a long time since I’ve had to troubleshoot something like this so I don’t know the new kids on the block. Maybe upstart or dracut? Whatever manages the boot process now

some_random_nick@lemmy.world on 03 Jul 18:23 collapse

I checked the logs and can’t find anything interesting. I am not that knowlagable so you’ll have to forgive me. I used journalctl -b -k to get the log from the current boot and piped it into grep for searching. There is no mention of kde, x11, xorg or wayland. Ok, editing this while typing. SDDM is segfaulting. I have no idea what that is, but another comment mentioned it. The message reads sddm-greeter-qt(1387): segfault ar 1b … libLayerShellQtInterface.so.6.4.1… Guess that’s the issue?

SheeEttin@lemmy.zip on 03 Jul 21:16 collapse

Yeah that might be it. Sddm is a display manager, you might be using it for your login screen.

You might be able to work around it by just setting the service to restart automatically, so that it comes up properly once a display is attached. But if you can, I would try reproducing it on a fresh and fully updated install, and open a bug report to the maintainers if you can. Linux developers generally try to make really sure their programs don’t crash like that.

some_random_nick@lemmy.world on 03 Jul 21:32 collapse

Might as well try. I have a spare SSD lying around. Tnx for the assistance!

lilith267@lemmy.blahaj.zone on 02 Jul 22:56 next collapse

Had the same problem on fedora (no issue on bazzite, nobara, or arch). First time it was xwayland that kept crashing without a display present for some reason, second time I never solved since I was distro hopping the fedora family of distros but it seemed to be a problem with SDDM

some_random_nick@lemmy.world on 03 Jul 18:24 collapse

Seems like you were right. I checked my logs with the monitor turned off and the last logged message is SDDM segfaulting.

[deleted] on 04 Jul 14:43 collapse

.