Visit Jeremy's Blog.
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 08-02-2006, 09:34 PM   #1
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Post How to restarrt X when an APP hangs?

Good Evening everyone!

I am looking for information as to if it is possible to crash X or restart X if an application hangs. For example I am having troubles getting Counter-Strike Source working. So I am in the process of trying different settings to find a working solution. However in the mean time it is failing and locking up gnome. I can hit ctrl+alt+f3 and get into run level 3. However I am not able to login and type /sbin/telinit 5 to restart X It just seems to hang.

Is there a step I am missing? Any info would be great. Thanks guys!
Old 08-02-2006, 09:43 PM   #2
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
You probably don't need to restart the X server. There is a command called xkill that works very well at killing anything running on the X server.

If you can't even run xkill you can use ctrl+alt+backspace to restart the X server.

Old 08-02-2006, 11:39 PM   #3
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Original Poster
Rep: Reputation: 15
Thank you for your quick reply. It worked perfectly.

Cheers! Dan


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
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
script or app mailcheck app from shell pandersson61 Linux - Software 1 03-24-2006 08:16 PM
net driver causes system hangs (keyboard hangs) yjchen Linux - Networking 0 10-21-2004 10:12 PM
What app is this? dbecker801 Linux - Software 4 04-15-2004 07:00 AM
New app install, or, I've d/l'd the app, now what? Dani Linux - Newbie 4 01-06-2002 08:24 PM > Forums > Linux Forums > Linux - Newbie

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

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