Created attachment 425734 [details] .xsession-errors I have a problem with my Plasma installation on ~amd64 after a recent upgrade. It used to work fine with version 5.5.1, but (since version 5.5.3, I think), when I log in, the screen goes black, I get my usual mouse pointer and a konsole window. I can start graphical programs from there by typing in their names on the konsole command line, but the desktop is black and has no context menu. There's no taskbar either. I log in using the login manager lightdm (but the same problem was on sddm), using the "Plasma" profile that is in /usr/share/xsessions/plasma.desktop. This first happened when I upgraded from 5.5.1 to the next version (5.5.3 I think). I'm now on 5.5.4 and it's still the same. Attaching .xsession-errors. There are errors in there about libGL - but the driver files in the error message, nouveau_dri.so etc., exist. I re-emerged the package that owns these files, that didn't help. I'm not sure that this error is the one causing the problem - maybe some other line in that file points to the actual problem. I think I didn't change any configuration options in /etc recently, and also the same behaviour applies to a new user that I created just for this. Renaming .kde4 folder to something else and trying to log in then also doesn't fix this. It's probably something wrong with my configuration, but as it was caused by upgrading, I want to report the error here. Thanks.
Created attachment 425736 [details] emerge --info
sddm user is part of video group? /etc/pamd.d/system-login is sane (contains nox11)?
Thanks for the help. At the moment I'm using lightdm - using "ps -eF", I see that /usr/sbin/lightdm is running with the root user. "groups root" shows that the root user is in the video group. The file /etc/pam.d/system-login exists and has 16 lines. On line 14, it says: session optional pam_ck_connector.so nox11 That's the only line in that file that includes "nox11". Is that what you meant by sane?
I fixed this. I had to re-emerge sys-devel/llvm. Now everything works again. Not sure if this was a problem on my side - I've had a few errors because I didn't re-emerge all those packages when gcc went up to the 5.3 version. Maybe mesa was updated recently and linked against the "old" llvm-ABI that didn't work any more? Or llvm had to be rebuilt for another reason. In any case, if anyone else gets OpenGL errors about couldn't open nouveau_dri.so but the file is there, then try re-emerging llvm.