copy / paste not working between guest / host

Discussions about using Linux guests in VirtualBox.
Post Reply
KenUnix
Posts: 9
Joined: 12. Apr 2020, 03:01

copy / paste not working between guest / host

Post by KenUnix »

Hi.

Host OS is Ubuntu 22.04 64bit running Virtualbox 7.0.8.

Guest OS is antiX 22 32bit using the zzz-JWM desktop (to allow for launchers).

Copy/paste is enabled on the host but it does not work.

I can mark and copy the text but when trying to paste I get a blank screen. In fact if I start
ROX term and copy some text exit ROX term and bring up ROX term again the copy is gone.
However if I bring up a second ROX term I can copy between them. Strange indeed.

Shared folders work fine.

Thanks
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: copy / paste not working between guest / host

Post by scottgus1 »

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)

Please note that you might have to wait for a Linux guru to look the log over, though. This one sounds a bit beyond my knowledge, but those that know may be able to see something in the log.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: copy / paste not working between guest / host

Post by mpack »

Please note that "text" means just that: plain ascii text stored as a memory blob on the clipboard.

I'm not familiar with ROX, but your description of ROX behaviour (i.e. that data disappears if ROX is closed down) makes me believe that it does not put an ascii memory blob on the clipboard, instead it configures a COM API to dynamically render the data in whatever format an external app requests. Nothing goes on the clipboard until a request is made. That COM server process is destroyed when ROX closes, hence nothing is available if ROX is closed before a request.

And it should be plain that a COM API is not a text blob or a graphics blob, so is not compatible with VirtualBox.
Post Reply