# # Check can lock a seat from D-Bus using ConsoleKit # [test-runner-config] disable-login1=true [Seat:*] autologin-user=have-password1 user-session=default #?*START-DAEMON #?RUNNER DAEMON-START # X server starts #?XSERVER-0 START VT=7 SEAT=seat0 # Daemon connects when X server is ready #?*XSERVER-0 INDICATE-READY #?XSERVER-0 INDICATE-READY #?XSERVER-0 ACCEPT-CONNECT # Session starts #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 XDG_SESSION_COOKIE=ck-cookie-x:0 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1 #?CONSOLE-KIT ACTIVATE-SESSION SESSION=ck-cookie-x:0 #?XSERVER-0 ACCEPT-CONNECT #?SESSION-X-0 CONNECT-XSERVER # Lock the seat #?*SESSION-X-0 LOCK-SEAT #?SESSION-X-0 LOCK-SEAT # New X server starts #?XSERVER-1 START VT=8 SEAT=seat0 # Daemon connects when X server is ready #?*XSERVER-1 INDICATE-READY #?XSERVER-1 INDICATE-READY #?XSERVER-1 ACCEPT-CONNECT # Session is locked #?CONSOLE-KIT LOCK-SESSION # Greeter starts #?GREETER-X-1 START XDG_SEAT=seat0 XDG_VTNR=8 XDG_SESSION_COOKIE=ck-cookie-x:1 XDG_SESSION_CLASS=greeter #?XSERVER-1 ACCEPT-CONNECT #?GREETER-X-1 CONNECT-XSERVER #?GREETER-X-1 CONNECT-TO-DAEMON #?GREETER-X-1 CONNECTED-TO-DAEMON #?GREETER-X-1 LOCK-HINT # Switch to greeter #?CONSOLE-KIT ACTIVATE-SESSION SESSION=ck-cookie-x:1 #?VT ACTIVATE VT=8 # Cleanup #?*STOP-DAEMON #?SESSION-X-0 TERMINATE SIGNAL=15 #?XSERVER-0 TERMINATE SIGNAL=15 #?GREETER-X-1 TERMINATE SIGNAL=15 #?XSERVER-1 TERMINATE SIGNAL=15 #?RUNNER DAEMON-EXIT STATUS=0