LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2010, 07:05 PM   #1
Zaraphrax
Member
 
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.

Thanks.
 
Old 12-17-2010, 07:33 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,822

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

Original Poster
Rep: Reputation: 10
Thanks that works.
 
  


Reply


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 01:06 PM
How to run "evolution --force-shutdown" from a script without an x session" biglesias Linux - Software 2 04-14-2008 10:36 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 08:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 11:12 AM


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

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