Re: ssh-agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/6/2010 1:13 PM, m.roth@xxxxxxxxx wrote:
>> On 4/6/2010 12:22 PM, m.roth@xxxxxxxxx wrote:
>>>> On 4/6/2010 11:56 AM, m.roth@xxxxxxxxx wrote:
>>>>>>> On 4/6/2010 10:46 AM, m.roth@xxxxxxxxx wrote:
>>>>>>>> Todd wrote:
>>>>>>>>> m.roth@xxxxxxxxx wrote, On 04/06/2010 10:51 AM:
>>>>>>>>>> What I was doing: log onto my machine (system run level 5, I log
>>>>>>>>>> out, NOT just lock the screen, every single night; therefore,
>>>>>>>>>> there should be no processes running owned by me), and in a
>>>>>>>>>> terminal window, do
>>> <snip>
>>>> it.   But, you don't have to start one at all because normal X startup
>>>> will do it for you - and correctly.  You only need to run ssh-add.
>>>
>>> "Normal X startup" - do you mean login, in runlevel 5, or do you mean
>>> runlevel 3, and startx?
>>
>> These are both infinitely configurable, but I think the defaults end up
>> running /etc/X11/xinit/xinitrc or /etc/X11/xinit/Xsession any way you do
>> it.  So the answer is yes.
>
> So, if I'm in runlevel 5, login should start it, correct?

gdm, not login, but the same difference.

> Except that the more I think about it, the more I'm back to my original
> problem: if it automagically starts it, why does it not automagically STOP
> it when I log out, the way it does every other of my processes, except for
> something I explicitly backgrounded (I mean, I remember when I had to
> nohup things like that)?

It does stop the one it starts.  The one that is still running is the 
one you started some time ago (no arguments on the command line in ps).

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux