9
« on: June 09, 2018, 08:34:04 PM »
This is not a permanent solution see last step below.
My test environment
Host: Win10 (sorry, I'm at work)
VM: LL4
Software on host/Win10: Virtualbox 5.2
Software/guest additions on VM: pre-installed/stock version
Let's begin
Add a shared folder in the LL4 virtual machine
Start the virtual machine
On a working system these two services should be running
(systemctl | grep vbox)
--------------------------
vboxadd-service.service
vboxadd.service
On LL4 only one is running
-----------------------------
vboxadd.service
We need to start the additional service
-------------------------------------------
sudo systemctl start vboxadd-service.service
sudo systemctl enable vboxadd-service.service
If user is already a member of vboxsf group sharing should now be working:
> For me the share is listed in Thunar as sf_Downloads (/media/sf_Downloads/)
> An icon was not placed on the desktop
If user is NOT a member of vboxsf group they can be added to the group as follows:
(Note, you generally only need to do this step one time)
We need to add user to the vboxsf group (cli)
sudo adduser scott vboxsf
OR
We need to add user to vboxsf group (graphical)
start > All > Linux Lite User Manager
Last step
Logout out and Log back in.
Note this will even work for the LL4 Live CD environment
Run terminal cmd
whoami
The answer on my system is - linux
Now just go through the steps above with user linux
When logging in/out the user is linux and the password is left empty (i.e. there is no password.)
Not a permanent solution:
For some reason this service is not starting automatically and these commands need to be run again after a reboot.
sudo systemctl start vboxadd-service.service
sudo systemctl enable vboxadd-service.service