Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sddm issues [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Sun Feb 18, 2018 4:05 pm    Post subject: sddm issues [solved] Reply with quote

Hi,

I am currently unable to use sddm as login manager. I have sddm 0.17.0-r1 (pam systemd -consolekit -elogind -test)
smmd-kcm 5.11.5, xorg-server-1.19.5 (systemd -wayland and many other flags), nvidia-drivers 387.22
When the system starts, I can see sddm starting. However, once it gets to the line [OK] Reached target Graphical Interface, it stops.
The login/greeter screen never appears. I can switch to a tty and login to a shell. There are no errors showing in sddm.log nor in Xorg.0.log

Any thoughts as to a possible solution. My temporary solution of using lightdm has also stopped working (see separate thread)


Thanks

Chris


Last edited by cmprior on Mon Feb 19, 2018 9:20 am; edited 1 time in total
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Sun Feb 18, 2018 6:33 pm    Post subject: Reply with quote

Does X work generally? Can you put your appropriate wm/de in ~/.xinitrc, run startx and have it start correctly?

If X doesn't work generally -- I notice you mention using nvidia-drivers. Is it possible you may have updated/changed your kernel since the last time you installed nvidia-drivers? They do not compile against your kernel each time you install a new one, so you'll have to manually re-install nvidia-drivers each time you update your kernel.
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Sun Feb 18, 2018 9:03 pm    Post subject: Reply with quote

X is generally working. I can use lightdm for one user and load a plasma desktop.
Its sddm that seems to fail since the plasma 5.11.5 update.
Back to top
View user's profile Send private message
PrSo
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2017
Posts: 136

PostPosted: Sun Feb 18, 2018 9:16 pm    Post subject: Reply with quote

Please, remove
Code:
/var/lib/sddm/.cache
and try to login with sddm again.

Did you update mesa recently?
If so please, remove
Code:
~/.cache
and try to login again.
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Mon Feb 19, 2018 9:19 am    Post subject: Reply with quote

Removing the cache had no effect.
Based on comments in other areas, I have downgraded the version of sddm to 0.15 and this has solved the problem, so it seems to be an issue with sddm 0.17 and some other component of the system (maybe xorg or nvidia-drivers or plasma)

Thanks for your help
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Mon Feb 19, 2018 9:21 am    Post subject: Reply with quote

sddm is independent of Plasma.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Wed Feb 21, 2018 9:48 am    Post subject: Reply with quote

FWIW, a Radeon HD 7750/8740 / R7 250E, mesa-18.0.0_rc4, and sddm-0.15.0:0 have been working good on two Gentoo systems for me. Same mesa and sddm versions also works fine on my other Gentoo system with with an older Radeon HD 6570.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Aug 14, 2018 4:22 pm    Post subject: Reply with quote

Exactly the same problem here, I've been stuck on sddm-0.15.0 for ages.
My package.mask where I kept track of all the non-working versions is becoming comical:
Code:

# Black screen on boot
=x11-misc/sddm-0.16.0
=x11-misc/sddm-0.16.0-r1
=x11-misc/sddm-0.16.0-r3
=x11-misc/sddm-0.17.0-r4
=x11-misc/sddm-0.17.0-r3
=x11-misc/sddm-0.17.0-r2
=x11-misc/sddm-0.17.0-r1
=x11-misc/sddm-0.18.0


There are no errors in any logs that I can see; which makes debugging this extremely difficult.
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
hajit
n00b
n00b


Joined: 07 Sep 2007
Posts: 9
Location: Russia

PostPosted: Sun Aug 26, 2018 5:21 pm    Post subject: Reply with quote

same here, 0.15.0 works fine, all above - sddm starts, but doing nothing, not starting X

and the only logs i found is
journalctl -b --unit=sddm.service
Code:
авг 26 19:41:33 hajithost systemd[1]: Started Simple Desktop Display Manager.
авг 26 19:41:34 hajithost sddm[2497]: Initializing...
авг 26 19:41:34 hajithost sddm[2497]: Starting...
авг 26 19:41:34 hajithost sddm[2497]: Logind interface found

systemctl status sddm
Code:
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2018-08-26 19:41:33 MSK; 2min 42s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
 Main PID: 2497 (sddm)
    Tasks: 2 (limit: 4915)
   Memory: 17.5M
   CGroup: /system.slice/sddm.service
           └─2497 /usr/bin/sddm

авг 26 19:41:33 hajithost systemd[1]: Started Simple Desktop Display Manager.
авг 26 19:41:34 hajithost sddm[2497]: Initializing...
авг 26 19:41:34 hajithost sddm[2497]: Starting...
авг 26 19:41:34 hajithost sddm[2497]: Logind interface found


and this is from working 0.15.0
journalctl -b --unit=sddm.service
Code:
авг 26 19:47:34 hajithost systemd[1]: Started Simple Desktop Display Manager.
авг 26 19:47:34 hajithost sddm[2500]: Initializing...
авг 26 19:47:34 hajithost sddm[2500]: Starting...
авг 26 19:47:34 hajithost sddm[2500]: Adding new display on vt 1 ...
авг 26 19:47:34 hajithost sddm[2500]: Display server starting...
авг 26 19:47:34 hajithost sddm[2500]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{0f192a82-b698-45d0-8dee-bb3b8f753aea} -background none -noreset -displayfd 17 vt1
авг 26 19:47:35 hajithost sddm[2500]: Setting default cursor
авг 26 19:47:35 hajithost sddm[2500]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
авг 26 19:47:35 hajithost sddm[2500]: Display server started.
авг 26 19:47:35 hajithost sddm[2500]: Socket server starting...
авг 26 19:47:35 hajithost sddm[2500]: Socket server started.
авг 26 19:47:35 hajithost sddm[2500]: Greeter starting...
авг 26 19:47:35 hajithost sddm[2500]: Adding cookie to "/var/run/sddm/{0f192a82-b698-45d0-8dee-bb3b8f753aea}"
авг 26 19:47:35 hajithost sddm-helper[2515]: PAM unable to dlopen(/lib64/security/pam_elogind.so): /lib64/security/pam_elogind.so: cannot open shared object file: No such file or directory
авг 26 19:47:35 hajithost sddm-helper[2515]: PAM adding faulty module: /lib64/security/pam_elogind.so
авг 26 19:47:35 hajithost sddm-helper[2515]: [PAM] Starting...
авг 26 19:47:35 hajithost sddm-helper[2515]: [PAM] Authenticating...
авг 26 19:47:35 hajithost sddm-helper[2515]: [PAM] returning.
авг 26 19:47:35 hajithost sddm-helper[2515]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
авг 26 19:47:35 hajithost sddm[2500]: Greeter session started successfully
авг 26 19:47:36 hajithost sddm[2500]: Message received from greeter: Connect
авг 26 19:47:41 hajithost sddm[2500]: Message received from greeter: Login
авг 26 19:47:41 hajithost sddm[2500]: Reading from "/usr/share/xsessions/plasma.desktop"
авг 26 19:47:41 hajithost sddm[2500]: Reading from "/usr/share/xsessions/plasma.desktop"
авг 26 19:47:41 hajithost sddm[2500]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startkde"
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] Starting...
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] Authenticating...
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] Preparing to converse...
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] Conversation with 1 messages
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] returning.
авг 26 19:47:41 hajithost sddm[2500]: Authenticated successfully
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_unix(sddm:session): session opened for user rag by (uid=0)
авг 26 19:47:41 hajithost sddm[2500]: Auth: sddm-helper exited successfully
авг 26 19:47:41 hajithost sddm[2500]: Greeter stopped.
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
авг 26 19:47:41 hajithost sddm-helper[2595]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
авг 26 19:47:41 hajithost sddm[2500]: Session started

