Ubuntu 13.10 suspend crashes KDE / black screen on wake

I found this workaround. I made a script that switches to console before suspend and switches back after resume.

I put attached script into dir /etc/pm/sleep.d. I gave it the name fix-black-screen and made it executable (sudo chmod +x /etc/pm/sleep.d/fix-black-screen).

#!/bin/bash

case $1 in
suspend)
    # Suspending to RAM.
    chvt 1
    sleep 1
;;
resume)
    # Resume from suspend.
    sleep 1
    chvt 7
;;
esac

Original fix found here.


I had similar problems to yours.

pm-suspend --store-quirks-as-lkw

Fixed my problems.

I only had to do it once, and suspending after that was working fine.

Give it a try.