0

This is very similar to this, this, and this question asked here on SO and elsewhere. But differs significantly. I have tried used these commands on the machine running VNC

vncserver :22 -geometry 1600x1200
vncconfig display :22 -nowin &

I also tried these commands

export XKL_XMODMAP_DISABLE=1
autocutsel -fork

The experience I have experienced is different, as follows.

  • Before running the VNC Viewer, I can copy/paste between Windows apps
  • I start the VNC Viewer, and open a command prompt terminal
  • I can copy/paste between Windows apps, between Linux terminals, and from Windows apps to a Linux terminal.
  • I can copy/paste from a Linux terminal to Windows app, by double-clicking on the Linux content and using ctrl-v in Windows. However, when I do this, I can no longer copy/paste between Windows apps, and from Windows to Linux. That is, the content of the Windows clipboard retains the Linux content, and can never be updated using ctrl-c. In this case, ctrl-v always pastes the Linux content. To fix this, I have to kill the VNC Window and kill the vncserver session.

Anyone else seen this?

Thanks for reading, Paul

2 Answers 2

1

It seems that TightVNC is the culprit here. When I use TigerVNC the issue disppears, and I can copy/paste between Windows apps, and from TightVnc into Windows.

2
  • were you able to solve the issue? Dec 28, 2021 at 9:24
  • As I described in my solution, I stopped uisng TightVnc.
    – Paul
    Dec 29, 2021 at 18:51
0

Restarting VNC Server fixed issue for me: vncserver -kill :1 from terminal: vncserver -geometry 1900x1000 -DisconnectClients=0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.