Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
switched from openRC to Systemd can't get graphic display
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 261

PostPosted: Thu Feb 06, 2020 10:35 pm    Post subject: switched from openRC to Systemd can't get graphic display Reply with quote

Long story short, the title sums it up.
I've enabled sddm.service and according to journalctl it's even running however I don't see it / it doesn't seem to load upon boot.
systemctl --failed says 0 units listed.
I thought maybe I need to enable some xorg service but couldn't find any instructions regarding that, so I assume there's no such service for systemd.
when I "startx" - I do get a basic X with 3 terminals displayed, yet nor restarting (sddm itself) neither rebooting causes sddm to show up.
xorg throws this type of message:
(EE) Failed to open authorization file "/var/run/sddm/{0e7de6fb-b9ec-4923-bc31-e7f9c360ccf7}": No such file or directory
but that is present also when consolekit is installed and it doesn't prevent sddm from loading (BTW, I tried searching for a solution to this error but nothing I found works)

currently writing this using a hack to get into graphical interfce, by installing consolekit - rebooting - deleting consolekit, so sddm loads using consolekit (I guess) but then in order to enter KDE I delete consolekit and all of a sudden there's no collusion (until next boot)...
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 261

PostPosted: Sat Feb 08, 2020 6:01 pm    Post subject: Reply with quote

Update: so, an interesting development...
I decided to do away with systemd, which I only installed in order to check whether it could run a wayland session on nvidia (proprietary), as testing it with openrc seem to fail and I recently encountered a few threads on the internet of people saying they managed to get wayland working with proprietary nvidia drivers (such as this thread: https://forum.level1techs.com/t/video-card-recommendation-for-linux-wayland/113681/8 for instance).
Anyways, I reverted to openrc but this time with elogind instead of consolekit. What do you know - all of a sudden sddm doesn't work openrc either.
I should mention I have Nvidia geforce gtx 560 TI card and so I'm on the list of legacy drivers (https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/) which can only use up to 390.xx driver.

So what's causing the SDDM issue then? is it the G. card? the systemd logind component? some PAM misconfiguration? else?
it can't be the G. card nor the driver as it was working fine under consolekit.

The logs unfortunately don't assist much as they show nothing exceptional except the: (EE) Failed to open authorization file "/var/run/sddm/....
Which is there even when consolekit is installed, and even though I've enabled either or both haveged and RANDOM_TRUST_CPU (as per: https://wiki.gentoo.org/wiki/SDDM#Troubleshooting).

Finally, a little breakthrough, as I removed elogind daemon from boot runlevel (in contrast to recommendation in: https://wiki.gentoo.org/wiki/Elogind#Service), all of a sudden SDDM loads fine. the Xoeg log error is still there, however:
Code:
# rc-service elogind status
 * status: stopped


That means, I think, that the issue must be related to the logind component or perhaps a certain policy it enforces...
which one is it? I have no clue
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum