The VM will reboot properly with 'reboot' but does not power down with the 'halt' or 'poweroff' commands. From within X, the shutdown command from the menu does power off properly. I'm running this in VirtualBox in headless mode so if I power down, it doesn't actually turn off (still shows as running) and I can't shut it down without killing the vboxheadless process, of which there are multiple for multiple VMs but they are unlabled. Last time I shutdown another VM :(
The question I have is what is the command the gui shutdown command uses?