Question about fast user switching
Reid Rivenburgh
reidr at pobox.com
Thu Apr 3 19:16:47 UTC 2008
On Thu, Apr 3, 2008 at 12:47 PM, William Jon McCann <mccann at jhu.edu> wrote:
> 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.
Well, that certainly sounds perfect. If I'd only known about the
powers of dbus-monitor and gdmflexiserver, but I had no idea to even
look for those things. Thanks again!
Reid
More information about the fedora-test-list
mailing list