Bug 1226421

Summary: grsync executed as ssh to a smb is not working (Leap 15.6)
Product: [openSUSE] openSUSE Distribution Reporter: flint fire <firelink>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fabian, firelink
Version: Leap 15.6Flags: fabian: needinfo? (firelink)
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description flint fire 2024-06-17 08:36:04 UTC
It is not possible to rsync (executed as ssh) your files with a smb-Folder (NAS backup). The login process is not working!

Leap 15.6 - KDE plasma
----------------------
a) within X11 and Wayland:
rsync -r -s -e ssh <source> <destination>
=>you receive a login error, no login possible. There is no connection between rsync and ksshaskpass.

b) within X11:
SSH_ASKPASS_REQUIRE=force rsync -r -s -e ssh <source> <destination>
=> you receive an error "Could not load the qt platform..."

c) within Wayland:
SSH_ASKPASS_REQUIRE=force rsync -r -s -e ssh <source> <destination>
=> OK, works!

d)
grsync is not working in all scenarios (a, b, c)

Bug:
I have this already reported with Tumbleweed one year ago (Bug 1207402).
In Leap 15.5 all worked fine.
Comment 1 flint fire 2024-06-17 09:16:30 UTC
sorry, typos... =>again:

It is not possible to grsync (executed as ssh) your files with a smb-Folder (NAS backup). The login process is not working!

Leap 15.6 - KDE plasma
----------------------
a) within X11 and Wayland:
rsync -r -s -e ssh <source> <destination>
=>have to manually put in your pw

b) within X11:
SSH_ASKPASS_REQUIRE=force rsync -r -s -e ssh <source> <destination>
=> you receive an error "Could not load the qt platform..." and there is no connection between rsync and ksshaskpass.

c) within Wayland:
SSH_ASKPASS_REQUIRE=force rsync -r -s -e ssh <source> <destination>
=> OK, works! No manual typing of pw, ksshaskpass works.

d)
grsync is not working in all scenarios (a, b, c)
=>always login problem "permission denied". There is no connection between rsync and ksshaskpass.

Bug:
I have this already reported with Tumbleweed one year ago (Bug 1207402).
In Leap 15.5 all worked fine.
Comment 2 Fabian Vogt 2024-06-17 16:45:22 UTC
Maybe something doesn't allow rsync access to the xauth file.

Anything in the journal or /var/log/audit.log?
Comment 3 flint fire 2024-06-19 16:57:15 UTC
I reported it a year ago for Tumbleweed and nothing happened, so I thought I give it a try at bugs.kde.org. I also tested Debian 12 and KDE Neon.
=>https://bugs.kde.org/show_bug.cgi?id=488723