UTM icon indicating copy to clipboard operation
UTM copied to clipboard

[MacOS] - Headless with Apple Virtualization

Open toddlindner opened this issue 11 months ago • 1 comments

Unable to start a Linux VM headless with Apple Virtualization

  • UTM Version: 4.4.4
  • macOS Version: Sonoma 14.4
  • Mac Chip: M1

As solved in https://github.com/utmapp/UTM/issues/2280 - I have QEMu VMs that start headless by removing the display adaptor.

When trying the same for a VM that uses Apple Virtualization, the VM starts fine but I am never able to access it (by SSH in my case). I don't really know where to look for logs, but i'm guessing it isn't getting past the boot loader.

If I re-add the display adaptor and restart, it connects fine.

toddlindner avatar Mar 11 '24 16:03 toddlindner

This may just be an Apple limitation/bug. Try setting it up with a serial port and map it to PTTY (not terminal). You won't get any window popup, but you should be able to connect to the PTTY.

osy avatar Mar 28 '24 21:03 osy

PTTY worked, thanks!

toddlindner avatar May 12 '24 16:05 toddlindner