Summary: | When logging out kdesktop should warn user if they opt to turn off or restart computer if other users are running processes | ||
---|---|---|---|
Product: | kdm | Reporter: | Nicholas Allen <nick.allen> |
Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | esigra |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nicholas Allen
2004-10-04 00:22:31 UTC
It's not just apps belonging to other users - I use VMWare to run Windoze sessions and my favourite mistake is closing down KDE while a VMWare session is running. I'd like some way of interfering with the logout/reboot/shutdown process so that running apps like this can be checked for and a message reported allowing the logout etc. to be cancelled. (Executing scripts in ~/.kde/shutdown and cancelling if any one of returns != 0 for instance) - Alan #1: Session management allows applications to cancel logout - so that's VMWare problem. for kdm-managed x sessions this already works. recognizing tty-based logins based on parsing utmp is on the todo list. check if the nx-session is shown in the output of the 'who' command - if not, i canĀ“t help you. uh, right, this is fixed in kde 3.4. This is a confirmation that the bug still exists or reappeared in KDE 3.5.10. 1. Start the computer. 2. Log in as user in KDM. 3. Switch to virtual terminal 1. 4. Log in as root. 5. Switch back to virtual terminal 7. 6. Start Konsole. 7. Execute "who". This shows both root and user. 8. Press Ctrl+Alt+Delete. 9. Press enter. This shuts off the computer without even a warning. Expected behaviour: A user is not allowed to end another user's session (especially not root's). (Someone might prefer to just have a warning as an option, but forbidding would suffice for me.) Even better would be if a user is can not shut down or reboot even if all other remaining sessions are his own. He would have to exit each of them (except the last one, from which me may shut down). That can prevent data loss but is not as important as protecting other user's (or root's) sessions. |