Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box.

Is there something I need to install on the remote machine?

I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.

share|improve this question
up vote 1 down vote accepted

Turns out the problem was that vim on the remote was not compiled with GTK. This happened because the necessary package was not present on the remote box.

To fix it, log on to the remote machine and:

  1. Install gtk2-devel,
  2. re-configure, re-make, & re-install vim

A co-worker figured this out eventually.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .