Find the answer to your Linux question:
Results 1 to 1 of 1
Hey, Has anybody had problems doing cut-and-paste in a VNC session running on CentOS 5.7? The cut-and-paste functionality is supposedly provided by the vncconfig util, which is provided by the ...
  1. #1
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843

    CentOS 5.7/TigerVNC and vncconfig (copy/paste)

    Hey,

    Has anybody had problems doing cut-and-paste in a VNC session running on CentOS 5.7? The cut-and-paste functionality is supposedly provided by the vncconfig util, which is provided by the vnc-server package, which also provides vncserver, Xvnc, et al.

    When I copy text from my local PC (by double-clicking), then attempt to paste it (by middle-mouse-button clicking) into the VNC window, nothing happens.

    The vncconfig prog is definitely running.

    I am running version 4.1.2-14.el5_6.6 of vnc-server, and there are no updates to the vnc packages for CentOS 5.7.

    I was able to get around this issue by:

    1. Removing the CentOS-provided vnc-server package
    2. Temporarily enabling the RPM Forge repo by installing this release package
    3. Installing the tightvnc-server package from the RPM Forge repo
    4. Restarting my vncserver session

    Interestingly, the tightvnc-server package does not provide a vncconfig util, and yet copy-paste works.

    I don't mind this fix, but I would rather use the official packages, if I could. Has anyone else experienced this and found a solution?

    BTW, the hack mentioned here did not work for me.

    Edit: Forgot to mention that on the client side (vncviewer), I made sure that accept/send clipboard were enabled.

    Edit2: I found I was having the same problem on a Fedora 14 machine running a VNC server. The Fedora 14 package is TigerVNC, a fork of TightVNC, as opposed to RealVNC on CentOS 5.7. This is beginning to make me think the problem is my client (vncviewer from tigervnc on Fedora 16).

    Assuming that wasn't the problem, I wanted to try the same fix that I used for CentOS 5.7, but I could not find a prebuilt binary of TightVNC for Fedora 14. So I got the latest source RPM from Repoforge (apparently, the new RPMforge), rebuilt it, and it works (allows cut-paste) just fine for me.

    Updated the title of this thread to include TigerVNC.
    Last edited by atreyu; 01-10-2012 at 09:07 PM. Reason: problem exists with TigerVNC, too

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...