[ConsoleKit] Two sessions after user login

Halton Huo Halton.Huo at Sun.COM
Thu Aug 20 00:00:24 PDT 2009


Ray Strode 写道: 
> Hey,
> 
>   
> > With branch multi-seat, when a user get log in, there will be two
> > sessions as following:
> > 
> > SessionSeat1Local:
> >        unix-user = '0'
> >        realname = 'Super-User'
> >        seat = 'Seat1'
> >        session-type = 'LoginWindow'
> >        display-type = 'Local'
> >        open = 'FALSE'
> >        active = 'FALSE'
> >        x11-display = ''
> >        x11-display-device = ''
> >        display-device = ''
> >        remote-host-name = ''
> >        is-local = 'TRUE'
> >        on-since = '2009-08-11T07:23:34.893840Z'
> >        login-session-id = ''
> >        idle-since-hint = ''
> > Session1:
> >        unix-user = '150184'
> >        realname = '(null)'
> >        seat = 'Seat1'
> >        session-type = ''
> >        display-type = ''
> >        open = 'TRUE'
> >        active = 'TRUE'
> >        x11-display = ':0'
> >        x11-display-device = '/dev/console'
> >        display-device = '/dev/console'
> >        remote-host-name = ''
> >        is-local = 'TRUE'
> >        on-since = '2009-08-11T07:23:34.956834Z'
> >        login-session-id = ''
> >        idle-since-hint = ''
> > 
> > Is it a bug or by design?
> >     
> I think that's okay.  Note it says the greeter session isn't open.  We
> should probably filter closed sessions from list by default (and show
> them only if --all is passed or something).
>   
Ray,

--all is added to ck-list-sessions on multi-seat branch.

Could you explain why keep a closed session "SessionSeat1Local" rather
than close it?

Thanks,
Halton.




More information about the ConsoleKit mailing list