Error message when running a VM from a shortcut created by VBox 5.2
-
- Posts: 70
- Joined: 25. Oct 2018, 04:13
Error message when running a VM from a shortcut created by VBox 5.2
Running the VM in question by launching it through the VBox application does not present the problem.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Error message when running a VM from a shortcut created by VBox 5.2
• Where did you get that shortcut?WhatHaveYou wrote:by editing the shortcut (once I've located it on my system; I find it via a launcher)
• What does it point to if you edit it?
• Did you uninstall VirtualBox prior to installing the beta?
• Can you try a clean uninstall/re-install?
• What is your host?
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.
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.
-
- Posts: 70
- Joined: 25. Oct 2018, 04:13
Re: Error message when running a VM from a shortcut created by VBox 5.2
• Where did you get that shortcut?
I made it via VirtualBox - its 'add a shortcut to desktop' function.
• What does it point to if you edit it?
Its content (I found it; I had moved it off the desktop) is:
• Did you uninstall VirtualBox prior to installing the beta?
Initially, no. But then the beta would not install. At that point, I uninstalled the old Vbox.
• Can you try a clean uninstall/re-install?
I have just tried reinstallation, though admittedly it was not fully clean because I did not remove any stuff in my $HOME. The error persisted. Yet, the problem seems to owe to the combination of the `--startvm` in the shortcut with the new version of Vbox, no?
• What is your host?
Mint 19 x64 Cinnamon.
I made it via VirtualBox - its 'add a shortcut to desktop' function.
• What does it point to if you edit it?
Its content (I found it; I had moved it off the desktop) is:
Code: Select all
/usr/lib/virtualbox/VirtualBox --comment "Win10 Home" --startvm "064d2e5d-3735-4765-920a-64aa5ae86593"
Initially, no. But then the beta would not install. At that point, I uninstalled the old Vbox.
• Can you try a clean uninstall/re-install?
I have just tried reinstallation, though admittedly it was not fully clean because I did not remove any stuff in my $HOME. The error persisted. Yet, the problem seems to owe to the combination of the `--startvm` in the shortcut with the new version of Vbox, no?
• What is your host?
Mint 19 x64 Cinnamon.
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: Error message when running a VM from a shortcut created by VBox 5.2
Yes. The VM Manager and VM processes used to use the same executable. That, for numerous reasons, was a bad idea and the VM Manager executable (VirtualBox) and VM process executable (VirtualBoxVM) are now separate. VirtualBoxVM takes --startvm, VirtualBox does not.WhatHaveYou wrote:Yet, the problem seems to owe to the combination of the `--startvm` in the shortcut with the new version of Vbox, no?
-
- Posts: 70
- Joined: 25. Oct 2018, 04:13
Re: Error message when running a VM from a shortcut created by VBox 5.2
Thanks for the information.
Virtual Box 6 might want to preserve backward compatibility, in the form of compatibility with shortcuts created with earlier versions. It seems to me that not doing that would be a bad idea.
Virtual Box 6 might want to preserve backward compatibility, in the form of compatibility with shortcuts created with earlier versions. It seems to me that not doing that would be a bad idea.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Error message when running a VM from a shortcut created by VBox 5.2
Backwards compatibility creates its own problem, like cumbersome loading. VirtualBox.exe would have to load first, recognize that the parameter is in error, and run VirtualBoxVM instead. All to fix a one-off problem.
As long as the error message is clear (and that dialog above looks pretty damn clear to me!) then I see no problem.
As long as the error message is clear (and that dialog above looks pretty damn clear to me!) then I see no problem.
-
- Posts: 70
- Joined: 25. Oct 2018, 04:13
Re: Error message when running a VM from a shortcut created by VBox 5.2
All to fix a one-off problem that will, roughly and a bit polemically put, 'break userspace'. Also, the next version of VirtualBox could skip the check. So, I think it would be a good idea.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Error message when running a VM from a shortcut created by VBox 5.2
Not too many people use shortcuts. Having VirtualBox launch the main app, just to launch the helper, might be a security risk. And one-off is not that difficult to fix a shortcut. About less than 0.1% of the users will be affected...
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.
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.
-
- Posts: 70
- Joined: 25. Oct 2018, 04:13
Re: Error message when running a VM from a shortcut created by VBox 5.2
Might we - those of us who are / will be affected - at least have a nicer, i.e. more informative, error message, please? (You'll have to say in that message, if it is to be truly informative, that something that worked no longer does .. )
-
- Posts: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: Error message when running a VM from a shortcut created by VBox 5.2
FYI, this error also occurs when double-clicking shortcuts created by the beta. I think the beta should be updated to create shortcuts using the correct target.
Dave F
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Error message when running a VM from a shortcut created by VBox 5.2
@fishnet37222
I did a quick search, and you've previously posted on both "OSX Hosts" and on "Windows Hosts", so I'm not sure which host you're referring to. BTW, you should have told us, I shouldn't have to go searching for it...
But on my OSX 10.11.6 host, the "Create Alias on the Desktop" creates simply an alias to the VBOX file on the desktop, not to an executable with arguments. If you double-click that, it will open VirtualBox if closed, but it won't launch the VM, as it used to. That's another issue in the beta, see "Dbl-clicking on OVA, VBOX does nothing.".
I did a quick search, and you've previously posted on both "OSX Hosts" and on "Windows Hosts", so I'm not sure which host you're referring to. BTW, you should have told us, I shouldn't have to go searching for it...
But on my OSX 10.11.6 host, the "Create Alias on the Desktop" creates simply an alias to the VBOX file on the desktop, not to an executable with arguments. If you double-click that, it will open VirtualBox if closed, but it won't launch the VM, as it used to. That's another issue in the beta, see "Dbl-clicking on OVA, VBOX does nothing.".
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.
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.
-
- Posts: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: Error message when running a VM from a shortcut created by VBox 5.2
This is on the Windows 10 host. The shortcut created by the beta was initially targeting ""C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "Fedora" --startvm "{591b3bbf-5049-4101-bbf6-082fa29b1745}"". After I manually changed the executable name to VirtualBoxVM.exe, it launched without any errors.
Dave F