August 2nd, 2009
This problem started so long ago that I really have no insight into when or why it first started happening, but for a while now, whenever I started X with the `startx` command, I would get the following error message:
There was an error starting the GNOME Settings Daemon.
Some things, such as themes, sounds, or background settings may not work
correctly.
The Settings Daemon restarted too many times.
After poking around for a little while, I finally came across Gentoo Bug 150909. I didn’t have the linking problem found by Stian Skejelstad, but Daniel Gryniewicz’s Comment to add eval `dbus-launch --sh-syntax --exit-with-session` to your ~/.xinitrc worked great.
My ~/.xinitrc now looks like this:
#– ~/.xinitrc
eval `dbus-launch –sh-syntax –exit-with-session`
exec gnome-session
#exec startfluxbox
Posted in Gentoo | No Comments »
March 30th, 2009
While installing PHPList on a GoDaddy server for a client of mine, I was frustrated to receive an ‘Internal Server Error’ / ‘500 Error’. Following the directions at this post fixed it easy enough. You just need to delete the following line form your .htaccess file in your PHPList install directory:
php_flag magic_quotes_gpc on
Posted in Tech | No Comments »
March 11th, 2009
Some times use after recovering an entire hard drive image, you may want to mount a partition that was on that disk, instead of apply it to another drive. In those times, you can use the following commands:
First, you will want to find out where the partition starts:
sfdisk -l -uS image_file.dd
The -uS flag to sfdisk forces the output to be given in sectors (512 bytes), so the number you see there will need to be multiplied by 512.
Then:
mount -oloop,offset=xxxx image.dd /mnt/point
That’s it!
Posted in Linux | No Comments »