LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-02-2005, 06:23 PM   #1
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Rep: Reputation: 15
Dealing with an app lockup in X <solved>


I've had a few applications completly lockup on me (like ZSNES) to the point where Ctrl-Alt-Del wouldn't even work (which is what I would do in Windows). What's the best way to deal with an application lockup in X? I know you can use ctrl-alt-backspace, but I've heard that isn't the most graceful way to shutdown X.

Edit://I know this may seem like basic stuff to most linux users, but switching to a virtual console from X using ctrl-alt-fN (where N is a number representing one of the seven virtual consoles) seems to do the trick.

Last edited by Comreak; 06-04-2005 at 12:17 AM.
 
Old 06-03-2005, 11:03 AM   #2
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
you could use the commands:
#ps -aux
to list the processes running on your comp
find the offending jobs pid
#kill <pid> -9
 
Old 06-03-2005, 04:46 PM   #3
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Original Poster
Rep: Reputation: 15
I should have been more specific. I was more or less referring to full screen applications that completely lock up. Killing the process seems like a good idea but what if you can't get access to a console? I've had this happen with various applications and I couldn't do more than reboot the computer.
 
Old 06-03-2005, 08:23 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
what if you can't get access to a console?
Hmmm! I think I'd hate being forced to admit to my Windows friends that such a thing could happen. Maybe you should check out your desktop's built-in Keyboard Shortcuts, or change the properties of your panel to Autohide / Always on Top ... or do something. Rebooting to escape a locked up app seems very un-Linux-ish.
 
Old 06-04-2005, 07:54 AM   #5
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
ctrl-alt-<Function key(F1,F2, etc)> should get you to single user mode where you can sign in as root and perform the operations. You can then use the commands init 5 or startx to restart your user environment.
 
Old 06-05-2005, 02:44 AM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you use KDE and some other window managers, there is usually a link in the menu to the "xkill" program which kills any application with the click of a mouse.
 
Old 06-05-2005, 07:17 AM   #7
LinuxSeeker
Member
 
Registered: Feb 2004
Location: Linuxland
Distribution: Ubuntu 5.10, KUbuntu 5.10, Mandrake 10.1 - Ubuntu 5.04 (Hoary)
Posts: 346

Rep: Reputation: 30
1) You can use an application called "xkill" and kill the application via the GUI.
2) You can terminate it through console. Type "killall (process)"
 
Old 06-05-2005, 09:07 AM   #8
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Rep: Reputation: 15
maybe xkill be a convenient way to terminate apps via GUI, just running the command first then make a choice which program you want to end and move the cursor on.
 
  


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
ok 2 things, dealing with the same problem sikofitt Linux - Software 2 09-29-2005 04:14 AM
Dealing with partitions. lvella Linux - General 4 07-22-2005 08:37 AM
Quick question dealing with XP Brother Michael General 2 07-15-2004 01:31 AM
dealing with .tgz files Kaiser Linux - Software 3 12-25-2003 06:51 AM
Dealing with spaces in a shell Crashed_Again Linux - Newbie 5 04-21-2003 10:30 PM


All times are GMT -5. The time now is 01:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration