Skip to content

Commit 27b2c41

Browse files
lukeseawalkergmarciani
authored andcommitted
Fix DCV not loading user profile at session start
The user's PATH was not correctly set at DCV session connection. This change was introduced in DCV 2021.3-11591, see doc https://docs.aws.amazon.com/en_us/dcv/latest/adminguide/config-param-ref.html#session_management Signed-off-by: Luca Carrogu <carrogu@amazon.com>
1 parent d5d03b6 commit 27b2c41

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste
2020

2121
**BUG FIXES**
2222
- Fix the configuration parameter `DirectoryService/DomainAddr` conversion to `ldap_uri` SSSD property when it contains multiples domain addresses.
23+
- Fix DCV not loading user profile at session start. The user's PATH was not correctly set at DCV session connection.
2324

2425
3.1.2
2526
------

cookbooks/aws-parallelcluster-config/templates/default/dcv/dcv.conf.erb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
# If not specified, the default value is 'default-on'.
4444
#enable-gl-in-virtual-sessions = "default-on"
4545

46+
# Property "virtual-session-source-profile" specifies whether the shell that
47+
# runs the session starter script should source the user profile.
48+
# Allowed values: 'false', 'true'.
49+
# If not specified, the default value is 'false' and DCV will run the session
50+
# starter script with "bash --noprofile --norc"
51+
virtual-session-source-profile = true
52+
4653
###############################################################################
4754
## Section "session-management/defaults" contains the default properties of DCV sessions
4855
###############################################################################

0 commit comments

Comments
 (0)