workspaces-core-images icon indicating copy to clipboard operation
workspaces-core-images copied to clipboard

Cannot find environment variable to change basic_auth username

Open jerrywoo96 opened this issue 3 years ago • 3 comments

Hi,

I'm spinning up the virtual desktops as individual containers, i see the environment variable to change the password, but not the variable to change the basic auth username login. What is the environment variable to change this? There was no documentation or docker-compose file that mentions this. I have only found the environment variable to change the basic auth password.

Thanks.

jerrywoo96 avatar Jan 23 '22 21:01 jerrywoo96

I've also read the issues tab, there was mention of this issue, but did not specify any solution.

jerrywoo96 avatar Jan 23 '22 21:01 jerrywoo96

kasm_user is hard coded hence there is no env variable to change this. However you can search for kasm_user string in vnc_startup.sh file and change it to variable and then pass it while creating container.

shkpk avatar May 17 '22 14:05 shkpk

That is correct, when using the full platform, the session username and password of KasmVNC are not relevant. You could use the KasmVNC API to add a new user, assign ownership, and delete the kasm_user user. We are working to make the images more usable directly, without using our full platform and this is likely one thing we will address (custom username).

mmcclaskey avatar May 18 '22 11:05 mmcclaskey