VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2467 - 2469 of 16363)

Ticket Resolution Summary Owner Reporter
#19333 invalid acpipowerbutton shutdown failing on Ubuntu chrisw
Description

I'm running Ubuntu 16.04 in a VirtualBox Virtual Machine on a MacOS Mojave host. I can start the VM on the command line:

VBoxManage startvm my_ubuntu --type headless

The recommended way of shutting a VM down is

VBoxManage controlvm my_ubuntu acpipowerbutton

however, that fails - the GUI shows a splash menu:

Goodbye, Chris, would you like to 

<the suspend / shutdown option image>

I've tried supressing this splash image using

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

and

gsettings set com.canonical.indicator.session suppress-shutdown-menuitem true
gsettings set com.canonical.indicator.session suppress-restart-menuitem true
gsettings set com.canonical.indicator.session suppress-logout-menuitem true
gsettings set com.canonical.indicator.session user-show-menu false

rebooting every time, but the splash screen still shows.

Is there anything else I can try? Or is this a bug with the acpipowerbutton command in VBoxManage?

(I can get round this by SSHing in, and running sudo shutdown, or by using the GUI, but both are less convenient)

I've also noticed that running sudo restart now results in:

restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I don't know if this is related, or a red herring...

I did wonder if this issue is an Ubuntu issue, rather than a VirtualBox one, but I've asked the question at https://askubuntu.com/questions/1210310/suppress-the-suspend-option-at-shutdown and haven't had a reply in a week...

#5524 wontfix acpipowerbutton and Other Users problem ToddAndMargo
Description

Guest: Windows Server 2003 R2, Windows XP Pro SP3 Host: CenbtOS 5.4

Hi All,

Would you guys please consider fixing this for me. I am at risk of data corruption (why the "critical" priority). It is also a total pain in the neck.

This is the command I use to shut down my headless Windows guests:

/usr/bin/VBoxManage controlvm $VM_Name acpipowerbutton

In theory, it works perfectly. In practice, it is a disaster. If you watch your "head" with VRDP, you will notice a pop up on your Windows guest to the effect: "Other people are logged on". And, you *never* shut down. So, you backup a running VM with dump. Or, you reboot/shutdown your host and kill all your headless VM's and corrupt the heck out of them. As I said: a disaster.

Supposedly, and I have not checked this, you can modify the following Windows command to shut your headless VM's down:

shutdown /s /m \%Headless_VM_IP% /t 10 /c "Shutdown:PowerFailure" /f /d U:6:12

I have tried this inside the Windows guest and it does work. I just have not modified it for Linux and tried it from the host.

This is such a disaster. Would you guys please come up with a method to actually shut down a headless VM under actual operating conditions with VBoxManage? I would really, really appreciate it.

Many thanks, -T

#3961 wontfix acpi power management support Nathan England
Description

I would like to simulate power changes for software that is being developed and tested. It would be nice to simulate unplugging and switchin to battery power for dbus/hal and other various power management facilities to watch.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

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