suspend/hibernate/shutdown under multiseat?

Matt Price matt.price at utoronto.ca
Wed Apr 1 21:14:34 UTC 2009


hi,

I'm setting up a multiseat system (jaunty, 64-bit).  Pretty much
everything is working fine, except that I would like to enable either
user to initiate a hibernate or suspend command.  I know this is
counter-intuitive, but this is for a system in which it's convenient to
always have the 2 users logged in, but it's very unlikely they'll be
using the system at the same time.  By default, the shutdown and restart
options are not shown un the fast-user-switch-applet, and the suspend
and hibernate are disabled, when more than one gdm server is running.  I
ran dbus-watch and got this on activating a suspend command:
----------------------
method call sender=:1.48 -> dest=org.freedesktop.DBus serial=18
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=GetNameOwner
   string "org.freedesktop.PowerManagement"
method call sender=:1.48 -> dest=:1.34 serial=19
path=/org/freedesktop/PowerManagement;
interface=org.freedesktop.PowerManagement; member=Suspend
method call sender=:1.34 -> dest=:1.70 serial=27
path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver;
member=Lock
method call sender=:1.34 -> dest=:1.70 serial=28
path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver;
member=GetActive
signal sender=:1.70 -> dest=(null destination) serial=13
path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver;
member=SessionIdleChanged
   boolean true
signal sender=:1.70 -> dest=(null destination) serial=14
path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver;
member=ActiveChanged
   boolean true
method return sender=:1.70 -> dest=:1.34 reply_serial=28
   boolean true
signal sender=:1.2 -> dest=(null destination) serial=74
path=/org/gnome/SessionManager/Presence;
interface=org.gnome.SessionManager.Presence; member=StatusChanged

---------------------------
does any of this suggest a place where I might look to set up a system
in which multiple gdm servers do NOT inhibit powermanagement?  And is
there a blueprint somewhere that lays out the suspend/hibernate
architecture for jaunty?  I know it's been changing fast.  

Thanks much for your help,

Matt

ps if there's a better list to send this to, please let me know, and
sorry for the noise on this one. 


-- 
Matt Price
matt.price at utoronto.ca




More information about the Ubuntu-devel-discuss mailing list