css (1) jQuery (7) linux (38) mac (70) php (29) python (1) svn/git (9) trac (4) ubuntu (1) virtualbox (6) vista (2) windows (14)

Monday, 30 August 2010

XUbuntu acpi power off issues

I previously wrote about ubuntu acpi power off issues now recently I installed xubuntu's desktop since I needed a graphical interface, ever since the virtual box's acpishutdown function failed to work. The solution is to edit in the xubuntu system /etc/default/grub and add acpi=force to GRUB_CMDLINE_LINUX

Saturday, 14 August 2010

Virtualbox shared folder ownership

Virtualbox shared folders on linux guests accept the uid parameter in fstab (and the gid) handy for running scripts that require a write access from the web server (i.e. wordpress) an example fstab line is
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
projects /host vboxsf defaults,uid=1 0 0

Friday, 13 August 2010

Ubuntu not shutting down with acpi power button

Virtualbox has a command to cleanly shutdown virtual machines called acpipoweroff, my ubuntu virtual machine wasn't responding to this, to resolve the issue run apt-get install acpid on the ubuntu machine.