# # Check can set globbing config sections matching different seats # [Seat:*] autologin-user=have-password1 user-session=default [Seat:seat*Foo] autologin-user-timeout=99 [Seat:seatAAAFoo] autologin-user=have-password2 [Seat:seatBBB*] autologin-user=have-password3 #?*START-DAEMON #?RUNNER DAEMON-START # seat0 starts #?XSERVER-0 START VT=7 SEAT=seat0 #?*XSERVER-0 INDICATE-READY #?XSERVER-0 INDICATE-READY #?XSERVER-0 ACCEPT-CONNECT # Session starts for configured user #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1 #?LOGIN1 ACTIVATE-SESSION SESSION=c0 #?XSERVER-0 ACCEPT-CONNECT #?SESSION-X-0 CONNECT-XSERVER # Add seatAAAFoo #?*ADD-SEAT ID=seatAAAFoo # seatAAAFoo starts #?XSERVER-1 START SEAT=seatAAAFoo SHAREVTS=TRUE #?*XSERVER-1 INDICATE-READY #?XSERVER-1 INDICATE-READY #?XSERVER-1 ACCEPT-CONNECT # Greeter starts #?GREETER-X-1 START XDG_SEAT=seatAAAFoo XDG_SESSION_CLASS=greeter #?LOGIN1 ACTIVATE-SESSION SESSION=c1 #?XSERVER-1 ACCEPT-CONNECT #?GREETER-X-1 CONNECT-XSERVER #?GREETER-X-1 CONNECT-TO-DAEMON #?GREETER-X-1 CONNECTED-TO-DAEMON # Greeter is requested to timeout #?GREETER-X-1 AUTOLOGIN-USER USERNAME=have-password2 TIMEOUT=99 # Trigger autologin #?*GREETER-X-1 AUTHENTICATE-AUTOLOGIN #?GREETER-X-1 AUTHENTICATION-COMPLETE USERNAME=have-password2 AUTHENTICATED=TRUE #?*GREETER-X-1 START-SESSION #?GREETER-X-1 TERMINATE SIGNAL=15 # Session starts for configured user #?SESSION-X-1 START XDG_SEAT=seatAAAFoo XDG_GREETER_DATA_DIR=.*/have-password2 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password2 #?LOGIN1 ACTIVATE-SESSION SESSION=c2 #?XSERVER-1 ACCEPT-CONNECT #?SESSION-X-1 CONNECT-XSERVER # Add seatBBBFoo #?*ADD-SEAT ID=seatBBBFoo # seatBBBFoo starts #?XSERVER-2 START SEAT=seatBBBFoo SHAREVTS=TRUE #?*XSERVER-2 INDICATE-READY #?XSERVER-2 INDICATE-READY #?XSERVER-2 ACCEPT-CONNECT # Greeter starts #?GREETER-X-2 START XDG_SEAT=seatBBBFoo XDG_SESSION_CLASS=greeter #?LOGIN1 ACTIVATE-SESSION SESSION=c3 #?XSERVER-2 ACCEPT-CONNECT #?GREETER-X-2 CONNECT-XSERVER #?GREETER-X-2 CONNECT-TO-DAEMON #?GREETER-X-2 CONNECTED-TO-DAEMON # Greeter is requested to timeout #?GREETER-X-2 AUTOLOGIN-USER USERNAME=have-password3 TIMEOUT=99 # Trigger autologin #?*GREETER-X-2 AUTHENTICATE-AUTOLOGIN #?GREETER-X-2 AUTHENTICATION-COMPLETE USERNAME=have-password3 AUTHENTICATED=TRUE #?*GREETER-X-2 START-SESSION #?GREETER-X-2 TERMINATE SIGNAL=15 # Session starts for configured user #?SESSION-X-2 START XDG_SEAT=seatBBBFoo XDG_GREETER_DATA_DIR=.*/have-password3 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password3 #?LOGIN1 ACTIVATE-SESSION SESSION=c4 #?XSERVER-2 ACCEPT-CONNECT #?SESSION-X-2 CONNECT-XSERVER # Cleanup #?*STOP-DAEMON #?XSERVER-0 TERMINATE SIGNAL=15 #?SESSION-X-0 TERMINATE SIGNAL=15 #?XSERVER-1 TERMINATE SIGNAL=15 #?SESSION-X-1 TERMINATE SIGNAL=15 #?XSERVER-2 TERMINATE SIGNAL=15 #?SESSION-X-2 TERMINATE SIGNAL=15 #?RUNNER DAEMON-EXIT STATUS=0