Repository navigation
(2025.06.01 and earlier) "My Virtual Desktop" page allows users to preview all the Virtual Desktops whose owner name contains the user's username
Junbo Liang edited this page Oct 7, 2025
·
1 revision
The "My Virtual Desktop" page in the RES web portal allows users to preview all the Virtual Desktops whose owner name contains the user's username. For instance, a user named alice can view all of user noalice's Virtual Desktops, regardless of permissions.
2025.06.01 and earlier
- Download
patch.pyandissue_116.patchby replacing<output-directory>with the directory to download the patch script and patch file,<res_version>with the RES version, and<environment-name>with the name of your RES environment in the command below:- The patch applies to RES 2025.06.01 and earlier
- The patch script requires AWS CLI v2, Python 3.9.16 or above, and Boto3.
- Configure the AWS CLI for the account / region where RES is deployed, and make sure that you have S3 permissions to write to the bucket created by RES.
OUTPUT_DIRECTORY=<output-directory>
ENVIRONMENT_NAME=<environment-name>
RES_VERSION=<res-version>
ACCOUNT_ID=<account-id>
mkdir -p ${OUTPUT_DIRECTORY}
curl https://research-engineering-studio-us-east-1.s3.amazonaws.com/releases/${RES_VERSION}/patch_scripts/patch.py --output ${OUTPUT_DIRECTORY}/patch.py
curl https://research-engineering-studio-us-east-1.s3.amazonaws.com/releases/${RES_VERSION}/patch_scripts/patches/issue_116.patch --output ${OUTPUT_DIRECTORY}/issue_116.patch
- Navigate to the directory where the patch script and patch file are downloaded. Run the following patch command:
python3 ${OUTPUT_DIRECTORY}/patch.py --environment-name ${ENVIRONMENT_NAME} --res-version ${RES_VERSION} --module virtual-desktop-controller --patch ${OUTPUT_DIRECTORY}/issue_116.patch
- Restart the Virtual Desktop Controller instance for your environment. You may also terminate the instance from the Amazon EC2 Management Console.
INSTANCE_ID=$(aws ec2 describe-instances \
--filters \
Name=tag:Name,Values=${ENVIRONMENT_NAME}-vdc-controller \
Name=tag:res:EnvironmentName,Values=${ENVIRONMENT_NAME}\
--query "Reservations[0].Instances[0].InstanceId" \
--output text)
aws ec2 terminate-instances --instance-ids ${INSTANCE_ID}
- Verify the Virtual Desktop Controller instance status by checking the activity of the auto scaling group starting with the name
<RES-EnvironmentName>-vdc-controller-asg. Wait until the new instance is launched successfully.