Question about fast user switching

William Jon McCann mccann at jhu.edu
Thu Apr 3 18:47:37 UTC 2008


Hi Reid,

On Thu, Apr 3, 2008 at 2:25 PM, Reid Rivenburgh <reidr at pobox.com> wrote:
>
> On Thu, Apr 3, 2008 at 11:17 AM, William Jon McCann <mccann at jhu.edu> wrote:
>  > Hi,
>  >
>  >  On Thu, Apr 3, 2008 at 11:32 AM, Reid Rivenburgh <reidr at pobox.com> wrote:
>  >  ...
>  >
>  > >  But now I'd like to use the built-in user switching, since it probably
>  >  >  does a better job of managing permissions and resources.  I have the
>  >  >  applet installed, so I can click on that, go to "Other...", and get
>  >  >  the gdm login.  That works fine.  But I don't know how to call it from
>  >  >  xautolock.  Is there a way to do that?  If not, should I submit a
>  >  >  bugzilla feature request?  I think I basically just need some way to
>  >  >  invoke it from the command line.
>  >
>  >  You should be able to add something like the attached script into your
>  >  system-wide session autostart configuration.
>
>  Great, thanks, Jon.  I will give it a try later.  I'm not quite sure I
>  understand what it's doing; I wasn't aware of gdmflexiserver.  Does it
>  need to run as root?

What it is doing is watching for messages from gnome-screensaver.
When it detects a message that indicates that the user session is idle
then it will run gdmflexiserver to cause a switch to a GDM login
screen.  The gdmflexiserver command will switch to an existing GDM
screen if one already exists on the current seat, or it will create a
new one and switch to it.

It does not have to run as root.

Jon




More information about the fedora-test-list mailing list