mikedep333 / duckpan-vagrant

Vagrant + Chef virtual development environment for DuckDuckGo (http://duckduckhack.com)
Apache License 2.0
4 stars 1 forks source link

VirtualBox Shared Clipboard is broken #1

Open mikedep333 opened 10 years ago

mikedep333 commented 10 years ago

Although the box has "Shared Clipboard" set to "bidirectional" by default, and the Ubuntu virtualbox-guest-x11 is installed, Shared Clipboard does not seem to work in either direction.

Investigation shows that virtualbox-guest-x11 provides /etc/X11/Xsession.d/98vboxadd-xclient . That script calls "VBoxClient --clipboard" to start the clipboard service. It also calls the corresponding commands for the other VBoxClient services. However, unlike the other services, the clipboard service does not remain running. Running that command does return 0.

mikedep333 commented 10 years ago

This is going to sound strange. However, this bug only occurs when I connect to the host OS over X2Go. In this use case, the /usr/lib/virtualbox/VirtualBox process for the VM is communicating the X2Go's X Server (nxagent) rather than the X11 server. I assume there is a clipboard incompability between these 2 pieces of software. And as a result, the guest's "VBoxClient" behavior is changed.

This bug does not occur when I start the VM over X2Go in headless mode (but with RDP enabled), nor when I start the VM on the local X.org X server.

I am an X2Go developer, so I'll report this to X2Go. I'll still keep this bug open, but it should not delay me releasing a DuckDuckHack VM. Therefore, I will update TODO.txt.