2 Answers
- Newest
- Most votes
- Most comments
1
dcv list-sessions
Session: 'console' (owner:dcvuser type:console)
You can only have one console session per server. To support multiple sessions, you need to disable console and switch to virtual sessions
More information at Introduction to NICE DCV sessions
0
Hi,
What is the value that you gave to --max-concurrent-clients ?
From https://docs.aws.amazon.com/dcv/latest/adminguide/managing-sessions-start.html
dcv create-session \
--type console|virtual \
--name session_name \
--user username \
--owner owner_name \
--permissions-file /path_to/permissions_file \
--storage-root /path_to/storage_directory \
--gl on|off \
--max-concurrent-clients number_of_clients \
--init /path_to/init_script \
session_ID
Best,
Didier
in my config
/etc/dcv/dcv.confi have themax-concurrent-clientscommented out which default to -1 (no limit is enforced) , in creating a new session i am for test just using thedcv create-session session_IDwhich gives me that error ofCould not create session. The maximum number of sessions has been reached
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 7 months ago

ah, this is it! thank Mike,
[ec2-user@ip-172-31-54-197 ~]$ sudo dcv list-sessions Session: 'testing' (owner:ec2-user type:virtual) Session: 'test' (owner:ec2-user type:virtual)