Summary: | Creates an inactive session for gdm sessions | ||
---|---|---|---|
Product: | ConsoleKit | Reporter: | Martin Pitt <martin.pitt> |
Component: | PAM module | Assignee: | william.jon.mccann |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Add "nox11" PAM module option |
Description
Martin Pitt
2008-07-16 14:00:08 UTC
Probably should not be using the CK PAM module in the stack that GDM uses. I would recommend that you only use the PAM module for "login". Right, that indeed works better. I just wondered whether this can simply be declared as 'misconfiguration' or whether CK should handle this a little more gracefully in CK or also PK. However, that will become handwavy very quickly, I guess. So feel freel to close this if you think there's nothing to be improved in CK. Thanks, Martin Created attachment 18107 [details] [review] Add "nox11" PAM module option I pondered this problem from various angles now. Using /etc/pam.d/login is not a great solution for us (for various technical reasons), ck_get_active_console_num() cannot be used in the PAM module (only linked to the client-side lib, and -sysdeps.c is only in the server), introducing Linux specific code into the PAM module is bad, and exclusively using the PAM module and disabling CK support in gdm doesn't work because then the PAM module doesn't get to know the real TTY. Anyway, this is the solution I'd like to use now. It does not change the default behaviour, but adds an option "nox11" which will only create sessions for real VTs, not for X11 displays. It's tiny, so I'm happy enough to maintain it as a patch in Ubuntu, but of course I'd welcome applying upstream. Thank you! Hey, sorry for the long delay. This seems reasonable. I've committed this to master. Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.