clipboard not working detachable or headless start

Discussions related to using VirtualBox on Linux hosts.

clipboard not working detachable or headless start

Postby nick@nite » 13. Aug 2015, 08:31

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?
nick@nite
 
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

Postby noteirak » 14. Aug 2015, 16:16

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://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5199
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: clipboard not working detachable or headless start

Postby noteirak » 14. Aug 2015, 18:31

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.
Hyperbox - Virtual Infrastructure Manager - https://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5199
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: clipboard not working detachable or headless start

Postby nick@nite » 17. Aug 2015, 22:04

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:
ClipConstructX11: X11 DISPLAY variable not set -- disabling shared clipboard


Thanks.
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
nick@nite
 
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

Postby noteirak » 18. Aug 2015, 00:41

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.
Hyperbox - Virtual Infrastructure Manager - https://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5199
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: clipboard not working detachable or headless start

Postby nick@nite » 4. Sep 2015, 05:26

noteirak, did you get a chance to try and reproduce this issue?
nick@nite
 
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

Postby frank » 4. Sep 2015, 11:09

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.
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 23 guests