VirtualBox

6 年 前 建立

6 年 前 結束

#18207 closed defect (fixed)

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

回報者: DJ Doena 負責人:
元件: GUI 版本: VirtualBox 6.0.0
關鍵字: 副本:
Guest type: Windows Host type: Windows

描述

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}"

附加檔案 (1)

vb.png (6.5 KB ) - 6 年 前, 由 DJ Doena 新增

下載所有附檔: .zip

更動歷史 (14)

6 年 前DJ Doena 編輯

附檔: 新增 vb.png

comment:1 6 年 前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 6 年 前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

最後由 pjanssen 編輯於 6 年 前 (上一筆) (差異)

comment:3 6 年 前ploni 編輯

Same issue also occurs on Linux.

回覆:  2 comment:4 6 年 前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 6 年 前kyrios 編輯

Same problem on linux. Edit the shortcut and replace the executable "VirtualBox" with "VirtualBoxVM"

最後由 kyrios 編輯於 6 年 前 (上一筆) (差異)

comment:6 6 年 前Juan Simón 編輯

Same here on Arch Linux

comment:7 6 年 前pentagonik 編輯

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

comment:8 6 年 前Michael Thayer 編輯

摘要: VM shortcut start does not work (anymore)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 6 年 前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 6 年 前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 6 年 前pentagonik 編輯

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

comment:12 6 年 前andaris 編輯

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

comment:13 6 年 前Michael Thayer 編輯

狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette