UTM
UTM copied to clipboard
Copy/Paste Not working macOS Host to Guest Monterey VM from Apple Silicon Laptop
Describe the issue Copy and paste is not working between the host and the guest. Is this expected behavior or is there something additional that needs to be enabled?
Configuration
- UTM Version: 3.0.4
- OS Version: Monterey
- Intel or Apple Silicon? Apple Silicon
From Parallels Desktop notes:
Productivity and integration features are not available to this VM yet. It is not possible to suspend and resume the VM, shared folders and snapshots are not supported for now. Apart from that it is currently not possible to adjust guest macOS screen resolution in real-time mode when resizing ratio; to change virtual machine amount of CPU and RAM or its hardware parameters (Device UUID and Serial number) and to register with Apple ID. USB and camera sharing are also missing in macOS Monterey VM running on a Mac with Apple M1 chips so far.
Parallels Engineering Team is researching ways to expand the list of supported features in future product updates. Shared Clipboard has already been added. To enable this feature make sure Parallels Tools are installed and up-to-date.
So, it looks to me like shared clipboard is possible, but requires adding something inside the guest VM and supporting it through the VM framework.
Anyone not connected with UTM development want to have a look at what Parallels is doing and describe it in broad terms? Might be usable inside x86_64 macOS VMs too. Or someone figuring out SPICE integration for macOS.
That's the only thing preventing me from using a Monterey VM on Apple Silicon right now.
That's the only thing preventing me from using a Monterey VM on Apple Silicon right now.
Hello : Giving you a short help use command + c to copy thing from mac os also for M1 mac also . and then use control(^) + shift + V to copy it in UTM
@protectmango hi, this doesn't work for me on macOS M1 Max with 3.1.5 and macOS Monterey guest VM
@protectmango
hi, this doesn't work for me on macOS M1 Max with 3.1.5 and macOS Monterey guest VM
You may want to update to 3.2.1?
@adespoton: i already looked for the beta 3.2.1, but I can't find the download links on the releases page...
https://github.com/utmapp/UTM/releases
-Em
On May 8, 2022, at 10:44 AM, flotpg @.***> wrote:
@adespoton: i already looked for it, but I can't find the download links on the releases page...
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
None of the beta releases have assets attached (no links to dmg, etc).
Uhhh have you tried clicking on the word “Assets”
Ahh, too blind. For stable releases the assets are expanded. Betas are collapsed. Found it and will try, many thanks.
control(^) + shift + V not working for me with Monterey guest on apple silicon host running UTM 3.2.2
Not working for me either. I'm on 3.2.4.
Same here, on version 3.2.4.
https://www.youtube.com/watch?v=A2fEUnk5io0&t=231s Bro Watch this dude video it will definitely solve all your problems
On Wed, Jun 22, 2022 at 4:33 AM Miguel Hervas @.***> wrote:
Same here, on version 3.2.4.
— Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/3567#issuecomment-1162445934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTS6QAVRBCSS7Z7XXEBZP3VQJC4RANCNFSM5NK22RZQ . You are receiving this because you were mentioned.Message ID: @.***>
For me worked install on Kali Virtual sudo apt install spice-vdagent spice-webdavd
and enable clipboard sharing from settings. Restart UTM and Kali to make changes work.
It does not seem to work if only terminal i.e. Ubuntu Server.
Not working for me as well.
For Monterey hosts and Monterey guests you can use a bit of hacky workaround: Apple Remote Desktop. It allows you to copy the clipboard to to/from the guest and you can also drag and drop files to the remote window to transfer files to the VM.
@ahrenstein, interesting, can you expand on that further? How do you set this up?
For Monterey hosts and Monterey guests you can use a bit of hacky workaround: Apple Remote Desktop. It allows you to copy the clipboard to to/from the guest and you can also drag and drop files to the remote window to transfer files to the VM.
Wow. This is genius. Seriously, thank you. What a brilliantly simple solution to use the Screen Sharing app. It even enabled the touchpad pinch-to-zoom functionality in Photoshop, which I was sorely missing. Thank you!
Oh man now I really feel left out. Anybody care to be kind enough to explain how to set that up?
Edit: I guess I'm curious if you're able to connect to the VM via ARD (Apple Remote Desktop) offline or if you need to have UTM and ARD running side-by-side with an Internet connection.
Oh man now I really feel left out. Anybody care to be kind enough to explain how to set that up?
Edit: I guess I'm curious if you're able to connect to the VM via ARD (Apple Remote Desktop) offline or if you need to have UTM and ARD running side-by-side with an Internet connection.
Start the VM (yes it needs to be running side-by-side). In the VM, enable Screen Sharing in Preferences-->Screen Sharing. Then on your host mac, open the default Screen Sharing app, and connect to the VM's IP address.
I also have File Sharing in the VM enabled so I can mount it as a remote drive in my host, but you can drag and drop from host to guest (and vice versa) with the Screen Sharing app.
@jonathanlaniado In the guest macOS under System Preferences > Sharing enable either "Remote Management" or "Screen Sharing" I use the former since I own a copy of ARD
Then you can just use ARD or Screen Sharing to access the IP address of the VM from your host. In my case last night it was 192.168.64.2
although you can find your IP in the Network settings.
@j26w I'm glad I could help!
No need to even find the IP address. With Remote Access enabled on the guest, the guest should show up in the Locations list on the host’s Finder sidebar. Select it and click Share Screen… and you’re connected.
Do we have a way to run VMs headless by default in UTM now? Because UTM itself could be used to use the share screen feature for screen display if the option is enabled on the guest and the feature was added to UTM.
-Em
On Aug 31, 2022, at 10:44 AM, Matthew Ahrenstein @.***> wrote:
@jonathanlaniado In the guest macOS under System Preferences > Sharing enable either "Remote Management" or "Screen Sharing" I use the former since I own a copy of ARD Then you can just use ARD or Screen Sharing to access the IP address of the VM from your host. In my case last night it was 192.168.64.2 although you can find your IP in the Network settings.
@j26w I'm glad I could help!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
I agree that on Mac screen sharing is a much smoother and better experience than the native display. I also wish there were an option to just start UTM headless and launch screen sharing for the UI.
Are there other workarounds for a shared clipboard? It's working with remote access, but I'm not happy with graphic performance.
Incase you have trouble doing the screen share trick, follow these steps:
On the Guest machine (the UTM virtual machine):
- Open System Settings > General > Sharing
- Turn on Screen Sharing
- Click the "i" symbol next to Screen Sharing and change "Allow Access" to "All Users"
On the Host Machine (your real computer):
- Open Finder
- In the left sidebar under "Locations" click the "Network" tab
- You will see your virtual machine in there. It will be named something like "[NAME]'s Virtual Machine". Right click on it and select "Screen Share"
- Input the Username and Password for your Guest machine
At this point will have two windows open for interacting with the Guest machine:
- The UTM window - it will be named whatever you called the UTM machine when you created it
- The Screen Share window - it will be named "[NAME]'s Virtual Machine"
Use the Screen Share window as your main window for interacting with the Guest desktop. You'll be able to move files and copy/paste between the host and guest machines easily.
The other UTM window needs to remain open because closing it will shut down the guest machine. I just minimize it to avoid confusion.
Running UTM Version 4.2.5 (81), on macOS Ventura 13.4.1 (22F82), VM is Linux 6.1.0-kali9-arm64 #1 SMP Debian 6.1.27-1kali1 (2023-05-12) aarch64 GNU/Linux.
I have configured folder/clipboard sharing in UTM and have spice-vdagent spice-webdavd installed.
In UTM in VM settings if under Display I select virtio-ramfb
- copy paste works.
If I select virtio-ramfb-gl (GPU Supported)
- copy paste does not work.
But not even that works every time. When it does not work, after couple of VM reboots, it eventually starts working.
I tried restarting spice* services in VM but nothing helped.
Anyone not connected with UTM development want to have a look at what Parallels is doing and describe it in broad terms? Might be usable inside x86_64 macOS VMs too. Or someone figuring out SPICE integration for macOS.
I am not very familiar with VM development, but isn't this precisely what's needed, at least on Ventura?
For text, you can take a screenshot of what you want to copy (Shift, Command, and 4 to capture a portion of the screen) in the VM. Then right click on the thumbnail in the corner of your screen and choose Markup, and copy the text. It's now in your Clipboard to paste wherever you want.