# # Check can log into a remote X server # [Seat:*] type=xremote user-session=default xserver-hostname=127.0.0.1 xserver-display-number=98 # Start a remote X server to use #?*START-XSERVER ARGS=":98 -listen tcp" #?XSERVER-98 START LISTEN-TCP #?*START-DAEMON #?RUNNER DAEMON-START # LightDM connects to X server #?XSERVER-98 ACCEPT-CONNECT # Greeter starts #?GREETER-X-127.0.0.1:98 START XDG_SEAT=seat0 XDG_SESSION_CLASS=greeter #?LOGIN1 ACTIVATE-SESSION SESSION=c0 #?XSERVER-98 ACCEPT-CONNECT #?GREETER-X-127.0.0.1:98 CONNECT-XSERVER #?GREETER-X-127.0.0.1:98 CONNECT-TO-DAEMON #?GREETER-X-127.0.0.1:98 CONNECTED-TO-DAEMON # Log into account with a password #?*GREETER-X-127.0.0.1:98 AUTHENTICATE USERNAME=have-password1 #?GREETER-X-127.0.0.1:98 SHOW-PROMPT TEXT="Password:" #?*GREETER-X-127.0.0.1:98 RESPOND TEXT="password" #?GREETER-X-127.0.0.1:98 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE #?*GREETER-X-127.0.0.1:98 START-SESSION #?GREETER-X-127.0.0.1:98 TERMINATE SIGNAL=15 # Session starts #?SESSION-X-127.0.0.1:98 START XDG_SEAT=seat0 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1 #?LOGIN1 ACTIVATE-SESSION SESSION=c1 #?XSERVER-98 ACCEPT-CONNECT #?SESSION-X-127.0.0.1:98 CONNECT-XSERVER # Cleanup #?*STOP-DAEMON #?SESSION-X-127.0.0.1:98 TERMINATE SIGNAL=15 #?RUNNER DAEMON-EXIT STATUS=0