Install acpid in the guest. That's what translates the button event into the shutdown command.
On Sat, Oct 04, 2008 at 08:05:50AM -0700, Ricardo Kleemann wrote: > Hi, > > I have Ubuntu 8.0.4 host and guest. > > I'm trying to gracefully shutdown the guest from the host. Here's the > guest vminfo: > > $ VBoxManage showvminfo Web1 > VirtualBox Command Line Management Interface Version 2.0.2 > (C) 2005-2008 Sun Microsystems, Inc. > All rights reserved. > > Name: Web1 > Guest OS: Ubuntu > UUID: c141ab1e-4614-4fb8-ad04-b182c1cc0829 > Config file: /home/sysadmin/.VirtualBox/Machines/Web1/Web1.xml > Memory size: 2000MB > VRAM size: 8MB > Boot menu mode: message and menu > ACPI: on > IOAPIC: on > PAE: on > Time offset: 0 ms > Hardw. virt.ext: on > Nested Paging: off > State: running (since 2008-10-04T14:50:24.816000000) > Monitor count: 1 > Floppy: empty > SATA: disabled > Primary master: /home/sysadmin/.VirtualBox/VDI/Web1.vdi (UUID: > b32c2bec-935e-4500-a8e5-ca7ae3e8e800) > DVD: /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: > b64be1dc-7519-4698-84a4-02098f24baad) > NIC 1: MAC: 080027B1E28C, Attachment: Host Interface 'vbox2', > Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported > speed: 0 Mbps > NIC 2: disabled > NIC 3: disabled > NIC 4: disabled > UART 1: disabled > UART 2: disabled > Audio: disabled (Driver: Unknown, Controller: Unknown) > Clipboard Mode: Bidirectional > Video mode: 720x400x0 > VRDP: disabled > USB: disabled > > USB Device Filters: > > <none> > > Available remote USB devices: > > <none> > > Currently Attached USB Devices: > > <none> > > Shared folders: <none> > > VRDP Connection: not active > Clients so far: 0 > > Guest: > > Statistics update: disabled > > > >From the host I issue "VBoxManage controlvm Web1 acpipowerbutton" and > the host accepts the command without any errors. > > However, the guest doesn't respond. I have an ssh session into the guest > and nothing happens. It doesn't initiate a shutdown, dmesg doesn't show > anything. > > Anyone know if Ubuntu isn't picking up the powerbutton event? > > > _______________________________________________ > vbox-users mailing list > [email protected] > http://vbox.innotek.de/mailman/listinfo/vbox-users -- Ken Preslan <[EMAIL PROTECTED]> _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
