Skip to content
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 (copy from client to vnc server) #158

Closed
i3v opened this issue Jan 2, 2019 · 5 comments
Closed

Clipboard (copy from client to vnc server) #158

i3v opened this issue Jan 2, 2019 · 5 comments

Comments

@i3v
Copy link

i3v commented Jan 2, 2019

I've noticed that the clipboard functionality is broken for me in TurboVNC 2.2, but works in TurboVNC 2.1.2.
In version 2.2, copying text from server to client works OK, but client to server does not work - remote clipboard is not updated with the new text.

  1. After yum install turbovnc (installs 2.2-20180927) - I get the described issue.

  2. After yum downgrade turbovnc-2.1.2-20170925 and erasing ~/.vnc everything is working fine.
    All I do is /opt/TurboVNC/bin/vncserver -geometry 1920x1200 :1 and it works. (No poll trick or anything else.)

  3. After yum upgrade turbovnc (e.g. back to 2.2-20180927), without erasing ~/.vnc - the issue is the same.

I've also noticed that tvncconfig was removed in between 2.1 and 2.2.

The client is TurboVNC 2.2 (Windows 10) (not java).
The server is CentOS 7 (KDE plasma). Almost clean install - only nvidia drivers, cuda and TurboVNC are installed. No virtualgl.
I'm only trying to copy some ASCII-127 text, nothing fancy.

@dcommander
Copy link
Member

Not sure what could be happening. I personally use that functionality with TurboVNC 2.2 all the time and have never noticed any problems. Try running cvncviewer -loglevel 6 and examine both that output and the server log to verify that the clipboard is actually being sent.

@dcommander
Copy link
Member

Just tested it with a Windows 10 client (I normally use Windows 7), and it works fine for me.

@i3v
Copy link
Author

i3v commented Jan 2, 2019

I've just tried Windows-7 (same TurboVNC-2.2 client) - no differences (server v2.1.2 works OK, server 2.2 got the issue).

Tried RealVNC viewer 6.17.1113 (r31799) - the effect is just the same.

The logs from the cvncviewer -loglevel 6 are here. The experiment was as follows:

  1. Stop running turbovnc server, if any
  2. Install the required version.
  3. Erase ~/.vnc
  4. /opt/TurboVNC/bin/vncserver -geometry 1920x1200 :1
  5. cvncviewer -loglevel 6 > c:\temp\log.txt
  6. Switch to Notepad++, copy some text. Try to paste to KWrite.
  7. Same thing one more time.
  8. Close viewer.
  9. /opt/TurboVNC/bin/vncserver -kill :1

The only thing I've noticed is that "We changed it - ignore!" is only present in 2.2. And, for some reason, it only happens on the first copy-paste.

@dcommander
Copy link
Member

Fix integrated from TigerVNC 1.9.0. It should work now.

@i3v
Copy link
Author

i3v commented Jan 3, 2019

Yep, works like a charm now, great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants