-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clipboard not syncing with TigerVNC 1.10.0 #157
Comments
@Anonymous2716 I tried with TigerVNC (v1.12) in Termux, and clipboard is working correctly for me. Can you try copying something after connecting to server. And make sure clipboard sharing is ON in AVNC settings. @babaric-dev I think you have TigerVNC v1.10 in Termux. Have you encountered this issue? |
@gujjwal00 thanks. I wasn't sure if this issue is mine specific that's why I didn't open any New issues.
His else would I copy? And yes clipboard sync is on by default. Is there any server side settings for this too ? Maybe config files. Also where did you get vncserver v1.12 in termux? Its not available on the repo yet. |
AVNC also syncs immediately after connecting, so I wanted to check if that is somehow a factor.
I have Ubuntu 22.04 installed via |
I had Debian + ubuntu installed and it never synced any clipboard for me. Not avnc nor realvnc viewer. With Since its proot I never bothered about the clipboard bcs a lot of things don't work there. Also I never encountered #105 . only when I switch back to the app it stays black screen for a second I guess its for decoding. Also I was talking about termux natively. Here I have a basic xfce4 installation too. |
But you said AVNC v2.1 was working?
If the one-second delay started happening after AVNC v2.2, #156 might be the issue. Otherwise, its just normal.
Do you have some notes on how to replicate your environment? |
With the native termux installation yes. And still does. Not proot environment. No that delay happened before too. And I have to move around the pointer to display again. I'm not sure if this is an actual issue. I will look into #156 . Yeah the same way you installed and setup xfce4 in Ubuntu. Install tigervnc and xfce4 .
And then write ~/.vnc/xstartup Put
In the ~/.vnc/xstartup Give it executable permission and there it is. Write Tho i might do a clean installation and test just to be sure. |
Thanks, I will try later today. |
I just noticed that its working one way. My phones clipboard can be pasted in the vnc environments clipboard but not the reverse. |
I have found the bug. TigerVNC versions before 1.12 require explicit clipboard request from client (when extended clipboard is used). But LibVNCClient doesn't send the request currently. Please try the following APK: app-debug.zip |
I've tried the apk. And I think it fixes the issue. Also I remembered that most of the times I didn't use tigervnc but tightvnc server I used in proot. And I need to check my current xfce4 clipboard manager settings bcs whenever I select a text (not copy/cut) it also gets copied to the clipboard. Even when I do sliding select whenever it gets copied on each character added to the string. Is this avnc or my clipboard? Edit :
This is got resolved by the settings . but whenever I select new text it does a double copy of it (copys twice , i know bcs gboard , openboard , florisboard etc has a clipboard listener and logs the each copied data and I use open board. ) without me clicking on the copy/cut. Can you confirm? And what is your clipboard manager settings set to? |
The double-copy behavior is likely due to server. AVNC simply copies whatever server sends, however many times it sends.
X servers have multiple selections (primary: changed by selecting text; clipboard: changed by Ctrl+C/V). I think TigerVNC copies primary selection too, instead of just clipboard.
I am not sure which settings you are referring to. I don't use any special clipboard manager. Anyway, this fix will be available in next version. |
@gujjwal00 thanks and if you have xfce4-goodies installed the application may pop up by the name "clipboard manager settings" in the application finder. Have a good day. |
Originally posted by @Anonymous2716 in #139 (comment)
The text was updated successfully, but these errors were encountered: