You are not logged in.

#1 2018-10-27 08:48:27

salsadoom
Member
Registered: 2011-02-03
Posts: 32

X11 won't start until I switch to a different console

This is an odd issue I've never seen before.  I'm using sddm and KDE, which autologins into my user.  What happens is after booting, it'll never actually load up X or anything until I switch to a different console, like alt-f2, then a few seconds later it'll load up into my desktop just fine. But if I don't do that, it'll just sit forever showing the few lines of text from booting up. I'm not really seeing an error anywhere though, which is making this a bit annoying to fix.

journalctl for sddm shows this

Oct 27 02:35:08 contentious systemd[1]: Started Simple Desktop Display Manager.
Oct 27 02:35:40 contentious sddm[489]: Initializing...
Oct 27 02:35:40 contentious sddm[489]: Starting...
Oct 27 02:35:40 contentious sddm[489]: Logind interface found
Oct 27 02:35:40 contentious sddm[489]: Adding new display on vt 1 ...
Oct 27 02:35:40 contentious sddm[489]: Loading theme configuration from ""
Oct 27 02:35:40 contentious sddm[489]: Display server starting...
Oct 27 02:35:40 contentious sddm[489]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{6219941d-1b7f-4a72-87e2-5765d40cca8c} -background none -noreset -displayfd 17 -seat >
Oct 27 02:35:41 contentious sddm[489]: Setting default cursor
Oct 27 02:35:41 contentious sddm[489]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Oct 27 02:35:41 contentious sddm[489]: Display server started.
Oct 27 02:35:41 contentious sddm[489]: Reading from "/usr/share/xsessions/plasma.desktop"
Oct 27 02:35:41 contentious sddm[489]: Reading from "/usr/share/xsessions/plasma.desktop"
Oct 27 02:35:41 contentious sddm[489]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startkde"
Oct 27 02:35:41 contentious sddm[489]: Adding cookie to "/var/run/sddm/{6219941d-1b7f-4a72-87e2-5765d40cca8c}"
Oct 27 02:35:41 contentious sddm-helper[534]: [PAM] Starting...
Oct 27 02:35:41 contentious sddm-helper[534]: [PAM] Authenticating...
Oct 27 02:35:41 contentious sddm-helper[534]: gkr-pam: no password is available for user
Oct 27 02:35:41 contentious sddm-helper[534]: [PAM] returning.
Oct 27 02:35:41 contentious sddm[489]: Authenticated successfully
Oct 27 02:35:41 contentious sddm-helper[534]: pam_unix(sddm-autologin:session): session opened for user sd by (uid=0)
Oct 27 02:35:42 contentious sddm-helper[534]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
Oct 27 02:35:42 contentious sddm[489]: Session started

Xorg.0.log doesn't show any kind of problem. Once it loads it seems to work perfectly fine, I was playing games without problem etc. Its just a bit annoying to go through an extra step. Some googling showed people with similar issues but different hardware (i'm using amdgpu on a Vega56) and suggested putting my video driver into the initramfs which I did so, but it didn't change anything. Without an error message of any kind, I'm a bit lost on how to proceed to correct this strange issue.

Any ideas?

Offline

#2 2018-10-27 09:04:56

salsadoom
Member
Registered: 2011-02-03
Posts: 32

Re: X11 won't start until I switch to a different console

OK I instantly solved my own problem.

For some reason I installed rng-tools and the problem went away. Eh, who knows why, but as long as its all working now, whatever smile

Offline

Board footer

Powered by FluxBB