trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: July 2011

Re: [trinity-users] how to properly close a trinity session from tty?

From: Christopher J Kleinschmidt <jumpship@...>
Date: Fri, 1 Jul 2011 09:44:22 -0500
I think that individual dcop services are started per user, (multiple
per user is even possible). there should be a way to specify which
dcop to send a signal on.   There is, look at the man page for dcop,
there is options like "--all-sessions" and "--all-users", also to be
more selective as to where to send the signal there is "--user" and
"--session".  "--list-sessions" should help you find the combo you
need. If you need help with that, I'll have some time later today to
look closer.

On Fri, Jul 1, 2011 at 2:56 AM, Nicolas Bercher <nbercher@...> wrote:
> On 29/06/2011 21:41, Christopher J Kleinschmidt wrote:
>>
>> I didn't, I found it on an old message board. I didn't keep the link
>> but there wasn't any more info.  I think the person that posted that
>> looked at the source, but don't really know.
>
> It seems to work only within the kdm session (e.g. from konsole or xterm).
>  From any tty (the way I want to close the session), it triggers an error:
>
>  "ERROR: Couldn't attach to DCOP server!".
>
> I will read the docs to figure out how to connect to the server (I think via
> a kind of kdm session handler...?).
> The main goal is to be able to correctly shutdown a kdm session from
> anywhere (almost via ssh).
>
> Nicolas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-users-unsubscribe@...
> For additional commands, e-mail:
> trinity-users-help@...
> Read list messsages on the Web archive:
> http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>
>