diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-06-30 17:00:29 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-06-30 17:00:29 +1200 |
commit | 25d7b5410b6f7133b4c8b7bf9fe58d8ea1ecefe3 (patch) | |
tree | e0b78eb28e7a03bb363690520f851c4035581480 /tests/scripts | |
parent | cbe2f863a841b8a9e33144ba8f4ca70b0586d517 (diff) | |
download | lightdm-git-25d7b5410b6f7133b4c8b7bf9fe58d8ea1ecefe3.tar.gz |
Do timed autologin each time you are returned to the greeter
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/autologin-timeout-logout.conf | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/tests/scripts/autologin-timeout-logout.conf b/tests/scripts/autologin-timeout-logout.conf new file mode 100644 index 00000000..69615431 --- /dev/null +++ b/tests/scripts/autologin-timeout-logout.conf @@ -0,0 +1,73 @@ +# +# Check logging out after autologin returns to greeter and does timed login again +# + +[SeatDefaults] +autologin-user=have-password1 +autologin-user-timeout=99 +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 + +# Greeter starts +#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter +#?LOGIN1 ACTIVATE-SESSION SESSION=c0 +#?XSERVER-0 ACCEPT-CONNECT +#?GREETER-X-0 CONNECT-XSERVER +#?GREETER-X-0 CONNECT-TO-DAEMON +#?GREETER-X-0 CONNECTED-TO-DAEMON + +# Greeter is requested to timeout +#?GREETER-X-0 AUTOLOGIN-USER USERNAME=have-password1 TIMEOUT=99 + +# Trigger autologin +#?*GREETER-X-0 AUTHENTICATE-AUTOLOGIN +#?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE +#?*GREETER-X-0 START-SESSION +#?GREETER-X-0 TERMINATE SIGNAL=15 + +# Session starts +#?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=c1 +#?XSERVER-0 ACCEPT-CONNECT +#?SESSION-X-0 CONNECT-XSERVER + +# Logout session +#?*SESSION-X-0 LOGOUT + +# X server stops +#?XSERVER-0 TERMINATE SIGNAL=15 + +# 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 + +# Greeter starts +#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter +#?LOGIN1 ACTIVATE-SESSION SESSION=c2 +#?XSERVER-0 ACCEPT-CONNECT +#?GREETER-X-0 CONNECT-XSERVER +#?GREETER-X-0 CONNECT-TO-DAEMON +#?GREETER-X-0 CONNECTED-TO-DAEMON + +# Greeter is requested to timeout +#?GREETER-X-0 AUTOLOGIN-USER USERNAME=have-password1 TIMEOUT=99 + +# Cleanup +#?*STOP-DAEMON +#?GREETER-X-0 TERMINATE SIGNAL=15 +#?XSERVER-0 TERMINATE SIGNAL=15 +#?RUNNER DAEMON-EXIT STATUS=0 |