ARM Linux VM clipboard sharing not working on Mac: what to try
Clipboard or shared folders dead in an ARM Linux VM on a Mac? Check spice-vdagent, mount virtiofs, and test Wayland vs X11, with Parallels notes.
GuideUpdated 5 min read
On this page
Your ARM Linux VM on an Apple silicon Mac won't copy and paste, and shared folders show nothing. The report behind this page came from a Parallels user running Parallels 26 on an M3 Pro with ARM Debian and Ubuntu guests, where neither clipboard nor file sharing worked. The steps below cover Hermitbox first, then what Parallels and VMware Fusion users have reported.
We make Hermitbox, so weigh our view accordingly. It can't help with Parallels Tools or VMware tools; for those, use the vendor's own support.
Why it happens
Clipboard and folder sharing are two separate mechanisms, so they can fail for different reasons.
- Clipboard agent missing or not restarted. In Hermitbox, Linux clipboard sharing relies on
spice-vdagentinside the guest. Most desktop installs include it, but minimal and server installs often don't. A change takes effect only at the next VM start. - Share never mounted. Hermitbox shares folders over virtio-fs, but Linux doesn't mount the share until told to. Without a mount, the folder looks missing.
- No folder added on the Mac side. The mount succeeds but
/mnt/macstays empty. - Images without the agent. Rocky Linux 10 and AlmaLinux 10 cloud images have no
spice-vdagent, so no clipboard there. - Display session type (unconfirmed). On Parallels, one commenter on macOS 27 reported fixing both problems by changing the Debian guest from Wayland to X11, reinstalling Parallels Tools and rebooting. That is a single report on a different product. We haven't verified it for Hermitbox.
| Symptom | Likely cause | Fix |
|---|---|---|
| Inspector says "Needs spice-vdagent in Linux." | Agent not installed | Install it, restart the VM |
| Clipboard works Mac to VM only | VM window not active | Click into the VM window and copy again |
/mnt/mac empty or missing | Not mounted, or no folder added | Add a folder, run the mount command |
| Write fails in a shared folder | Read only ticked | Untick it or choose Allow Writing |
| No clipboard on Rocky/AlmaLinux 10 | Image has no agent | Not available |
Fix the Linux clipboard in Hermitbox
1. Check the switch
In the VM window, click Sharing and make sure Clipboard is on. The same switch is in the inspector under Linux (Clipboard sharing) and in VM Settings > Sharing (Share the clipboard). It is on by default for new Linux VMs.
2. Install spice-vdagent
In the inspector, look at Clipboard sharing under Linux. If it says "Needs spice-vdagent in Linux.", open Set Up in Linux. Hermitbox shows the install command for your distribution.
Run that command in the guest. On Debian or Ubuntu it is:
bash sudo apt install spice-vdagentThis installs the package. To undo it, run
sudo apt remove spice-vdagent.Shut the VM down with Machine > Shut Down (⌘.), then start it again with Start (⌘R).
3. Check the service
From a guest terminal, run:
systemctl status spice-vdagentdThis only reads the service state. If it isn't running after a full shutdown and start, reinstall the package.
4. Try X11 last
Check which session the guest uses:
echo $XDG_SESSION_TYPEIt prints wayland or x11 and changes nothing. If it says wayland and the clipboard still fails after steps 1 to 3, log out and look for an X11 or "Xorg" option on the login screen (often behind a gear icon). Your distro may not offer one. Treat this as a test, not a known fix.
Fix shared folders in Hermitbox
Shared folders don't depend on spice-vdagent.
In the inspector, find Shared Folders (or open the Sharing popover in the VM window) and click Add Folder…. You can also drop a Finder folder there.
Open the Mount in Linux disclosure and copy the "Mount now" command:
bash sudo mkdir -p /mnt/mac && sudo mount -t virtiofs hermitbox /mnt/macThis creates
/mnt/macand mounts the share. To undo it, runsudo umount /mnt/mac.Open
/mnt/mac. Each shared folder appears under it.To mount at every start, use the "Mount at every start" command in the same disclosure. It appends this line to
/etc/fstaband mounts the share:text hermitbox /mnt/mac virtiofs rw,nofail 0 0To undo it, delete that line from
/etc/fstab.
VMs created with Ready in a Minute already have that fstab line, so they mount on their own.
There is one virtio-fs share per VM. If the VM started with at least one shared folder, adding or removing folders applies live. If it started with none, "Changes apply the next time it starts." A folder marked Read only can't be written from Linux.
If you're on Parallels or VMware Fusion
We haven't tested either, and we can't give their menu paths. People on Parallels' community forum report this order of fixes, from one commenter:
- Switch the Linux session from Wayland to X11.
- Reinstall Parallels Tools in the guest.
- Reboot the VM.
Another reply said Parallels Tools for ARM Linux lacks full integration, which we can't confirm. A VMware Fusion user reported getting clipboard and folder sharing working with Open VM Tools "after a lot of tweaking". For any of this, Parallels or Broadcom/VMware support is the reliable source.
Checklist before you try again
- Clipboard is on in the Sharing popover.
spice-vdagentis installed, andsystemctl status spice-vdagentdlooks healthy.- You shut the VM down fully and started it again from Hermitbox.
- The VM window is the active window when copying from guest to Mac.
- A folder is listed under Shared Folders and
/mnt/macis mounted. - The distro isn't a Rocky or AlmaLinux 10 cloud image.
If nothing works
Contact MacSuite support if you use Hermitbox. For Parallels or VMware, contact those vendors. Include the distro and version, echo $XDG_SESSION_TYPE output, whether the VM came from Ready in a Minute or an ISO, the exact inspector text, and the steps you tried.
Subject: Linux clipboard/shared folders not working in Hermitbox
Distro and version: Debian 13 (arm64)
Created from: installer ISO
Session type (echo $XDG_SESSION_TYPE): wayland
Inspector Clipboard sharing says: Needs spice-vdagent in Linux.
Tried: installed spice-vdagent, full shutdown and start,
ran sudo mount -t virtiofs hermitbox /mnt/mac
Result: /mnt/mac is empty / paste does nothingCommon questions
Is Wayland the cause in Hermitbox too?
We don't know. The fix comes from one Parallels commenter and is unverified for Hermitbox. Check the clipboard switch, the agent and a full restart first.
Do I need to install anything for shared folders?
No extra package in Hermitbox. Run the mount command, or add the fstab line, in the guest.
Why does the clipboard stop working when I suspend or resume?
We only know that on some macOS versions a VM with clipboard sharing on can't be suspended; the tooltip says "Turn off clipboard sharing to suspend this VM on this version of macOS."
Does paste from the VM to the Mac always work?
Only while that VM's window is the active window. Click into it and copy again.
For more, see the Hermitbox shared folders and clipboard docs and the general VM clipboard fix guide. Hermitbox is part of MacSuite; you can try it free for 7 days.