How to kill a process

Asked by oliver

i'm a newbe and i would like to know how to kill a process so the panel can load properly. what are the exact command line instructions? this is the displayed error message on my screen after login:"Nautilus can't be used now, due to an unexpected error from Bonobo when attempting to locate the factory. Killing bonobo-activation-server and restarting Nautilus may help fix the problem."

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

First you need to get the PID of the process you want to kill. You can get it with this :

ps -ef | grep bonobo-activation-server

You'll get a line beginning with you username, the PID is the number coming just after it.

Now, to kill it, just type this :

kill PID (with PID being the number obtained before)

If it resists, use

kill -9 PID

If it tells you it can't be killed because you don't have the proper permissions, put a "sudo" before the command.

Regards,
Benoît

Revision history for this message
oliver (olivertwilson) said :
#2

thank you for your quick response. this is the solution to the problem: ctrl-alt-f1
 [login as me]
 sudo date --set 01/08/2007
 sudo killall gdm
 sudo /etc/init.d/gdm start

 the problem originated from a dead PRAM battery(i think), well anyway the os is up and running now.
 thanks again...oliver

Andrea Corbellini <email address hidden> wrote: Your question #16897 on Ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+question/16897

    Project: Ubuntu Live Chat Support => Ubuntu

Summary changed to:
How to kill a process

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
oliver (olivertwilson) said :
#3

thank you for your quick response. this is the solution to the problem: ctrl-alt-f1
 [login as me]
 sudo date --set 01/08/2007
 sudo killall gdm
 sudo /etc/init.d/gdm start

 the problem originated from a dead PRAM battery(i think), well anyway the os is up and running now.
 thanks again...oliver

Benoit Malet <email address hidden> wrote: Your question #16897 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/16897

    Status: Open => Answered

Benoit Malet proposed the following answer:
Hello !

First you need to get the PID of the process you want to kill. You can
get it with this :

ps -ef | grep bonobo-activation-server

You'll get a line beginning with you username, the PID is the number
coming just after it.

Now, to kill it, just type this :

kill PID (with PID being the number obtained before)

If it resists, use

kill -9 PID

If it tells you it can't be killed because you don't have the proper
permissions, put a "sudo" before the command.

Regards,
Benoît

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/16897/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/16897

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Jim Qode (jimqode) said :
#4

This problem is solved. Setting back to answered state.

Can you help with this problem?

Provide an answer of your own, or ask oliver for more information if necessary.

To post a message you must log in.