Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I find it a little hard to believe that no one here has asked this question, I tried searching for it but it isn't asked, so here goes:

I setup a Ubuntu desktop computer with VNC to use as a server. And use another Ubuntu desktop computer to VNC into it. The rest of the VNC works ok, but drag and drop with mouse is gone. Thus I can not move windows, or drag and drop items via VNC.

I am using the default remote desktop in System -> Preferences to setup my server. And use Remmina as my client. The same happens using MS Windows's VNC clients connecting to my Ubuntu desktop.

I did a bit of searching on google, and there are actually a lot of reports regarding this issue. But, oddly there is no solution. There are even bug reports made for this since Ubuntu 9.10, yet here it still is in Ubuntu 11.04. There have been suggestions that the bugs is in gtk, as see in link below:

http://ubuntuforums.org/showthread.php?t=1497635&page=2

libgtk2.0-0 stable(lenny) -> DnD works
libgtk2.0-0 lenny-backport (libgtk2.0-0_2.18.6-1~bpo50+1_i386) -> DnD still works
libgtk2.0-0 testing (libgtk2.0-0_2.20.1-2_i386) -> DnD broken

please don't give answers such as "use NX", "use ssh -x" or "use x11vnc". I am aware that some people don't have this problem with x11vnc, and I have setup x11vnc before, but i can't for this setup. I am setting this up so Windows only friends/families can use it.

share|improve this question
Does it work when using Metacity (so special effects / Compiz disabled)? – JanC Jun 6 '11 at 17:00
it uses compiz, the compiz options of move window and resize window are enabled. – hansioux Jun 7 '11 at 8:06
Still, it might be useful to know whether or not it works with compiz disabled (e.g. window management works somewhat differently when a compositor is involved). I also suggest you file a bug report on Launchpad and add the results of all such tests to it (or add your info to an existing one, if you're sure it's the same problem). – JanC Jun 7 '11 at 16:06
Bugs should be reported at launchpad (as it was: bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/587856 ) See also: askubuntu.com/faq ;-) – desgua Feb 25 '12 at 18:54

closed as off topic by desgua, Bruno Pereira Feb 25 '12 at 19:08

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

Create a custom launcher on the desktop which can load your application with the right settings/flags:

There is a very good guide here for how to do this in Ubuntu 12.04: http://www.hamaluik.com/?p=283

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Oyibo Nov 24 '12 at 9:09

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