# # Check can log into a guest account via XDMCP # [LightDM] start-default-seat=false [XDMCPServer] enabled=true [Seat:*] user-session=default #?*START-DAEMON #?RUNNER DAEMON-START #?*WAIT # Start a remote X server to log in with XDMCP #?*START-XSERVER ARGS=":98 -query 127.0.0.1 -nolisten unix" #?XSERVER-98 START LISTEN-TCP NO-LISTEN-UNIX # Start sending XDMCP queries #?*XSERVER-98 START-XDMCP #?XSERVER-98 SEND-QUERY # Negotiate with daemon #?XSERVER-98 GOT-WILLING AUTHENTICATION-NAME="" HOSTNAME="" STATUS="" #?*XSERVER-98 SEND-REQUEST ADDRESSES="127.0.0.1" AUTHORIZATION-NAMES="MIT-MAGIC-COOKIE-1" MFID="TEST XSERVER" #?XSERVER-98 GOT-ACCEPT SESSION-ID=[0-9]* AUTHENTICATION-NAME="" AUTHORIZATION-NAME="MIT-MAGIC-COOKIE-1" #?*XSERVER-98 SEND-MANAGE # LightDM connects to X server #?XSERVER-98 ACCEPT-CONNECT # Greeter starts and connects to remote X server #?GREETER-X-127.0.0.1:98 START 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 in #?*GREETER-X-127.0.0.1:98 AUTHENTICATE-GUEST #?GREETER-X-127.0.0.1:98 AUTHENTICATION-COMPLETE AUTHENTICATED=TRUE #?*GREETER-X-127.0.0.1:98 START-SESSION #?GREETER-X-127.0.0.1:98 TERMINATE SIGNAL=15 # Guest account created #?GUEST-ACCOUNT ADD USERNAME=guest-.* # Guest session starts #?SESSION-X-127.0.0.1:98 START XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=guest-.* #?LOGIN1 ACTIVATE-SESSION SESSION=c1 #?XSERVER-98 ACCEPT-CONNECT #?SESSION-X-127.0.0.1:98 CONNECT-XSERVER # Clean up #?*STOP-DAEMON #?SESSION-X-127.0.0.1:98 TERMINATE SIGNAL=15 #?GUEST-ACCOUNT REMOVE USERNAME=guest-.* #?RUNNER DAEMON-EXIT STATUS=0