On Thu, 2009-08-13 at 14:29 +0800, Edward Shu wrote:
> > SessionSeat1Local:
> > unix-user = '50'
> > realname = 'GDM Reserved UID'
> > seat = 'Seat1'
> > session-type = 'LoginWindow'
> > display-type = 'Local'
> > 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-11T06:46:42.941134Z'
> > login-session-id = ''
> > idle-since-hint = ''
> > [/quote]
> >
> > Regards,
> > Halton.
> >
> Thanks for your clarification. One more question, how do we define the
> "seat"?
> From the description of "Seat1", it looks like that a seat is directly
> connected
> to one console device without designating mouse and keyboard devices.
In section 4.1 said "ConsoleKit groups sessions by seats which represent
a set of hardware (usually a keyboard and mouse)."
I just send a update to Brian which adding a new section 4.1.10 to
explain the Seat configuration file. There is a Key called Devices to
identify the devices list. This key is defined for future use.
[quote]
4.1.10 Detail About Seat configuration file
ConsoleKit load static seat configuration files from
/etc/ConsoleKit/seats.d. One .seat file stands for one static
configured seat to start.
By default, there is one .seat file available: 00-primary.seat.
Administrators could put customized .seat files.
Following are explanation for each key of 00-primary.seat
# Seat Entry section
[Seat Entry]
# Version information
Version=1.0
# Name of this seat
Name=Primary seat
# Description of this seat
Description=start one static local display at :0
# Indicate whether to create this seat or not. If it is set
true,
# then CK will not create this seat. Default value is false.
Hidden=false
# Indicate input/output devices including keyboard-pointer-video
# card-monitor-sound-usb devices,
# This key is not used now, it might need be divided into
several
# keys in the future:
# Pointer=
# Monitor=
# VideoCard=
# Monitor=
# UsbHub=
Devices=
# List of sessions to start on the seat, separated by ';'
# Each session is defined in sessions.d/
Sessions=Local;
[/quote]
Thanks,
Halton.