Archive for June 2008
X Server Crashes on Resume from Suspend
The MM10 sometimes wakes from suspend to chuck me out to the Gnome logon, losing my session. Then when I try logging on again, Gnome is broken.
I suspected XServer crashes. Yep according to /var/log/Xorg.0.log . Looked at internet. It’s sort of pear-shaped. Sorry, that was a pear I was looking at then. Googled it. Turns out the net is littered with veterans from the war against this one.
Looks like XServer is trying to do its own power management via ACPI, and that seems to get broken when other thingies are trying to suspend/resume at the same time. Still unconvinced. But here are the magical incantations:
In Xorg.conf:
Section "ServerFlags" Option "NoPM" "true" EndSection
also, need to pass a flag to X at startup. X is started by the display manager (Gnome/gdm) in my case. On debian, gdm’s config is /etc/gdm/gdm.conf. It has several clauses for starting different flavours of X session. Change all of the lines of the following kind to add the -noacpi flag:
command=/usr/bin/X -noacpi -audit 0
About to try this. Wish me luck.
Credits: too numerous to mention. Try googling ‘x server crashes resume suspend’
UPDATE:
Didn’t work. Blah. If you want, try it. Others have found success.