Closed gothka404 closed 1 month ago
Thanks for the detailed write-up and testing. Let me see if I can reproduce the issue.
In the meantime, can you please copy the logs from Settings -> Tools -> Logs, and paste here. You don't have to copy something in other app, if you type something in "Send text to server" box and copy it, AVNC should try to send it to server.
Sure:
```python
--------- beginning of main
10-02 13:05:36.108 28412 28412 W logcat : type=1400 audit(0.0:11216): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c218,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.gaurav.avnc
10-02 13:05:39.696 28349 28349 D VRI[PrefsActivity]: visibilityChanged oldVisibility=true newVisibility=false
10-02 13:05:39.708 28349 28349 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@feafa23
10-02 13:05:43.095 28349 28349 D nativeloader: Load /data/app/~~...==/com.gaurav.avnc-...==/lib/arm64/libnative-vnc.so using ns clns-1 from class loader (caller=
Thank you very much for the quick support.
It looks like a bug in extended clipboard implementation of LibVNCClient (VNC library used by AVNC), but it will take some time to find the root cause.
Interesting, thanks for the status update! Take your time, I (probably) won't be of any help debugging this lib.
So this is actually a bug in Gnome Remote Desktop. GRD doesn't handle UTF8 clipboard text, but still advertises support for it. When AVNC sends UTF8 clipboard text, GRD silently discards it. Remmina works because it is not sending UTF8 text ( try to copy some emojis ).
You can open a issue in GRD repo if you want. It's a relatively easy fix because internally GRD already uses UTF8. I will try to send a patch if I can find some time.
@gujjwal00 Awesome!
Unfortunately I needed to wipe my testing machine. When having time, I will reinstall it, test out UTF-8 clipboard text handling with my environment, create an issue in https://gitlab.gnome.org/GNOME/gnome-remote-desktop and report that back to you, so you might add technical details beyond bare user story and possibly link a patch to it.
Alternatively feel free to create the issue yourself, if it makes sense for you to directly add technical details.
Having sorted this error out, AVNC definitely is the way to go for me with GRD >= 47 (with VNC support), as best mobile client from all RDP + VNC apps available.
Thanks again very much for having gone this debugging route!
Thanks @gothka404
Hi, first I'd like to thank you for this awesome app. Came to conclusion this is the best available FOSS android app!
Everything worked smoothly except pasting clipboard from Android client to remote device. Clipboard sync from remote -> client works though.
Client environment:
Server environment:
grdctl
Reproduction/observations:
foo
into clipboardfoo
) is copied to Android client clipboard, which is expectedbar
to Android client clipboard and pasted it into text editor of remote target via AVNC app (long press -> Paste)foo
from remote clipboard is pasted, Android client clipboard hasbar
-> not syncedCurrent workaround:
Let me know, if I can be of any assistance.
Related: https://github.com/gujjwal00/avnc/issues/231