VirtualBox

Ticket #18207 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

VM shortcut start does not work (anymore) -> fixed after (not in) 6.0.0 and in test builds

Reported by: DJ Doena Owned by:
Component: GUI Version: VirtualBox 6.0.0
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

I tried to use the old 5.x shortcut to start a specific machine, but got

--startvm ist eine Option für die VirtualBox VM-Ausführungs-Anwendung (VirtualBoxVM), nicht den VirtualBox Manager.

which basically says "--startvm" is not a valid parameter. OK, so something's changed with 6.0 No prob. Use VirtualManager 6.0

VirtualBox graphische Benutzeroberfläche
Version 6.0.0 r127566 (Qt5.6.2)
Copyright © 2018 Oracle Corporation and/or its affiliates. All rights reserved.

to create a new shortcut. Said and done. Same error.

Shortcut created puts the execution instruction as such:

"C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "VM-Name" --startvm "{139ad888-e3c1-4220-8a36-751414cb3c47}"

Attachments

vb.png Download (6.5 KB) - added by DJ Doena 4 years ago.

Change History

Changed 4 years ago by DJ Doena

comment:1 Changed 4 years ago by Bigos

Please try VirtualBoxVM.exe instead of VirtualBox.exe. I think the executable for launching VMs has changed in 6.0 and is now different from the dashboard one.

comment:2 follow-up: ↓ 4 Changed 4 years ago by pjanssen

When using 6.0 to create shortcuts on the desktop it still uses VirtualBox.exe. Manually changing the shortcut to VirtualBoxVM.exe works. The shortcut should be created with the correct executable.

I think the problem is in these lines:
 UIDesktopServices_x11.cpp#L50
 UIDesktopServices_win.cpp#L39

Last edited 4 years ago by pjanssen (previous) (diff)

comment:3 Changed 4 years ago by ploni

Same issue also occurs on Linux.

comment:4 in reply to: ↑ 2 Changed 4 years ago by socratis

Replying to pjanssen:

I think the problem is in these lines:

Great finding! However, I find it best to link to the source code directly, instead of a copy of the tree in Github (which is not maintained BTW) from 2014:

comment:5 Changed 4 years ago by kyrios

Same problem on linux. Replace the executable "VirtualBox" with "VirtualBoxVM"

Version 0, edited 4 years ago by kyrios (next)

comment:6 Changed 4 years ago by j1simon

Same here on Arch Linux

comment:7 Changed 4 years ago by pentagonik

Thanks for the report. This issue will be fixed in the next upcoming maintenance version.

comment:8 Changed 4 years ago by michael

  • Summary changed from VM shortcut start does not work (anymore) to VM shortcut start does not work (anymore) -> fixed after (not in) 6.0.0 and in test builds

Please try a current test build<1>. Please note that non-development test builds should be as stable as release builds for most purposes.

  1. wiki:Testbuilds

comment:9 Changed 4 years ago by andaris

Apparently, the file associations for .vbox and .vbox-extpack file extensions also do not work anymore (Virtualbox 6.0.0 on Windows 10 1809)

Thank you!

comment:10 Changed 4 years ago by socratis

@andaris

This ticket is for the shortcuts only. There are two other tickets for all file associations:

  • #18206 Error when installing Extension Pack
  • #18197 OSX: Dbl-clicking on registered file types results in no action

comment:11 Changed 4 years ago by pentagonik

Right, creating shortcuts (what this ticket is about) and actually launching stuff from registered file types are two completely separate things.

comment:12 Changed 4 years ago by andaris

Ok, thank you very much for your feedback. Then I'll watch the other tickets for the file associations.

comment:13 Changed 4 years ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use