"X is already running" - reconnect to that X session?
I'm currently working on a workaround for a problem I'm having. After I resume from suspend, sometimes I get an error that stops me from getting back in correctly and I get dropped to a terminal.
If I hot Control-Alt-F1, I can login via text. If I run startx, I get an error saying that X is already running. I'd like to either via a script or some command, get back into my existing X session. I've done some Google searching but I can't seem to find out how to do this. As it is now I have to kill KDM and restart X, which isn't quite as elegant as I'd like.