~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to tests/scripts/autologin-timeout.conf

  • Committer: Robert Ancell
  • Date: 2012-09-20 05:33:28 UTC
  • Revision ID: robert.ancell@canonical.com-20120920053328-f4v36svg7cno5d9d
Correctly implement and test autologin timeouts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Check automatically logs in default user
 
3
#
 
4
 
 
5
[LightDM]
 
6
minimum-display-number=50
 
7
 
 
8
[SeatDefaults]
 
9
autologin-user=have-password1
 
10
autologin-user-timeout=1
 
11
 
 
12
#?RUNNER DAEMON-START
 
13
 
 
14
# X server starts
 
15
#?XSERVER :50 START
 
16
#?XSERVER :50 INDICATE-READY
 
17
 
 
18
# LightDM connects to X server
 
19
#?XSERVER :50 ACCEPT-CONNECT
 
20
 
 
21
# Greeter starts
 
22
#?GREETER :50 START
 
23
#?XSERVER :50 ACCEPT-CONNECT
 
24
#?GREETER :50 CONNECT-XSERVER
 
25
#?GREETER :50 CONNECT-TO-DAEMON
 
26
#?GREETER :50 CONNECTED-TO-DAEMON
 
27
 
 
28
# Autologin timer expires
 
29
#?GREETER :50 AUTOLOGIN-TIMER-EXPIRED
 
30
 
 
31
# Trigger autologin
 
32
#?*GREETER :50 AUTHENTICATE-AUTOLOGIN
 
33
#?GREETER :50 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE
 
34
#?*GREETER :50 START-SESSION
 
35
#?GREETER :50 TERMINATE SIGNAL=15
 
36
 
 
37
# Session starts
 
38
#?SESSION :50 START USER=have-password1
 
39
#?XSERVER :50 ACCEPT-CONNECT
 
40
#?SESSION :50 CONNECT-XSERVER
 
41
 
 
42
# Cleanup
 
43
#?*STOP-DAEMON
 
44
# Don't know what order they will terminate
 
45
#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
 
46
#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
 
47
#?RUNNER DAEMON-EXIT STATUS=0