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 05-06-2006, 07:26 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 297

Rep: Reputation: 31
end running programs


hi all, openoffice has crapped out on me. i can't get it to display and i can close it out, either.

how can i end open office so i can restart it again?

thanks.
 
Old 05-06-2006, 07:48 PM   #2
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
Ok, this is one way:

Open a shell (System-->Terminal Applications-->RXVT) and type in:

ps aux

And hit Enter. You get a list like this (your numbers will be different):


chuck 4013 0.0 0.2 2736 1672 pts/1 Ss 18:39 0:00 -bash
chuck 4055 0.0 0.1 2364 1284 ? S 18:41 0:00 /bin/sh /opt/openoffice.org2.0/program/soffice -writer
chuck 4066 0.9 6.1 103752 47584 ? S 18:41 0:03 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4067 0.0 6.1 103752 47584 ? S 18:41 0:00 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4068 0.0 6.1 103752 47584 ? S 18:41 0:00 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4069 0.0 6.1 103752 47584 ? S 18:41 0:00 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4070 0.0 6.1 103752 47584 ? S 18:41 0:00 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4071 0.0 6.1 103752 47584 ? S 18:41 0:00 /opt/openoffice.org2.0/program/soffice.bin -writer
chuck 4075 0.0 0.2 3176 1720 ? S 18:43 0:00 rxvt
chuck 4076 0.0 0.1 2548 1380 pts/2 Ss+ 18:43 0:00 bash
chuck 4102 0.0 0.1 2568 892 pts/1 R+ 18:47 0:00 ps aux


You see all those lines with "openoffice.org2" in them? You kill each using the number to the far left, in this case like this:

kill 4074

Then do the same to 4071, 4070, etc, until they are all dead.

OR:

Just do this in the shell:

killall soffice.bin -writer

and it kills them all!

Good luck

C

Last edited by lotusjps46; 05-06-2006 at 07:49 PM.
 
Old 05-06-2006, 08:08 PM   #3
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 297

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by lotusjps46

You see all those lines with "openoffice.org2" in them? You kill each using the number to the far left, in this case like this:

C
C, thanks for the tip, but i nothign shows up that remotely resembles openoffice.

yet, i still get the openoffice rectangle on the menu bar. when i try and open it, i get an outline of the window's perimeter and that's it.

any other ideas beside restarting my computer?
 
Old 05-07-2006, 06:36 PM   #4
RoughEdge
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Slackware 12
Posts: 67

Rep: Reputation: 15
You could try typing

jobs

in the console and doing the same to the process number there. Not sure right enough :S
 
Old 05-08-2006, 09:03 AM   #5
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
You tried Control-Alt-Backspace, to restart X?

C
 
Old 05-08-2006, 09:52 AM   #6
Freestone
Member
 
Registered: Jan 2003
Location: Brighton, Michigan
Distribution: FC5
Posts: 114

Rep: Reputation: 15
Quote:
You could try typing

jobs

in the console and doing the same to the process number there. Not sure right enough :S
If you don't start a process, job, application, etc. from a command line, 'jobs' won't print out the process id of an application. If you start the job or application from a command line and run it in the background per the '&' command, then jobs will print out its process id, ie.,

root@linuxbox $ openoffice &

Running 'top' is another alternative. And then kill the pid with a 9 or 15 and that should do the trick. kill -l will list all the available kill signals.
Or just pull the plug on the computer and then plug it back in. Don't forget to turn it on after plugging it back in.

Cheers.
 
Old 05-08-2006, 07:06 PM   #7
RoughEdge
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Slackware 12
Posts: 67

Rep: Reputation: 15
Oops, my bad. Thanks for clearing that up. Not even my post and I learn something :P
 
Old 05-08-2006, 07:53 PM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
run xkill then click on the open office window area when maximized, that will close it down.

The process may remain though. Type
ps -A
at a command line then
kill <process number here>

Last edited by bosewicht; 05-08-2006 at 07:55 PM.
 
  


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
LXer: Review: Buffalo LinkTheater High-Definition: A Linux Multimedia Center from End to End LXer Syndicated Linux News 0 04-13-2006 04:54 PM
Programs not running rigel_kent Debian 1 03-10-2006 07:33 AM
LXer: Wily Technology Extends End-to-End Application Visibility to oracle(R) Databases LXer Syndicated Linux News 0 12-14-2005 08:46 AM
running programs The Oate Debian 3 08-25-2005 02:17 PM
end ssh session without stopping programs joshf Linux - Newbie 7 07-13-2003 09:39 AM


All times are GMT -5. The time now is 04:07 PM.

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