/Applications/UTM.app/Contents/MacOS/utmctl start HAOS - Not finding VM error only on startup #6367
-
Describe the issue Says that it can't find the VM location...Is there something better to use such as UUID and how do you find this for the VMs? Configuration
Crash log Debug log Upload VM |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 14 replies
-
Run |
Beta Was this translation helpful? Give feedback.
-
Hi Osy, using either the name of the VM or the UUID does not work and has an error stating that itcannot locate the VM. Please help, is there further settings required in security to enable this? The shortcut works when not used as startup shortcut. |
Beta Was this translation helpful? Give feedback.
-
@osy Is there any resolution on this...any solutions to have the VM located on startup...like open utm with separate shortcut and then wait 30 seconds before issuing the command? Just an FYI - I tried this and it didn't work! and if running as administrator requires an approval for adding a helper at every startup, is there a way around this? |
Beta Was this translation helpful? Give feedback.
-
is this an issue for others or only me? |
Beta Was this translation helpful? Give feedback.
-
Could this be because I have autologin option set for my user in the user section and for some reason it's not passing the permissions for accessing the VM location correctly? |
Beta Was this translation helpful? Give feedback.
-
Just want to make a separate reply to say that I am also experiencing this. I previously had a macOS shortcut that used the “utm://start?name=…” url option to autostart a headless VM I have on my M1 Mac mini upon macOS startup. This seemingly randomly stopped working. Like @EagleDTW I have tried using utmctl to get this function back, but have similarly found that it only works when running the command manually in Terminal once the computer is up and running. When the utmctl command is run by Shortcuts upon startup, regardless of whether the VM Name or UUID is used, it does not work and reports that the VM cannot be found. Also, the “utm://start…” url function has apparently stopped working entirely for me, whether or not that is upon startup or when run manually after startup. |
Beta Was this translation helpful? Give feedback.
-
Can you make your script launch UTM, wait a few seconds, then try to use utmctl? |
Beta Was this translation helpful? Give feedback.
Apparently this is the answer and confirmed to be working (from stack overflow):
Log off, log back in, accept and allow…