Skip to content

Commit

Permalink
Fix DCV not loading user profile at session start
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lukeseawalker authored and gmarciani committed Apr 14, 2022
1 parent d5d03b6 commit 27b2c41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste

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

3.1.2
------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
# If not specified, the default value is 'default-on'.
#enable-gl-in-virtual-sessions = "default-on"

# Property "virtual-session-source-profile" specifies whether the shell that
# runs the session starter script should source the user profile.
# Allowed values: 'false', 'true'.
# If not specified, the default value is 'false' and DCV will run the session
# starter script with "bash --noprofile --norc"
virtual-session-source-profile = true

###############################################################################
## Section "session-management/defaults" contains the default properties of DCV sessions
###############################################################################
Expand Down

0 comments on commit 27b2c41

Please sign in to comment.