I like the new detachable and headless start modes for VMs. However I have found that neither of these start modes allow clipboard sharing to work properly. Guest additions are installed in the guest VM and copy/paste works when starting the VMs in "normal" start mode.
host: ubuntu 14.04
guests: win7enterprise and winxp
Is this a bug?
clipboard not working detachable or headless start
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: clipboard not working detachable or headless start
I would venture that the feature has not yet been implemented in the detachable mode due to higher priority items. This is not the only item - 3D and Seamless are not implemented right now per example.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: clipboard not working detachable or headless start
After checking myself, it is working fine.
Please read Minimum information needed for assistance and provide zipped attachment of the VM log file and the guest settings.
Please read Minimum information needed for assistance and provide zipped attachment of the VM log file and the guest settings.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
- Posts: 3
- Joined: 13. Aug 2015, 08:20
- Primary OS: Other
- VBox Version: OSE Debian
- Guest OSses: Win7,64bit;Cent7,64bit;WinXP,32bit
Re: clipboard not working detachable or headless start
sorry, should have included that.
The version of VirtualBox you are using, and whether you have installed the Guest Additions (in the guest):
VirtualBox 5.0.2 Guest Additions installed
Host & Guest make and version including 32 or 64 bit, and the amount of memory available to both.
HOST: ubuntu 14.04 64bit 16GB
guest: Windows XP 32bit 512MB
guest: Centos7 64Bit 4GB
shared clipboard setting: bidirectional
VM log files attached. it seems when the guest is started in either headless or detachable mode the clipboard service isn't working. I'm seeing this pattern in the log when doing detachable starts:
The version of VirtualBox you are using, and whether you have installed the Guest Additions (in the guest):
VirtualBox 5.0.2 Guest Additions installed
Host & Guest make and version including 32 or 64 bit, and the amount of memory available to both.
HOST: ubuntu 14.04 64bit 16GB
guest: Windows XP 32bit 512MB
guest: Centos7 64Bit 4GB
shared clipboard setting: bidirectional
VM log files attached. it seems when the guest is started in either headless or detachable mode the clipboard service isn't working. I'm seeing this pattern in the log when doing detachable starts:
Thanks.ClipConstructX11: X11 DISPLAY variable not set -- disabling shared clipboard
- Attachments
-
- win32-normalstart-2015-08-17-14-34-47.log
- windows XP 32bit guest started in normal mode - shared clipboard works as expected.
- (107.34 KiB) Downloaded 66 times
-
- win32-deatachable-2015-08-17-14-38-40.log
- windowsXP 32bit guest started in detachable mode -- shared clipboard not working
- (95.01 KiB) Downloaded 66 times
-
- Centos7-detachable-2015-08-17-13-50-08.log
- centos7 64bit guest started in detachable mode -- shared clipboard not working
- (102.03 KiB) Downloaded 65 times
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: clipboard not working detachable or headless start
Indeed this seems to be the problem. I would guess the environment variable is not inherited in detachable mode which cause clipboard to be disabled.
I'll try to reproduce on my end on a Linux host tomorrow and debug a bit more if I can reproduce. So far it looks like a bug. If I can confirm, we'll open a ticket for it.
I'll try to reproduce on my end on a Linux host tomorrow and debug a bit more if I can reproduce. So far it looks like a bug. If I can confirm, we'll open a ticket for it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
- Posts: 3
- Joined: 13. Aug 2015, 08:20
- Primary OS: Other
- VBox Version: OSE Debian
- Guest OSses: Win7,64bit;Cent7,64bit;WinXP,32bit
Re: clipboard not working detachable or headless start
noteirak, did you get a chance to try and reproduce this issue?
-
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: clipboard not working detachable or headless start
Clipboard does currently not work for separate VMs, for the exact reason which was posted above (no X11 display passed to the process). ATM I cannot estimate the effort to fix this.