We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590dbf8 commit 2d3e245Copy full SHA for 2d3e245
sagemaker_ssh_helper/sm-ssh-ide
@@ -29,12 +29,12 @@ if [[ "$1" == "configure" ]]; then
29
_install_helper_scripts
30
31
cat >/etc/profile.d/sm-ssh-ide.sh <<EOF
32
-export XAUTHORITY="/tmp/.Xauthority"
33
-export ICEAUTHORITY="/tmp/.ICEauthority"
34
-touch "/tmp/.Xauthority"
35
-touch "/tmp/.ICEauthority"
36
-chmod 600 "/tmp/.Xauthority"
37
-chmod 600 "/tmp/.ICEauthority"
+export XAUTHORITY="/tmp/.Xauthority-$USER"
+export ICEAUTHORITY="/tmp/.ICEauthority-$USER"
+touch "/tmp/.Xauthority-$USER"
+touch "/tmp/.ICEauthority-$USER"
+chmod 600 "/tmp/.Xauthority-$USER"
+chmod 600 "/tmp/.ICEauthority-$USER"
38
EOF
39
source /etc/profile.d/sm-ssh-ide.sh
40
0 commit comments