The session indicator is what's actually used to start the restart/shutdown process. It already tracks the current login sessions (via logind) and either instigates the shutdown dialog via Unity or uses Zenity to display an alternative shutdown dialog. It needs to modify its Zenity dialog and add additional information (userlist?) when sending its request to Unity, and Unity needs to be modified to handle that data,.
** Also affects: indicator-session (Ubuntu) Importance: Undecided Status: New ** Changed in: indicator-session (Ubuntu) Importance: Undecided => Medium ** Changed in: indicator-session (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity in Ubuntu. Matching subscriptions: dp-unity https://bugs.launchpad.net/bugs/1281058 Title: The system shutdowns when multiple accounts are open Status in Ayatana Design: New Status in OEM Priority Project: New Status in “indicator-session” package in Ubuntu: Triaged Status in “systemd” package in Ubuntu: Triaged Status in “unity” package in Ubuntu: Triaged Status in “unity-greeter” package in Ubuntu: Triaged Bug description: Steps to reproduce: 1) Create a second account in the system 2) While the first account is open, open a session with the second one 3) Try to shutdown the system Expected results: The system logs out instead of shutting down (ideally with a warning on why it did that) Actual results: The system shutdowns and unsaved data on session1 is lost ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unity 7.1.2+14.04.20131106.1-0ubuntu4 ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2 Uname: Linux 3.13.0-8-generic x86_64 ApportVersion: 2.13.2-0ubuntu2 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CurrentDesktop: Unity Date: Mon Feb 17 11:49:48 2014 InstallationDate: Installed on 2013-06-17 (244 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) SourcePackage: unity UpgradeStatus: Upgraded to trusty on 2014-01-20 (27 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ayatana-design/+bug/1281058/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp