[solved] VB 5.1.4 with Ext. Pack not copying and pasting to non-Gnome DE's

Discussions about using Linux guests in VirtualBox.
Post Reply
Predatorian
Posts: 11
Joined: 21. Mar 2009, 17:17
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Minix3, Ubuntu, Winduhs, SuSE
Location: KC

[solved] VB 5.1.4 with Ext. Pack not copying and pasting to non-Gnome DE's

Post by Predatorian »

[*]Windows 7 Host
[*]Virtualbox Version 5.1.4 r110228 (Qt5.5.1)
[*]Oracle VM VirtualBox Extension Pack 5.1.4r110228
[*]Guest Additions 5.1.4 (installed on all guests)
[*]Guests:
  • CentOS 7 with Gnome 3
  • CentOS 7 with Xmonad
  • CentOS 7 with i3
  • Solus with Budgie
I have been having issues with using the bidirectional shared clipboard between my Host and any of its guests that do not use Gnome 3. I did a NetInstall of CentOS 7 Minimal then tacked on the Desktop Environment and other groupinstalls that setup X Windows, and desktop stuff. I can easily share the clipboard between my Host and the Guest. However, when I went back through and reinstalled the Guest as a minimal install, and this time only installed X Windows System and Xmonad or i3, the clipboard did not work. So then I decided to try the clipboard out on another desktop environment, this time on Solus, but I had no luck. I went back to CentOS 7, and thought that maybe it was urvxt, so I installed Gnome Terminal. I am able to copy and paste inside the VM, but nothing between the Host and Guest. I am able to mount the Host's location, so I've been just saving to files in a folder location and opening them to share data between the VM, but its definitely not a sustainable method.

Is there something I need to do differently and some other package installed on the guest that the full desktop system has that I don't know about, or is it just those Display Managers don't play well with VirtualBox?
Last edited by Predatorian on 15. Sep 2016, 21:16, edited 1 time in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VB 5.1.4 with Ext. Pack not copying and pasting to non-Gnome DE's

Post by socratis »

Moving to "Linux Guests".

And my humble opinion, maybe it's an issue with this specific window manager, but I'm no Linux expert. That's BTW why I'm moving the topic, in the hopes that more Linux experts lurk there.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VB 5.1.4 with Ext. Pack not copying and pasting to non-Gnome DE's

Post by Perryg »

clipboard depends on Xorg and Freedesktop IIRC. I hate Gnome and KDE and never use them unless it is on an Alpha guest that does not support anything other than Gnome at that point. I pretty much never have an issue with 3D, clipboard, and the like, so I would make sure that you have installed all the necessary packages and verify it twice.

You may also find additional information on how to debug this HERE
Predatorian
Posts: 11
Joined: 21. Mar 2009, 17:17
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Minix3, Ubuntu, Winduhs, SuSE
Location: KC

Re: VB 5.1.4 with Ext. Pack not copying and pasting to non-Gnome DE's

Post by Predatorian »

Thank you Perryg. You had given me an idea in that I had to startup the VBoxClient, but I kept looking at the SystemD unit files for VirtualBox guest additions, and kept seeing
  • vboxadd-service.service
  • vboxadd-x11.service
  • vboxadd.service
but I never saw anything about VBoxClient. Then I kept looking for how to start it in a unit file, but I'm not booting directly into Run mode 5. So, I had to figure out how to get i3, or xmonad to start it when I started it. Under the User's directory who's starting the DE, I had to edit the .xinitrc and add in the /usr/bin/VBoxClient-all command in there. So now, that has started, I am able to use the clipboard and copy and paste both ways now, at least for i3, or Xmonad. I haven't tried Budgie for Solus yet, but as of now, this forum post is solved.
Post Reply