LinuxQuestions.org
Review your favorite Linux distribution.
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 11-27-2003, 11:00 AM   #1
r_a_smith3530
Member
 
Registered: Nov 2003
Location: Midwestern USA
Distribution: Ubuntu 10.04
Posts: 40

Rep: Reputation: 15
Question Killing Program in X


I attempted to set up profiles in SuSe's SCPM through YaST. I clicked to Save the information, a new window opened (like a progress window), and then it just sat there, not making any progress. I can hear a click when the hourglass cursor flips, but that is all.

I tried ALT-F4, but that didn't do anything. I also tried to log out, but X won't allow that either. I am logged in as a normal user.

How do I force this application closed? I don't know its process ID.
 
Old 11-27-2003, 11:03 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
'ps -aux' or something like will list the PID. Or you can just type 'xkill' in a prompt (or find it in a menu) and target the offender.
 
Old 11-27-2003, 01:15 PM   #3
r_a_smith3530
Member
 
Registered: Nov 2003
Location: Midwestern USA
Distribution: Ubuntu 10.04
Posts: 40

Original Poster
Rep: Reputation: 15
It's that "target the offender" part that had me. I didn't know what the offender was called. Same for the PID.
 
Old 11-27-2003, 01:40 PM   #4
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
try cntr+esc

that wud open the kill window. select the window u wanna kill. Its like alt+cntr+del in windows.

OR

Use Alt+backspace to kill X.
 
Old 11-27-2003, 06:47 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Oh, I see - even if the PID shows, you don't know which process to look for. Well, that's the beauty of xkill - just put your mouse cursor on the window itself and click. *zap* Or maybe LinuxLala's thing. I wouldn't ctrl-alt-backspace except as a last resort, as that'll kill the X server itself and bring down everything graphical with it.
 
Old 11-27-2003, 06:55 PM   #6
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
...but xkill only kills the frontend. If it's the backend program that's crashing, you won't
have any use for xkill.
 
Old 11-27-2003, 07:11 PM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Ctrl+Alt+F2

takes you to a command line terminal

ps aux

if you recently opened the program it will be listed near the bottom where you can find it's PID

kill -9 PID
 
Old 11-27-2003, 07:26 PM   #8
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
...or do what darthtux said, but if you don't know the PID, use killall <nameapp>
 
  


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
killing Xsessions GUIPenguin Linux - General 3 03-25-2005 08:24 PM
This is killing me UncleEricB Linux - Networking 2 02-01-2005 10:41 PM
Killing an X session twistedpair Linux - Security 1 01-07-2004 06:15 PM
killing X jabberwock486 Linux - Newbie 7 09-10-2003 12:59 PM
Killing X ? sp0t Linux - Newbie 7 08-17-2002 08:53 AM


All times are GMT -5. The time now is 06:37 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