Clipboard sharing stops working or works intermittently
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
After installing Windows 11 ARM and the guest tools, clipboard sharing works great. Then after a reboot or two, the clipboard sharing stops working. I can reboot the system several times, but the clipboard sharing is not working, even while folder sharing is working fine. Reinstalling the guest tools (and rebooting) allows the clipboard sharing to start working again (usually). But later on a subsequent boot (not always the first one), the clipboard sharing stops working again.
I'm wondering if the reinstalling of the guest tools is a red herring, and maybe the clipboard sharing just works intermittently (on some boots), because I've seen cases where reinstalling the guest tools did not restore the shared clipboard, and it only started working again after another reinstall.
I've also seen situations where the shared clipboard isn't working and didn't start working after several restarts and only started working after a reinstall of the guest tools.
I suspect there's a race condition where if the machine starts up fast enough, the guest tools fail to connect to the shared clipboard handler.
Or maybe something is getting corrupted in the guest tools.
**Configuration**
* UTM Version: 4.5.3
* macOS Version: 14.5
* Mac Chip (Intel, M1, ...): M3
* Guest Tools version: 0.229
**Debug log**
> For all issues related to running a VM, _including_ crashes, you should attach a debug log. (This is unavailable for macOS-on-macOS VMs. Attach an excerpt of your system log instead.)
> To get the Debug log: open UTM, and open the settings for the VM you wish to launch. Near the top of the `QEMU` page is `Debug Log`. Turn it on and save the VM. After you experience the issue, open the VM settings again and select `Export Log...` and attach it here.
I'll do this next time it happens.
Contributor guide
Assessment
This issue has not been assessed yet.