# # Check that a VNC session doesn't have any unknown file descriptors # [LightDM] start-default-seat=false [VNCServer] enabled=true port=9999 [SeatDefaults] user-session=default #?RUNNER DAEMON-START #?*WAIT # Start a VNC client #?*START-VNC-CLIENT ARGS="::9999" #?VNC-CLIENT START #?VNC-CLIENT CONNECT SERVER=::9999 # Xvnc server starts #?XSERVER-0 START GEOMETRY=1024x768 DEPTH=8 OPTION=FALSE # Daemon connects when X server is ready #?*XSERVER-0 INDICATE-READY #?XSERVER-0 INDICATE-READY #?XSERVER-0 ACCEPT-CONNECT # Negotiate with Xvnc #?*XSERVER-0 START-VNC #?VNC-CLIENT CONNECTED VERSION="RFB 003.007" #?XSERVER-0 VNC-CLIENT-CONNECT VERSION="RFB 003.003" # Greeter starts and connects to remote X server #?GREETER-X-0 START #?XSERVER-0 ACCEPT-CONNECT #?GREETER-X-0 CONNECT-XSERVER #?GREETER-X-0 CONNECT-TO-DAEMON #?GREETER-X-0 CONNECTED-TO-DAEMON # Log in #?*GREETER-X-0 AUTHENTICATE USERNAME=have-password1 #?GREETER-X-0 SHOW-PROMPT TEXT="Password:" #?*GREETER-X-0 RESPOND TEXT="password" #?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE #?*GREETER-X-0 START-SESSION #?GREETER-X-0 TERMINATE SIGNAL=15 # Session starts #?SESSION-X-0 START USER=have-password1 #?XSERVER-0 ACCEPT-CONNECT #?SESSION-X-0 CONNECT-XSERVER # Check file descriptors #?*SESSION-X-0 LIST-UNKNOWN-FILE-DESCRIPTORS #?SESSION-X-0 LIST-UNKNOWN-FILE-DESCRIPTORS FDS= # Clean up #?*STOP-DAEMON #?SESSION-X-0 TERMINATE SIGNAL=15 #?XSERVER-0 TERMINATE SIGNAL=15 #?RUNNER DAEMON-EXIT STATUS=0