~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to tests/scripts/switch-to-user.conf

  • Committer: Robert Ancell
  • Date: 2014-03-13 02:15:38 UTC
  • Revision ID: robert.ancell@canonical.com-20140313021538-u2mxfxrrfw5u58ic
Tags: 1.4.7
Releasing 1.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Check that switching to a user shows the greeter
 
3
#
 
4
 
 
5
[SeatDefaults]
 
6
autologin-user=no-password1
 
7
user-session=default
 
8
 
 
9
#?RUNNER DAEMON-START
 
10
#?*WAIT
 
11
 
 
12
# X server starts
 
13
#?XSERVER-0 START VT=7
 
14
 
 
15
# Daemon connects when X server is ready
 
16
#?*XSERVER-0 INDICATE-READY
 
17
#?XSERVER-0 INDICATE-READY
 
18
#?XSERVER-0 ACCEPT-CONNECT
 
19
 
 
20
# Session starts
 
21
#?SESSION-X-0 START XDG_SESSION_COOKIE=ck-cookie-x:0 USER=no-password1
 
22
#?XSERVER-0 ACCEPT-CONNECT
 
23
#?SESSION-X-0 CONNECT-XSERVER
 
24
 
 
25
# Switch to an account with a password
 
26
#?*SWITCH-TO-USER USERNAME=have-password1
 
27
#?RUNNER SWITCH-TO-USER USERNAME=have-password1
 
28
 
 
29
# New X server starts
 
30
#?XSERVER-1 START VT=8
 
31
 
 
32
# Daemon connects when X server is ready
 
33
#?*XSERVER-1 INDICATE-READY
 
34
#?XSERVER-1 INDICATE-READY
 
35
#?XSERVER-1 ACCEPT-CONNECT
 
36
 
 
37
# Session is locked
 
38
#?CONSOLE-KIT LOCK-SESSION
 
39
 
 
40
# Greeter starts
 
41
#?GREETER-X-1 START XDG_SESSION_COOKIE=ck-cookie-x:1
 
42
#?XSERVER-1 ACCEPT-CONNECT
 
43
#?GREETER-X-1 CONNECT-XSERVER
 
44
#?GREETER-X-1 CONNECT-TO-DAEMON
 
45
#?GREETER-X-1 CONNECTED-TO-DAEMON
 
46
 
 
47
# Switch to greeter
 
48
#?VT ACTIVATE VT=8
 
49
 
 
50
# Requested user is automatically selected
 
51
#?GREETER-X-1 SELECT-USER-HINT USERNAME=have-password1
 
52
#?*GREETER-X-1 AUTHENTICATE USERNAME=have-password1
 
53
#?GREETER-X-1 SHOW-PROMPT TEXT="Password:"
 
54
 
 
55
# Cleanup
 
56
#?*STOP-DAEMON
 
57
#?SESSION-X-0 TERMINATE SIGNAL=15
 
58
#?XSERVER-0 TERMINATE SIGNAL=15
 
59
#?GREETER-X-1 TERMINATE SIGNAL=15
 
60
#?XSERVER-1 TERMINATE SIGNAL=15
 
61
#?RUNNER DAEMON-EXIT STATUS=0