socratis wrote:First and foremost, you're running the Ubuntu fork or VirtualBox, as evident by the "
_Ubuntu" of the version. You should uninstall that one and install the one from
https://www.virtualbox.org/wiki/Downloads
Yes, I am. But I hoped that, even if it is not an optimized and fully-updated version, this one would work anyway.
socratis wrote:here is no "vboxmanage" command, only "VBoxManage", unless you've setup an alias.
Oh, you're right!!
socratis wrote:The weird thing is that you didn't get a warning/error either because you mistyped the command, or because you don't have the right to start the VM.
Maybe the reason is the following:
Code: Select all
$ ls -l /usr/bin/vbox*
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/vboxballoonctrl -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/vboxheadless -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 26 lug 12 09:13 /usr/bin/vbox-img -> ../lib/virtualbox/vbox-img
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/vboxmanage -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/vboxsdl -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/vboxwebsrv -> ../share/virtualbox/VBox.sh
and
Code: Select all
$ ls -l /usr/bin/VBox*
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/VBoxBalloonCtrl -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/VBoxHeadless -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/VBoxManage -> ../share/virtualbox/VBox.sh
lrwxrwxrwx 1 root root 27 lug 12 09:13 /usr/bin/VBoxSDL -> ../share/virtualbox/VBox.sh
Symlinks make the commands actually case-insensitive. Anyway, my problem was not solved. As usefully suggested by BelJoost:
BelJoost wrote:Instead of:
GingerCup wrote:vboxmanage startvm <machinename> -type headless
try:
VBoxHeadless --startvm <machinename> &
I got the following error:
Code: Select all
Oracle VM VirtualBox Headless Interface 4.3.36_Ubuntu
(C) 2008-2016 Oracle Corporation
All rights reserved.
VRDE server is listening on port 3389.
Error: failed to start machine. Error message: This VM was configured to use 3D acceleration. However, the 3D support of the host is not working properly and the VM cannot be started. To fix this problem, either fix the host 3D support (update the host graphics driver?) or disable 3D acceleration in the VM settings (VERR_NOT_AVAILABLE)
After disabling 3D acceleration, the machine started. This issue was signalled here:
https://www.virtualbox.org/ticket/15005.
My question now is: is there a way to ignore, or to automatically disable the 3D acceleration when running headless? Or is the only way to disable it manually?
socratis wrote:That's assuming that you've connected as the same user as the user that created the VM in the first place, or the VM that you see if you log on as that user. VMs are not meant to be shared.
Yes, the user is the same.
Thank you for your help,
Luke