LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "X is already running" - reconnect to that X session? (https://www.linuxquestions.org/questions/linux-newbie-8/x-is-already-running-reconnect-to-that-x-session-850963/)

Zaraphrax 12-17-2010 07:05 PM

"X is already running" - reconnect to that X session?
 
Hi all,

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.

Thanks.

AlucardZero 12-17-2010 07:33 PM

ctrl+alt+f7 (sometimes f8)

Zaraphrax 12-17-2010 08:05 PM

Thanks that works. :D


All times are GMT -5. The time now is 03:44 AM.