Thanks for the information. I hope it helps people that have this problem.

// Ola

On Mon, Dec 19, 2011 at 06:46:47AM +0100, Juergen Hench wrote:
> Here is a (rather dirty) workaround that works on my xeon server
> running debian (2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC 2011
> x86_64 GNU/Linux):
> 
> I followed the instructions from (with a very small modification)
> http://jorgenmodin.net/index_html/archive/2010/08/15/how-to-put-an-independent-vnc-server-on-ubuntu-104/weblogentry_view#1315513611
> https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/587856
> 
> Unfortunately, there does not seem to be a gtk package in the debian
> archives that would work on 64 bit processors. The oldest one I found
> is too "new" and thus contains the annoying drag&drop bug. However,
> exchanging the affected components for the ones found in ubuntu 10.04
> seems to work fine so far. I did not experience any misbehaviour
> (yet).
> 
> Here is what I did:
> Step 1: add the ubuntu 10.04 repo to your apt sources. Do this in the 
> terminal:
> 
>       sudo nano /etc/apt/sources.list
> 
> edit the file by adding the following apt-lines at the end (or
> anywhere you want them).
> 
> deb http://ch.archive.ubuntu.com/ubuntu/ lucid main restricted
> deb-src http://ch.archive.ubuntu.com/ubuntu/ lucid main restricted
> 
> save the file.
> 
> Step 2: update the apt system:
>       
>       sudo apt-get update
>       
> You might experience some "errors" and get an icon that there are
> updates available. DO NOT UPGRADE NOW! DO NOT INSTALL ANYTHING THAT IS
> SUGGESTESTED. INSTEAD, IGNORE THE UPDATES AND PROCEED TO STEP 3.
> 
> Step 3: exchange the faulty GTK components (you may get informed
> afterwards that there are more updates available now. DO NOT UPDATE!)
> 
>       apt-get install libgtk2.0-0=2.20.0-0ubuntu4
> libgtk2.0-bin=2.20.0-0ubuntu4 libgail18=2.20.0-0ubuntu4
> libgail-common=2.20.0-0ubuntu4 gtk2-engines-pixbuf=2.20.0-0ubuntu4
> 
> Step 4: pin these versions by creating the following file and pasting
> the content below
> 
>       sudo nano -w /etc/apt/preferences.d/pinGnomeForRemoteAccess
>       
> Package: libgtk2.0-0
> Pin: version 2.20.0-0ubuntu4
> Pin-Priority: 1001
> 
> Package: libgtk2.0-bin
> Pin: version 2.20.0-0ubuntu4
> Pin-Priority: 1001
> 
> Package: libgail18
> Pin: version 2.20.0-0ubuntu4
> Pin-Priority: 1001
> 
> Package: libgail-common
> Pin: version 2.20.0-0ubuntu4
> Pin-Priority: 1001
> 
> Package: gtk2-engines-pixbuf
> Pin: version 2.20.0-0ubuntu4
> Pin-Priority: 1001
> 
> 
> Step 5: reset your APT sources
> 
>       sudo nano /etc/apt/sources.list
> 
> remove the lines you added before by commenting the out
> 
> #deb http://ch.archive.ubuntu.com/ubuntu/ lucid main restricted
> #deb-src http://ch.archive.ubuntu.com/ubuntu/ lucid main restricted
> 
> Step 6: update APT
> 
>       sudo apt-get update
>       
> Your system should now be "up to date".
> 
> Start a new vnc4server session, and you should be able to drag and drop.
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  o...@debian.org                     Annebergsslingan 37      \
|  o...@inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to