Moving or removing ~/.xsession-errors
The location of ~/.xsession-errors is, at the time of writing, specified in /etc/X11/Xsession in Debian Squeeze (testing).
ERRFILE=$HOME/.xsession-errors
To disable logging, change this to
ERRFILE=/dev/null
I use several computers with the same, networked, home directory, and having all of them output to the same file was a hopeless mess. However, this solved the problem for me:
ERRFILE=$HOME/.xsession-errors-$(hostname -s) rm -f "$ERRFILE"
This makes a separate .xsession-errors for each of my machines and also removes the file each time X is started so it doesn't grow too big. If X itself crashes, the errors to to /var/log/messages anyway, so there's no need to save the .xsession-errors for this.
Wake on Lan on an Intel Mac Mini with Linux
Both Wake on Lan and turning on after a power loss can be enabled on the Intel Mac Mini with the use of the setpci command. I stuffed this into my /etc/rc.local (to run them at boot time. yes, they need to be run on each boot)
# reboot on power loss setpci -s 0:1f.0 0xa4.b=0 # wake on lan setpci -d 8086:27b9 0xa4.b=0 ethtool -s eth1 wol g
Don't ask me what they mean. I have no idea.
Note: this requires ethtool to be installed
EDIT: For some newer mac mini's, here are two other setpci commands for the WOL part, if the one above doesn't work:
setpci -s 00:03.0 0xa4.b=0
setpci -s 00:03.0 0x7b.b=19
Try one at a time, see which works.