systemctl status sddm
Code:
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2018-08-26 19:47:34 MSK; 20min ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
 Main PID: 2500 (sddm)
    Tasks: 4 (limit: 4915)
   Memory: 87.1M
   CGroup: /system.slice/sddm.service
           ├─2500 /usr/bin/sddm
           └─2502 /usr/libexec/Xorg -nolisten tcp -auth /var/run/sddm/{0f192a82-b698-45d0-8dee-bb3b8f753aea} -background none -noreset -displayfd 17 vt1

авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
авг 26 19:47:41 hajithost sddm-helper[2595]: [PAM] returning.
авг 26 19:47:41 hajithost sddm[2500]: Authenticated successfully
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_unix(sddm:session): session opened for user rag by (uid=0)
авг 26 19:47:41 hajithost sddm[2500]: Auth: sddm-helper exited successfully
авг 26 19:47:41 hajithost sddm[2500]: Greeter stopped.
авг 26 19:47:41 hajithost sddm-helper[2595]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
авг 26 19:47:41 hajithost sddm-helper[2595]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
авг 26 19:47:41 hajithost sddm[2500]: Session started


I don't know where to even start looking for what can be wrong
can someone without problem post his journalctl -b --unit=sddm.service to see what he is doing after that "Logind interface found"
and is there any other "log" that sddm writing?
Back to top
View user's profile Send private message
harp
n00b
n00b


Joined: 03 Jul 2012
Posts: 4

PostPosted: Tue Aug 28, 2018 4:55 pm    Post subject: Reply with quote

I have the same problem.

Downgrading to 0.15 fixed it as well.
But do we really consider that as a valid solution?

Where can I find logs that reveal why 0.17 and 0.18 fail?
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sun Sep 02, 2018 1:22 pm    Post subject: Reply with quote

For those following this thread, I have split into a new topic here:
https://forums.gentoo.org/viewtopic-t-1085960-highlight-.html

I figured the solved title is misleading as being stuck on a 1 year old version cannot be the solution.
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
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