← Back to team overview

ubuntu-multiseat team mailing list archive

Re: New lightdm packages with automatic multiseat support in main PPA

 

If I do that then lightdm only tries to start one seat.

See the lightdm.log? How do I tell it that I want two seats?

best,

Paulo

2014-08-18 16:13 GMT-03:00 Laércio de Sousa <lbsousajr@xxxxxxxxx>:
> Hi,
>
> If that's all you have in your lightdm.conf file, you can safely remove it,
> as property xdg-seat is automatically set. Those [AutoSeat:*] config
> sections will only be useful for settings like autologin-user and
> xserver-command.
>
> After cleaning up your lightdm.conf file, try to restart lightdm service.
>
> Kind regards,
>
> CANTATE DOMINO CANTICUM NOVUM
> QUIA MIRABILIA FECIT
>
> Laércio
>
>
> 2014-08-18 16:05 GMT-03:00 pjssilva@xxxxxxxxx <pjssilva@xxxxxxxxx>:
>
>> Hi,
>>
>> I am afraid the new packages completely broke my setup. I tried do
>> update my old lightdm.conf from
>>
>> ---- Original Lightdm.conf ----
>>
>> [Seat:0]
>> xdg-seat=seat0
>>
>> [Seat:1]
>> xdg-seat=seat1
>> xserver-vt=0
>>
>> -----------------------------------------
>>
>> To what I thought should be the new file
>>
>> -------- New lightdm.conf -----------
>> [AutoSeat:0]
>> xdg-seat=seat0
>>
>> [AutoSeat:1]
>> xdg-seat=seat1
>>
>> ----------------------------------------------
>>
>> But only seat1 starts. I don't know where to start to debug, as I am
>> not sure about what may be happening. I tried to look at the
>> /var/log/lightdm files, that I send attached. Almost everything looks
>> the same when comparing seat0 and seat1, but the x-1-greeter.log seems
>> to show problems that I don't know how to interpret.
>>
>> Any hints?
>>
>> Paulo
>>
>> 2014-08-15 17:15 GMT-03:00 Laércio de Sousa <lbsousajr@xxxxxxxxx>:
>> > Hello there!
>> >
>> > After some days of tests with successfull results, I'm now moving our
>> > latest
>> > lightdm packages for trusty to Ubuntu Multiseat main PPA.
>> >
>> > These packages contain two important patches:
>> >
>> > * Implement automatic multiseat support. Custom settings for
>> > automatically
>> > added seats can be set in [AutoSeat:*] sections (example: [AutoSeat:Foo]
>> > will match logind seat ID "seatFoo"). Related bug #1190581
>> >
>> > * Add new seat option start-local-sessions, which can be explicitly set
>> > to
>> > false in order to make lightdm start a bare (no greeter) X server
>> > (needed
>> > for Xephyr-based multiseat setups). Related bug #1356332
>> >
>> > Wiki page should be updated to reflect these new features. All previous
>> > manual seat configuration in lightdm.conf should be edited/removed.
>> >
>> > CANTATE DOMINO CANTICUM NOVUM
>> > QUIA MIRABILIA FECIT
>> >
>> > Laércio
>> >
>> > --
>> > Mailing list: https://launchpad.net/~ubuntu-multiseat
>> > Post to     : ubuntu-multiseat@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~ubuntu-multiseat
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>>
>>
>> --
>> Paulo José da Silva e Silva
>> Professor Associado, Dep. de Matemática Aplicada
>> (Associate Professor, Applied Mathematics Dept.)
>> University of Campinas - Brazil
>>
>> Web: http://www.ime.unicamp.br/~pjssilva
>
>



-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Matemática Aplicada
(Associate Professor, Applied Mathematics Dept.)
University of Campinas - Brazil

Web: http://www.ime.unicamp.br/~pjssilva
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.1, UID=0 PID=4666
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Start monitoring logind for new/removed seats
[+0.00s] DEBUG: Load initial seat list from logind
[+0.00s] DEBUG: Add seat for login1 seat path /org/freedesktop/login1/seat/seat0
[+0.00s] DEBUG: Seat 0: Starting
[+0.00s] DEBUG: Seat 0: Creating greeter session
[+0.00s] DEBUG: Seat 0: Creating display server of type x
[+0.00s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat 0: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: DisplayServer x-0: Launching X Server
[+0.01s] DEBUG: Launching process 4673: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1004 added
[+0.04s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.05s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.06s] DEBUG: User /org/freedesktop/Accounts/User1005 added
[+0.08s] DEBUG: User /org/freedesktop/Accounts/User1006 added
[+0.38s] DEBUG: Got signal 10 from process 4673
[+0.38s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.38s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.41s] DEBUG: Seat 0: Display server ready, starting session authentication
[+0.41s] DEBUG: Session pid=4716: Started with service 'lightdm-greeter', username 'lightdm'
[+0.51s] DEBUG: Session pid=4716: Authentication complete with return value 0: Success
[+0.51s] DEBUG: Seat 0: Session authenticated, running command
[+0.51s] DEBUG: Session pid=4716: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+0.51s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.51s] DEBUG: Session pid=4716: Logging to /var/log/lightdm/x-0-greeter.log
[+0.53s] DEBUG: Activating VT 7
[+0.53s] DEBUG: Activating login1 session /org/freedesktop/login1/session/c3
[+0.62s] DEBUG: Session pid=4716: Greeter connected version=1.10.1
[+0.78s] DEBUG: Session pid=4716: Greeter start authentication for pjssilva
[+0.78s] DEBUG: Session pid=4835: Started with service 'lightdm', username 'pjssilva'
[+0.79s] DEBUG: Session pid=4835: Got 1 message(s) from PAM
[+0.79s] DEBUG: Session pid=4716: Prompt greeter with 1 message(s)
[+11.75s] DEBUG: Session pid=4716: Continue authentication
[+12.32s] DEBUG: Session pid=4835: Authentication complete with return value 0: Success
[+12.32s] DEBUG: Session pid=4716: Authenticate result for user pjssilva: Success
[+12.32s] DEBUG: Session pid=4716: User pjssilva authorized
[+12.32s] DEBUG: Session pid=4716: Greeter requests session ubuntu
[+12.33s] DEBUG: Seat 0: Stopping greeter; display server will be re-used for user session
[+12.33s] DEBUG: Session pid=4716: Sending SIGTERM
[+12.34s] DEBUG: Session pid=4716: Exited with return value 0
[+12.34s] DEBUG: Seat 0: Session stopped
[+12.34s] DEBUG: Seat 0: Greeter stopped, running session
[+12.34s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+12.34s] DEBUG: Session pid=4835: Running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+12.34s] DEBUG: Creating shared data directory /var/lib/lightdm-data/pjssilva
[+12.34s] DEBUG: Session pid=4835: Logging to .xsession-errors
[+12.35s] DEBUG: Activating VT 7
[+12.35s] DEBUG: Activating login1 session /org/freedesktop/login1/session/c4
[+13.30s] DEBUG: User /org/freedesktop/Accounts/User1002 changed
[+13.34s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+13.46s] DEBUG: User /org/freedesktop/Accounts/User1004 changed
[+13.55s] DEBUG: User /org/freedesktop/Accounts/User1001 changed

Follow ups

References