Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Session logged in from cdm not active in utmp #4

andres-erbsen opened this Issue Jul 15, 2012 · 0 comments


None yet
1 participant

CDM proccess pid is added to utmp (logged in users file), but after CDM starts the X session and exits, the user does not appear to be logged in anymore. The conventional solution to this seems to be starting user session on the same pid using exec, but this tends to leave the initial tty vulnerable to tampering after using CTRL + C (even if the X session may be locked).

This makes "w", "who" and "users" commands not report the user and "last" shows the duration of cdm menu being displayed as session duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment