diff options
Diffstat (limited to 'testing/pass/README.alpine')
-rw-r--r-- | testing/pass/README.alpine | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/pass/README.alpine b/testing/pass/README.alpine new file mode 100644 index 0000000000..dc5f9d05eb --- /dev/null +++ b/testing/pass/README.alpine @@ -0,0 +1,28 @@ +# Alpine Linux README: Password Store # +--------------------------------------- + +Notes for making the clipboard work for root over ssh: +------------------------------------------------------ + +(1) apk add xauth xclip + +(2) On your LOCAL machine add to ~/.ssh/config: + +host xxxxxxx + ForwardX11 yes + ForwardX11Trusted yes + +(3) In the REMOTE USER ~/.profile add: + + echo "$DISPLAY" > ~/.display + +(4) In the REMOTE ROOT ~/.profile add: + + export DISPLAY=$(cat /home/login-user/.display) + +(5) file=/home/login-user/.Xauthority + touch $file + chmod 0600 $file + chown user:user $file + ln -s $file /root/.Xauthority + |