Re: Starting gpg-agent on X login (gdm)

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



Magnus Therning wrote:
[..]
I'll report back as soon as I have my modfied GDM script and shell
startup skeleton.

This is what I ended up with:

    --- /etc/gdm/Xsession_orig  2009-04-27 17:13:50.346834448 +0100
    +++ /etc/gdm/Xsession       2009-04-27 17:16:25.310151728 +0100
    @@ -213,6 +213,14 @@
       fi
     fi

    +# add seahorse if found
    +seahorse="`gdmwhich seahorse-agent`"
    +if [ -n "${seahorse}" ] && [ -x "${seahorse}" ]; then
    +    command="seahorse-agent --execute $command"
    +elif [ -z "${seahorse}" ]; then
    +    echo "$0: seahorse not found!"
    +fi
    +
     # add ssh-agent if found
     sshagent="`gdmwhich ssh-agent`"
if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then

It seems to work well enough, but feedback and suggestions are always welcome.

In the end I don't start dbus-launch in /etc/gdm/Xsession, despite the suggestions I found online. It seems it's started anyway, and running as the logged in user, so why complicate things even further?

/M

--
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux