I'm aware VNC Viewer used to have an option called SendPrimary which could potentially resolve my issue ( see this), but I can't find this option in VNC Viewer 5.3.2. I don't know whether the selected text gets send to CLIPBOARD or PRIMARY or if the CTRL-V is now pasting from PRIMARY or CLIPBOARD, but there is something messed up. This become really annoying since if I want to copy something then paste it over something else, the system paste what I just selected and I loose the CTRL-C I just made. This means, if I select some text and do a CTRL-V, it paste the text I just selected. some text in a Notepad on my local machine (Windows 10) then select some text in my remote machine (SLES 11) and try to paste it over, it paste what I just selected, even if I use CTRL-V.Īt this moment, PRIMARY and CLIPBOARD get messed up up in my remote machine until I close the session and open a new one. The clipped text will show up in your terminal window whenever you append it to clip.txt remotely. Then on your local machine, open a terminal window and ssh into your remote machine. I was always happy when it was working Do a google search for 'vnc copy paste not working' and you find a lot of hits. However, if I copy some text outside VNC Viewer, i.e. On your remote machine, append the text you want to a file: echo 'here is my text' > /clip.txt. From my past I remember I had always trouble with copy and paste of clipboard with any VNC based products. When I connect to my remote machine using VNC, all this is working perfectly fine: I can copy some text with CTRL-C, then select anything and paste with CTRL-V to paste what I copied with CTRL-C. After this, if I paste using CTRL-V, it should paste what reside in CLIPBOARD, no matter if I selected some text (altered PRIMARY) between the copy and paste operation. CLIPBOARD is used when user is selecting text, THEN copying it using CTRL-C or right-click copy. However, selecting text should not override the CLIPBOARD. If I select some text, it get sent to PRIMARY and I may be able to paste it using the third button mouse, or using SHIFT+INSERT. Now you should be able to copy paste from/to remote system. Check all the options and dont close the window. I'm aware that Linux have two different clipboard, PRIMARY and CLIPBOARD. Now connect to your VNC server and from the connected session run vncconfig as follows: vncconfig -display :1 This will show a small window with clipboard related options. I'm using VNC Viewer 5.3.2 (r19179) 圆4 on a Windows 10 machine to connect to a VNC Server (Virtual Mode) 5.3.2 (r19476) 圆4 running on SUSE Linux Enterprise Server 11.
0 Comments
Leave a Reply. |