Skip to content

How to properly terminate an idle connection (xrdp + xvnc)? #2096

Closed Answered by matt335672
rayrapetyan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rayrapetyan

The -IdleTimeout option on xvnc removes VNC clients (in this case the xrdp process), but leaves the session running. From the TigerVNC manpage:-

  -IdleTimeout seconds
        The  number  of seconds after which an idle VNC connection will be dropped.  Default is 0, which means that idle connec‐
        tions will never be dropped.

You possibly want to use -MaxIdleTime instead:-

  -MaxIdleTime seconds
         Terminate after N seconds of user inactivity.  Default is 0.

Does that do what you want?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rayrapetyan
Comment options

Answer selected by rayrapetyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants