After resuming from suspend, can't start any programs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Sometimes (maybe 20% of times) when resuming from suspend-to-RAM, I cannot start any more programs from within my current desktop session.
This applies to using the menu on gnome-panel, but also when using my "Start a terminal" keyboard shortcut (metacity's responsibility, I think). I get a busy mouse pointer, but the program never starts up. This applies equally to all applications, including the log-off dialog: to log off I have to use ctrl+alt+backspace.
I can, however, start a program by switching to another VT, logging in, doing "export DISPLAY=:0.0" and running it from there. Further, if I start a terminal this way then that terminal's children are fine too.
This is not happening only with GUI applications. If I have gnome-terminal already open when I resume, then I can't run vim inside it, it hangs while trying to start. I will attach the output of "strace vim" from this situation, as an example.
The only workaround I've found so far is to ctrl+alt+backspace and then log in again, after which everything is fine (but of course I've lost my session).
strace output of vim hung after resume