bi-directional drag n drop copy paste

This is for discussing general topics about how to use VirtualBox.
An
Posts: 11
Joined: 31. Jul 2023, 15:48

bi-directional drag n drop copy paste

Post by An »

I managed to install VirtualBox (VirtualBox-7.0.8-156879-Win) (available 7/2023) on Windows 10 Home and Linux Kali as an iso file inside . I struggled a lot and in the end chose a folder for VM to be 40G. As I am a beginner I asked ChatGPT a lot of questions. I then loaded Kali Linux.iso as a 3.96G installer for a Windows 64 sytem (I do not see a version number with this) at #kali-live.
I installed Guest additions according to the terminal command as you show but bidirectional clipboard is not working
Does all the versions of Kali work with clipboard or does it stop doing so after an upgrade ?
Attachments
VM image settings.JPG
VM image settings.JPG (68.76 KiB) Viewed 4576 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: bi-directional drag n drop copy paste

Post by scottgus1 »

Please 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 Attachments tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

thank you for your answer. I saved the log file, its 259 kB big. I have trouble zipping it and it keeps telling me access denied. Can I attach it as it is ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: bi-directional drag n drop copy paste

Post by scottgus1 »

A large log usually comes from a long-running VM. A VM with a shorter running time may have a smaller log. Virtualbox does not zip anything, so the Access Denied error is coming from the zip app. Perhaps you tried to zip the log while the VM was still running?

Please try running the VM again, this time only logging into the VM OS, trying the drag n drop and clipboard in both directions. Then shut down the VM from inside the VM OS. Then take the log and zip/post it.
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

yes the problem is with zipping the file. The machine was powered off
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: bi-directional drag n drop copy paste

Post by scottgus1 »

Zipping is not a Virtualbox function. Figure out how to zip the file and troubleshoot using the zip app's help channels.

A suggestion, if you can open the log in a Notepad or gedit or other text editor, then save the contents to a different file. Then try zipping the new file.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: bi-directional drag n drop copy paste

Post by scottgus1 »

BTW you were told to start a new topic, not continue hijacking someone else's.

Splitting to a new separate topic.

Start following directions more carefully.
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

I apologise. I searched for starting a new topic and could find no such option.
I managed to zip the file by first moving it to an external USB and then zipping it
Linux kali-2023-08-07-13-31-37 log.zip
(51.07 KiB) Downloaded 16 times
p060477
Posts: 111
Joined: 12. Jun 2015, 11:29

Re: bi-directional drag n drop copy paste

Post by p060477 »

but you are not able to drag n drop in all the 2 ways:
host -> guest
guest-> host ?
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

yes, I cannot drag and drop from guest to host or host to guest
nor copy from quest to host or from host to quest
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: bi-directional drag n drop copy paste

Post by mpack »

Well, let's start by installing the Guest Additions, which I note you have not done. The only thing you have in there are the 6.0.0 kernel drivers bundled by the distro.
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

Okay, I have gone through the installation process of quest additions several times

I also have the VBox_GA_7_7.0.8 listed as an iso but grey at times (?)

the method I used was
kali@kali:~$ sudo apt update
:~$ sudo apt upgrade
[...]
kali@kali:~$
kali@kali:~$ sudo apt install -y --reinstall virtualbox-guest-x11
[...]
kali@kali:~$
kali@kali:~$ sudo reboot -f
p060477
Posts: 111
Joined: 12. Jun 2015, 11:29

Re: bi-directional drag n drop copy paste

Post by p060477 »

i think that without ga's you won't be able to have any drag n drop function...so the first thing is to install them...maybe you would better choose an older vers...not a 7 but a 6 or 5 vers of ga's
i say this cause here i discovered that maybe the newest 7 series have some bugs...expecially with
, in my case, win xp as guest vm
good luck!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: bi-directional drag n drop copy paste

Post by scottgus1 »

p060477's idea about older Guest Additions might work, if the feature having the trouble hasn't been updated since then. Drag n drop has been updated since then, so older Guest Additions might not work.

Please zip and post a new log, so we can see if the Guest Additions got installed.

**********************
An wrote: 8. Aug 2023, 10:08 I searched for starting a new topic and could find no such option.
I have just the slightest hint of an idea that the forum buttons labeled "New Topic" at the top and bottom of each subforum, like in "Using Virtualbox", "Virtualbox on Windows Hosts", etc., would just possibly have got you to where you needed to start to post in a new topic. :lol: :wink:
An
Posts: 11
Joined: 31. Jul 2023, 15:48

Re: bi-directional drag n drop copy paste

Post by An »

thank you, I found it as well
In which folder does guest additions sit after installation ?
Post Reply