Yes, I wanted to clarify that I am using Kicksecure as the host operating system rather than using Kicksecure as a VM, and that I am using Whonix as a VM inside Kicksecure
No output, mounting in /mnt/workstation-shared still results in no files showing up in the shared folder unless I’m looking in the wrong place, looking in /mnt/shared in whonix don’t see anything in media either.
/home/user/shared still fails with the original error to even open the vm.
Expected. That package isn’t installed on Kicksecure Host. It’s not supposed to be either. Therefore folders /mnt/workstation-shared / /mnt/gateway-shared aren’t automatically created.
While on kicksecure host I was able to work around this problem by putting the shared folder at /home/shared rather than anywhere in the user directory, putting at /mnt/shared yielded a successful launch but without the shared folder actually showing up in the vm.
To restate: I have never been able to solve the original problem that I could not make the shared folder as /home/user/shared because whenever I put it in the user directory even after doing chmod 777 it fails to launch due to a permission error (the same original error)
Even on a Manjaro host I get this issue, but it is even worse because while I can still open the VM with the shared folder attached to /home/shared and /mnt/shared, the shared folder does not actually appear anywhere in the vms in either case, so I can’t get the shared folder working. This problem is occuring both with KVM Kicksecure and KVM Whonix.
Perhaps I should try to fix the permission error with /home/user/shared first?
I’ve fixed the “cannot initialize fsdev ‘fsdev-fs0’: failed to open ‘/home/user/shared’: Permission denied” problem by editing /etc/libvirt/qemu.conf and adding the line:
user = “user”
I figured this from this post I found on a similar issue on redhat forum
" Daniel Berrangé 2015-01-05 11:01:16 UTC
2014-12-15 qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=shared,bus=pci.0,addr=0x9: Virtio-9p Failed to initialize fs-driver with id:fsdev-fs0 and export path:/home/user/Documents/shared
My guess is that since the QEMU process is probably running under a qemu:qemu user/group account, it will not have permission to access /home/user/… and this then causes QEMU to shutdown."
However, now the other problem persists, while the VM now successfully launches with an attached shared folder inside the user directory, I still can’t find the shared folder anywhere in the vm. Any ideas which logs I should look at to find anything out about this or something?
I uninstalled whonix & ks and then reinstalled with version 15.0.1.3.9, and now the shared folder shows up in /mnt/shared and moving files across works. Not sure what happened