-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cosmic screenshot does not work when having PAM enabled. #68
Comments
I seem to have a similar problem
It might be related due to having modified the [terminal]
vt = "1"
[general]
service = "cosmic-greeter"
[default_session]
command = "cosmic-comp systemd-cat -t cosmic-greeter cosmic-greeter"
user = "cosmic-greeter"
[initial_session]
command = "cosmic-session"
user = "eduard" |
Ah yeah that's a good idea, here is my /etc/pam.d/cosmic-greeter # Account management.
account required /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_unix.so # unix (order 10900)
# Authentication management.
auth sufficient /nix/store/znz29vh4d4a3vswpzkh4v7izz28g18m6-fprintd-1.94.3/lib/security/pam_fprintd.so # fprintd (order 11400)
auth sufficient /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_unix.so likeauth try_first_pass # unix (order 11600)
auth required /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_deny.so # deny (order 12400)
# Password management.
password sufficient /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_unix.so nullok yescrypt # unix (order 10200)
# Session management.
session required /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_env.so conffile=/etc/pam/environment readenv=0 # env (order 10100)
session required /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_unix.so # unix (order 10200)
session required /nix/store/m5mhqggiq2pgq0q92pw8lwzilk08kary-linux-pam-1.6.1/lib/security/pam_limits.so conf=/nix/store/d5jz0d6fnf0v2gz6hzhy290lsmk1ggcj-limits.conf # limits (order 12200) |
This is actually really annoying because Cosmic also doesn't support |
I don't actually think this is a cosmic-screenshot issue but rather a cosmic-comp issue since apparently the |
Yeah other screenshot app also fail. Btw in my case it's sufficient to just log in and out to fix this behaviour |
Sadly that doesn't work for me since I just log in the same way with a finger print and it just fails the same way. Had to disable fingerprint for now :/ |
When using cosmic screenshot on a system with PAM (and fprintd) enabled the program always crashes with:
This is regardless of the actual login method used for first login, so happens both when login in with a fingerprint and password as long as the option to login with a fingerprint is enabled (but failed).
The text was updated successfully, but these errors were encountered: