Comment 9 for bug 330258

Revision history for this message
Saša Tomić (tomic80) wrote :

I finally found a solution that works for me. My computer finally suspends and resumes perfectly! :)

To solve this disper problem, I had to get the running X processes and extract and use their authorization token.

Please check the attached script for details.

The script also contains a fix for one other bug with Nvidia drivers on Ubuntu 10.10, so you can ignore this part (or use it if you like)

You can save the script (as I do) to
/etc/pm/sleep.d/99nv-suspend-fix

and it will be executed every time the computer goes to sleep and resumes.