Summary: | x11/sddm: black/blank screen, if login is automated by deskutils/plasma5-sddm-kcm | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Graham Perrin <grahamperrin> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||
Status: | Closed DUPLICATE | ||||||
Severity: | Affects Some People | CC: | dev | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://www.freshports.org/x11/sddm/ | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272834 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272649 |
||||||
Attachments: |
|
Description
Graham Perrin
2023-08-17 06:55:48 UTC
Could you check the config files in /usr/local/etc/pam.d/sddm-autologin and /usr/local/etc/pam.d/sddm-autologin.default? They should look something like this: > #%PAM-1.0 > auth required pam_permit.so > #auth optional pam_gnome_keyring.so > #auth optional pam_kwallet5.so > > account include login > > password required pam_deny.so > > session include login > #session optional pam_gnome_keyring.so auto_start > #session optional pam_kwallet5.so auto_start May still be bug #272649. % diff /usr/local/etc/pam.d/sddm-autologin.default /usr/local/etc/pam.d/sddm-autologin % cat /usr/local/etc/pam.d/sddm-autologin #%PAM-1.0 auth required pam_env.so auth required pam_tally2.so file=/var/log/tallylog onerr=succeed auth required pam_shells.so auth required pam_nologin.so auth required pam_permit.so -auth optional pam_gnome_keyring.so -auth optional pam_kwallet5.so account include system-local-login password include system-local-login session include system-local-login -session optional pam_gnome_keyring.so auto_start -session optional pam_kwallet5.so auto_start % pkg iinfo x11/sddm sddm-0.20.0_2 % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 14.0-ALPHA1 FreeBSD 14.0-ALPHA1 amd64 1400094 #3 main-n264811-d1d7a273707a-dirty: Thu Aug 17 03:33:54 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400094 1400094 % (In reply to Florian Walpen from comment #1) > … May still be bug #272649. Hmm. My memory of when I made that report (2023-07-22) is that auto-login was not enabled. IIRC when I ceased using the feature, the decision to cease using was not bug-related. My memory may be mistaken. Re: bug 272649 comment 3, /usr/local/etc/pam.d/sddm-autologin no longer has the line that I commented out. Whilst I can't get my head around which of the commits led to this change: I'm happy that I no longer get the black/blank screen, so I'm closing this as a duplicate. (In reply to Florian Walpen from comment #1) % pkg query %v sddm 0.20.0_3 % grep -v \# /usr/local/etc/pam.d/sddm-autologin | uniq auth required pam_permit.so account include login password required pam_deny.so session include login % cat /usr/local/etc/pam.d/sddm-autologin #%PAM-1.0 auth required pam_permit.so #auth optional pam_gnome_keyring.so #auth optional pam_kwallet5.so account include login password required pam_deny.so session include login #session optional pam_gnome_keyring.so auto_start #session optional pam_kwallet5.so auto_start % date ; uname -aKU Fri 1 Sep 2023 01:21:08 BST FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #9 main-n265053-315ee00fa961-dirty: Mon Aug 28 03:23:49 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500000 1500000 % *** This bug has been marked as a duplicate of bug 272649 *** |