LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-16-2005, 03:57 PM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
Terminating an unresponsive program


XMMS has crashed when I tried to use a different output plugin, its frozen and wont close. How can I terminate the program externally? I tried ps -af and nothing for xmms is listed, any ideas?

Cheers,
 
Old 02-16-2005, 03:59 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
ps ax | grep xmms
kill -9 <pidFromAbove>
 
Old 02-16-2005, 04:07 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can just run "xkill" from a terminal, menu or the "run program" dialogue and then click on the program you want to kill.
 
Old 02-16-2005, 04:12 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
xkill removes a client window's connection from the X server. It doesn't make any attempt whatsoever to stop the program that drew the window, and will 99% of the time leave it running...
 
Old 02-16-2005, 04:25 PM   #5
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Cheers for that, just what I needed. This forum saves me yet again.
 
Old 02-16-2005, 04:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about
skill -9 xmms
? :)


Cheers,
Tink
 
  


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
X display terminating SUSE 9.2 techlife Linux - Software 5 04-01-2005 11:41 AM
Terminating one thread from another orinjus Programming 2 05-20-2004 07:25 PM
programs terminating santasballz Linux - Newbie 3 03-10-2004 09:47 AM
disconnecting from a process without terminating it linxtc Linux - General 1 09-21-2003 11:47 PM
terminating wvdial Freestone Linux - Newbie 6 02-22-2003 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 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
Open Source Consulting | Domain Registration