#
# Check a PAM informational message on login is passed to a greeter
#

#?RUNNER DAEMON-START

# X server starts
#?XSERVER-0 START VT=7

# 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_SESSION_COOKIE=ck-cookie-x:0
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON

# Log into account and see an informational prompt
#?*GREETER-X-0 AUTHENTICATE USERNAME=info-prompt
#?GREETER-X-0 SHOW-MESSAGE TEXT="Welcome to LightDM"
#?GREETER-X-0 SHOW-PROMPT TEXT="Password:"

# Respond with password and check response is correctly handled
#?*GREETER-X-0 RESPOND TEXT="password"
#?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=info-prompt AUTHENTICATED=TRUE

# Cleanup
#?*STOP-DAEMON
#?GREETER-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0
