Mremoteng: Feature Request: Optional disconnect after X number of seconds/minutes of inactivity

Created on 4 Nov 2016  路  8Comments  路  Source: mRemoteNG/mRemoteNG



A great feature would be to allow (if set) a number of seconds or minutes after inactivity that it will automatically close the session.

Enhancement

All 8 comments

I am currently testing something in Connection.Protocol.RDP.cs.

Trying some stuff out with the MinutesToIdleTimeout setting and OnIdleTimeoutNotification method. Will post an update with my findings.

Using MinutesToIdleTimeout has worked. Now trying to add a configuration field in the RDP settings.

@countchappy Thanks for giving this a shot! See the following commit which added a different option for RDP session: https://github.com/mRemoteNG/mRemoteNG/commit/60cd2c2b128c64ff174ecfe8a3511de560390cdc

This should be a good guide for you to follow to add in the setting...

Feel free to submit a pull request once you have it implemented and tested...

@sparerd - assuming that countchappy submits a PR in the very near future, 1.75 would be a good release to add this to due to the updated confcons.xml schema... Thoughts?

Yea, sounds good to me. As long as we get a PR soonish we should be able to include it.

I should be able to square this away and make a pull request by Thursday.

@kmscode Thanks again for the link to 60cd2c2. Should speed up the process a ton!

@kmscode I have everything ready. But, I am having issues with the PR (I have never used github [or git] before) What branch do I push it to?

@countchappy Glad that you're ready for that... Looks like you didn't create a fork.... so unfortunately you'll need to do a little finagling...

Pull request submitted.

@kmscode and @sparerd Thanks again for all the help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MarkoMusa picture MarkoMusa  路  4Comments

pfjason picture pfjason  路  4Comments

agiz10 picture agiz10  路  4Comments

LIyoai picture LIyoai  路  4Comments

sparerd picture sparerd  路  4Comments