https://bugs.kde.org/show_bug.cgi?id=331576

--- Comment #14 from lostfree...@gmail.com ---
I ended up switching to freerdp due to this and other UX issues (key grabbing)
and bugs (panel not appearing in fullscreen).

Wrote this script (NixOS config, add to systemPackages) and manually added the
passwords to KWallet:

    (pkgs.writeScriptBin "lrdp" ''
          #!${pkgs.bash}/bin/bash
          if [ $# -lt 1 ]; then
            echo "Usage: $0 hostname"
            exit 1
          fi

          hostname="$1"
          echo "Connecting to $hostname"
          shift  # Remove hostname from arguments

          password=$(${pkgs.kdePackages.kwallet}/bin/kwallet-query -r
"smb-$hostname:-1" -l kdewallet | jq -r .password)

          if [ -z "$password" ]; then
            echo "Password for smb-$hostname:-1 not found in KWallet"
            exit 1
          fi

          exec sdl-freerdp "$@" \
            /u:lost /p:$password \
            /v:"$hostname"
        '')

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to