You are not logged in.

#1 2009-06-12 17:36:52

kareeser
Member
Registered: 2009-05-29
Posts: 10

empathy still signs in even though process has been killed...

So I have empathy installed on an arch install at home...

Empathy has the bad habit of re-signing in an account when it gets disconnected, which works fine if it's a legitimate disconnection, but if you've signed in on another program (i.e. pidgin), you wouldn't like to be signed out.

So, I ssh'd in and killed the process (either directly with kill -9 xxxx or killall empathy)... except it still signs me out of Pidgin because it's signing me in on the arch computer.

However, htop doesn't report empathy as being active, so what's going on?!

Offline

#2 2009-06-12 17:45:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: empathy still signs in even though process has been killed...

kill the mission-control and telepathy-gabble or whatever you use.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-06-12 18:05:41

kareeser
Member
Registered: 2009-05-29
Posts: 10

Re: empathy still signs in even though process has been killed...

Worked like a charm.

I should've known that empathy was just a front-end... technically, shouldn't empathy shut off the protocols when it kills itself?

I figured -9 was "graceful"

Offline

#4 2009-06-12 18:13:59

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: empathy still signs in even though process has been killed...

on quit empathy shut off those too. but i see that killing empathy doesn't trigger those.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-06-12 18:33:40

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: empathy still signs in even though process has been killed...

Sending SIGKILL (kill -9 pid) to a process never gives it a chance to "clean up" before it terminates. Sending SIGTERM (kill pid) is better in most circumstances, unless the process is completely unresponsive. A properly coded program will quit gracefully upon receiving it.

Offline

Board footer

Powered by FluxBB