Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MacOS] - Headless with Apple Virtualization #6188

Closed
toddlindner opened this issue Mar 11, 2024 · 2 comments
Closed

[MacOS] - Headless with Apple Virtualization #6188

toddlindner opened this issue Mar 11, 2024 · 2 comments
Labels
apple virtualization macOS Virtualization issues

Comments

@toddlindner
Copy link

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 #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.

@osy osy added the apple virtualization macOS Virtualization issues label Mar 28, 2024
@osy
Copy link
Contributor

osy commented Mar 28, 2024

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.

@toddlindner
Copy link
Author

PTTY worked, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple virtualization macOS Virtualization issues
Projects
None yet
Development

No branches or pull requests

2 participants