Locked
- Print view
9 posts• Page 1 of 1
- Ztruker
- Posts: 32
- Joined: 29. Aug 2009, 02:52
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: Windows 10 Pro X64; Windows XP Pro; OS/2 Warp 4; macOS X 10.12 Sierra
Get --startvm error when I double click on icon for any of my VMs. (#18207)
Postby Ztruker »
ModEdit; related ticket: #18207: VM shortcut start does not work (anymore)
Upgraded to the latest 5.2 on Windows 10 Pro X64. When I then double click on any of the icons on my desktop for my Oracle VMs, I get the following error:
--startvm is an option for the VirtualBox VM runner (VirtualBoxVM) application, not the VirtualBox Manager.
When I close the error window, the VM opens okay. Looking at the Properties for a Win 10 VM, the Target field is like this:
"C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "Windows 10 Pro X64" --startvm "b6bfc1a9-d849-4eda-a88c-c83baa90e269"
It's unchanged from before updating the latest Oracle VB 5.2. I then tried updating to Oracle VB 6.0 but still have the same problem. A Google search does not yield and results.
I created the desktop icons from Oracle Virtual Box Manager by right clicking on each VM and selecting Create shortcut on Desktop.
Last edited by socratis on 26. Dec 2018, 19:26, edited 1 time in total.
Reason: Added ticket related information.
Top
- socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby socratis »
Ztruker wrote:Upgraded to the latest 5.2 on Windows 10 Pro X64.
Are you absolutely sure that you're seeing this with 5.2.x (mind that there's no 5.2)? Because (if I'm not grossly mistaken), this was a feature that was introduced with 6.0.0 beta, not before that.
Ztruker wrote:A Google search does not yield and results.
Here are two:
- Error message when running a VM from a shortcut created by VBox 5.2
- VM shortcuts created even by the *beta* do not work
Explanation: The VirtualBox Manager (VirtualBox.exe) used to launch the VirtualBox Manager and run the VMs:
VirtualBox.exe --startvm <UUID>
Now that functionality has been split in two; "VirtualBox.exe" is the good old VirtualBox Manager only, and the VM starting/handling/monitoring is done by the application "VirtualBoxVM.exe".
Solution: You need to re-create your shortcuts, or edit the shortcut and change the application from "VirtualBox.exe" to "VirtualBoxVM.exe".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Top
- rfm
- Posts: 13
- Joined: 8. Sep 2008, 20:45
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu, Windows
- Location: Palo Alto, California, USA
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby rfm »
Re-creating the shortcut doesn't help, even on 6.0.0 general release; the generated shortcut still uses VirtualBox.exe in the command (at least on Windows 10, didn't try on any other host.) For now it seems to be necessary to edit the shortcut properties and change VirtualBox.exe to VirtualBoxVM.exe.
Top
- Ztruker
- Posts: 32
- Joined: 29. Aug 2009, 02:52
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: Windows 10 Pro X64; Windows XP Pro; OS/2 Warp 4; macOS X 10.12 Sierra
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby Ztruker »
I did re-create the shortcuts and as reported, it made no difference. I'll edit the shortcut. Thank you.
PS: I'm pretty sure it was 5.2 but can't be 100% certain.
Top
- Numbergod
- Posts: 2
- Joined: 18. Mar 2018, 12:05
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby Numbergod »
I'm getting exactly the same behaviour on Virtualbox 6.0.0 r127566
Deleting & recreating the desktop shortcut doesn't fix it. But manually modifying the shortcut to VirtualBoxVM.exe does fix it.
It appears that the code to create the desktop shortcut hasn't been updated.
Can someone report this as a bug?
Many thanks,
Don.
Top
- Maynne
- Posts: 3
- Joined: 22. Dec 2018, 11:56
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby Maynne »
It is unfortunate that bug like this is not solved during the beta testing.
For crying-out loud Oracle, you had Virtualbox 6.0 Beta 1, 2 and 3 -- and this simple bug was not quashed during the beta period.
Just change the target of the shortcut from:
"C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "Windows 10 Pro X64" --startvm "b6bfc1a9-d849-4eda-a88c-c83baa90e269"
to
"C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe" --comment "Windows 10 Pro X64" --startvm "b6bfc1a9-d849-4eda-a88c-c83baa90e269"
This issue is across the board, in my Linux Mint 19 XFCE 64-bit host, I needed to change the target of my shortcut from VirtualBox to VirtualBoxVM.
Top
- Gl3d50N
- Posts: 1
- Joined: 26. Dec 2018, 17:34
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby Gl3d50N »
Maynne wrote:Just change the target of the shortcut from:
"C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "Windows 10 Pro X64" --startvm "b6bfc1a9-d849-4eda-a88c-c83baa90e269"
to
"C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe" --comment "Windows 10 Pro X64" --startvm "b6bfc1a9-d849-4eda-a88c-c83baa90e269"
This solved to me too, thanks for the tip!!!
Top
- socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Get --startvm error when I double click on icon for any of my VMs.
Postby socratis »
Numbergod wrote:Can someone report this as a bug?
Done, actually 2 days before your comment. Ticket #18207: VM shortcut start does not work (anymore).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Top
- Dan_can_fly
- Posts: 13
- Joined: 3. Oct 2016, 18:12
Re: Get --startvm error when I double click on icon for any of my VMs. (#18207)
Postby Dan_can_fly »
But only change the VirtualBoxVM.exe part, not the long nonsense string which is computer-specific.
And thanks for the hack - it saved me, 3 years later!
Top
Locked
- Print view
9 posts• Page 1 of 1
Return to “VirtualBox on Windows Hosts”
Jump to
- General
- ↳ Howtos and Tutorials
- ↳ Rules and FAQ
- ↳ Generic Advice
- ↳ Building VirtualBox
- ↳ Windows Hosts
- ↳ Linux Hosts
- ↳ Other Hosts
- ↳ Windows Guests
- ↳ Linux Guests
- ↳ Other Guests
- ↳ Using VirtualBox
- ↳ VirtualBox on Windows Hosts
- ↳ VirtualBox on Windows pre-releases
- ↳ VirtualBox on Linux Hosts
- ↳ VirtualBox on Mac OS X Hosts
- ↳ VirtualBox on Mac OS X pre-releases
- ↳ VirtualBox on Solaris Hosts
- ↳ VirtualBox on Other Hosts
- ↳ Suggestions
- ↳ Third Party Applications
- Guest systems
- ↳ Windows Guests
- ↳ Linux Guests
- ↳ Solaris Guests
- ↳ Mac OS X Guests
- ↳ Other Guests
- Deutschsprachige Anwender
- ↳ Allgemeine Diskussionen
- VirtualBox Programming
- ↳ The VirtualBox API
- ↳ VirtualBox OSE
- Special Purpose
- ↳ VirtualBox Beta / Release Candidate Feedback
- ↳ Old Beta Postings