Command 'dcv close-connection <sessionid> not working

0

I am trying to disconnect a single user from a dcv server session called 'dcvusersession'. I try to do this using the command dcv close-connection dcvusersession but to no avail. The server responds with: Error: no session ID specified. In general, anything I add after the close-connection command makes no difference. I tried the userId, the integer of the session Id but nothing worked. Is this a bug. Unfortunately this command is not documented in the online documentation here.

The used DCV Server Version is 2022.2.13907-1, I couldn't find anything in the release notes on that topic however.

Thanks and kind regards, Julian

질문됨 10달 전303회 조회
1개 답변
0

Hi Julian,

can you show the session with (maybe you need to be root if not the same user)

dcv list-sessions

Are you trying to close the connection running the command as the same user owning the session or the root user?

Here is the docu: https://docs.aws.amazon.com/dcv/latest/adminguide/managing-sessions-lifecycle-stop.html

Best regards, Karsten

답변함 10달 전
  • It was my mistake, I ran dcv-close-session -h and found that my syntax was wrong. It now works. Thanks

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