Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Env to enable one connection active #2

Open
1 task done
avol-io opened this issue Apr 13, 2023 · 6 comments
Open
1 task done

[FEAT] Env to enable one connection active #2

avol-io opened this issue Apr 13, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@avol-io
Copy link

avol-io commented Apr 13, 2023

Is this a new feature request?

  • I have searched the existing issues

Wanted change

a quick env flag to enable
-new_session_disconnects_existing_exclusive_session: true
-session_type: exclusive

that I think enable the reason for change request

Reason for change

I want only one vnc connection active instance. When I connect from new place the old one will be closed.

Proposed code change

No response

@avol-io avol-io added the enhancement New feature or request label Apr 13, 2023
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thelamer
Copy link
Member

not 100% on implementation but the flag you are looking for is here:
https://github.com/linuxserver/docker-baseimage-kasmvnc/blob/master/root/etc/s6-overlay/s6-rc.d/svc-kasmvnc/run#L18

Can you do me a favor and modify that in your container (edit the file at the path /etc/s6-overlay/s6-rc.d/svc-kasmvnc/run and remove that line) restart the container and ensure that is the behavior you are looking for ?

@avol-io
Copy link
Author

avol-io commented Apr 17, 2023

@thelamer i did this test but notting it's changed

@thelamer thelamer transferred this issue from linuxserver/docker-webtop Apr 17, 2023
@thelamer
Copy link
Member

This is not kasmVNC level kclient would need some kind of multi connection detection baked in to kill off the other session.

@avol-io
Copy link
Author

avol-io commented Apr 18, 2023

@thelamer just to be sure, have you checked this https://www.kasmweb.com/kasmvnc/docs/1.0.0/configuration.html in "user_session" and in particular the session_type? What do you think about it?

@avol-io
Copy link
Author

avol-io commented Apr 18, 2023

i try to add into /etc/kasmvnc/kasmvnc.yaml

user_session:
  new_session_disconnects_existing_exclusive_session: true
  session_type: exclusive
  concurrent_connections_prompt: false

but not work :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Issues
Development

No branches or pull requests

2 participants