KasmVNC icon indicating copy to clipboard operation
KasmVNC copied to clipboard

Automatically Log Out Idle Users

Open Nerd-Ecke opened this issue 1 year ago • 1 comments

Hy

I have now spent a whole evening with the documentation but can't find a solution.

I want that when I am idle or log on to another device, the other session logs off.

Purely related to the browser session sitting on the client, not the user on the host system.

Example: I log in at work then go home and log in at home then no one at work should have access to the session without entering the user and password again.

I have already tested the following: nano ~/.vnc/kasmvnc.yaml

user_session: session_type: exclusive new_session_disconnects_existing_exclusive_session: true concurrent_connections_prompt: false idle_timeout: 300

This works so far but I can simply reconnect to the other session.

Are there any solutions?

Nerd-Ecke avatar Oct 08 '24 21:10 Nerd-Ecke

Unfortunately not, because KasmVNC by itself uses basic authentication. Since your browser cached the credentials you used, you can merely reconnect. At some point we would like to move to JWT or some other mechanism.

mmcclaskey avatar Oct 16 '24 15:10 mmcclaskey