How to kill an unresponsive program? Solved

Booting, installing, newbie
Post Reply
Message
Author
User avatar
malderson
Posts: 49
Joined: Thu 15 Nov 2007, 21:34
Location: Wisconsin, USA

How to kill an unresponsive program? Solved

#1 Post by malderson »

I've been watching Youtube on Tahrpup 6 using Firefox. Occasionally the GUI becomes unresponsive. The video keeps playing but the screen locks up. A google search suggested using Cntl+Alt+F2 to get to the command line to kill the unresponsive program. However, that option requires a login and password, and without it, there seems to be no way exit that screen short of a complete shutdown. Cntl+Alt+F7 doesn't work as you must log in to escape the login process.

Root in Puppy supposedly has no password, but entering "root" without a password doesn't work. Is there a "secret" root password that will work to log into the command line?

Alternately, is there a way to kill unresponsive programs in Puppy when the GUI is unresponsive?

Thanks.
Last edited by malderson on Mon 15 Jun 2015, 14:24, edited 1 time in total.
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

That might be >> woofwoof

As for kills, I use an XBindKeys combo >> killall -9 firefox

This seems to have worked the best for me and the occasional runaway..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
User avatar
cimarron
Posts: 292
Joined: Fri 31 May 2013, 01:57

#3 Post by cimarron »

If just one program is unresponsive, xkill can be used to easily kill it. A .pet is attached for the version I use in my Precise puppy; I expect it will work for you in Tahr as well. It simply places the executable xkill binary in /usr/bin.

I use it by assigning a keyboard shortcut with the command "xkill". When xkill runs, the cursor turns into a little skull and crossbones. Just hover over the window you want to kill, and click. If you change your mind, just click on the desktop and the cursor will return to normal.

If you want to use xkill, and need help assigning a keyboard shortcut, just ask (and let us know what window manager you use--JWM, openbox, etc).

FYI, if you use Ctrl-Alt-F2 to get a terminal, Ctrl-Alt-F4 (not F7) gets you back to the X display in Puppy. Also, I believe Ctrl-Alt-Backpace kills X completely (including all programs), taking you to a terminal, where you can enter "xwin" (no quotes) to restart X. At least that works in my Precise pup.
Attachments
xkill.pet
kills unresponsive programs
(4.66 KiB) Downloaded 297 times
Last edited by cimarron on Mon 15 Jun 2015, 13:24, edited 1 time in total.
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

Have you tried to right click on the taskbar, Firefox running program entry,
and select kill?
Attachments
capture17555.jpg
(13.65 KiB) Downloaded 536 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
malderson
Posts: 49
Joined: Thu 15 Nov 2007, 21:34
Location: Wisconsin, USA

#5 Post by malderson »

The password "woofwoof" worked. Ctrl+Alt+F4 also worked to escape from the terminal (I think the F7 variant I'd found may have been for Ubuntu).

I tried clicking on the Firefox icon in the window's Title bar to get the Kill option, but didn't know about the right-click on the Task Bar. I'll try that next time it happens.

I'm putting this entire thread in my "Puppy tricks" files. Thanks all!
snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#6 Post by snayak »

When xkill runs, the cursor turns into a little skull and crossbones.
Which key combination activates this in Fatdog?
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]
snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#7 Post by snayak »

Found...

Windows-K key is shortcut for xkill (to kill windows apps).

(mentioned in http://murga-linux.com/puppy/viewtopic.php?t=79001)
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

Hi.

There are more tricks to kill an app on this page, as it happens.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#9 Post by don570 »

When an application appears to be dead the problem is often a
dialog window hidden behind another window. You can move around the windows of your screen to reach it.

____________________________________________
User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#10 Post by tallboy »

If I'm not mistaken, Top or peferably HTop, are present in every Puppy. They show the individual processes. Select the line with the program you want to end, and hit F9 and Enter to kill it.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.
Post Reply