Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-17-2010, 08:05 PM   #1
Registered: Sep 2010
Posts: 57

Rep: Reputation: 10
"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.

Old 12-17-2010, 08:33 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
ctrl+alt+f7 (sometimes f8)
Old 12-17-2010, 09:05 PM   #3
Registered: Sep 2010
Posts: 57

Original Poster
Rep: Reputation: 10
Thanks that works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "SIOCADDRT: No such process" when running "service network restart" cmlorentz Linux - Networking 1 11-26-2010 02:06 PM
How to run "evolution --force-shutdown" from a script without an x session" biglesias Linux - Software 2 04-14-2008 11:36 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 09:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 12:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration