Author Login
Post Reply
"Götz Waschk" <goetz.waschk@(protected):
> On Mon, Jun 2, 2008 at 12:29 PM, Helio Chissini de Castro
> <helio@(protected):
>> On Monday 02 June 2008, Götz Waschk wrote:
>>> Now keychain doesn't work at all. I'm not using KDE but Gnome.
>>> Regards, Götz
>> Can you provide me an output of an sh -x /etc/profile.d/91keychain.sh ?
>> The only way of keychain not runs is if gnome session is providing
>> KDE_FULL_DESKTOP which would be a lot of weird..
> This is with a remote ssh connection to my machine:
> # sh -x /etc/profile.d/99keychain.sh
> + KEYCHAIN_OPTIONS=
> + '[' '!' -z :0.0 -a '!' -z 02GNOME ']'
> + '[' 02GNOME=02KDE4 -a -z '' ']'
> + KEYCHAIN_OPTIONS=--noask
This patch should help:
--- /etc/profile.d/99keychain.sh 2008-05-29 18:07:13.000000000 +0200
+++ /tmp/99keychain.sh 2008-06-02 12:48:55.000000000 +0200
@@(protected) @@
if [ ! -z "$DISPLAY" -a ! -z "$DESKTOP_SESSION" ]
then
- if [ "$DESKTOP_SESSION"="02KDE4" -a -z "$KDE_FULL_SESSION" ]
+ if [ "$DESKTOP_SESSION" = "02KDE4" -a -z "$KDE_FULL_SESSION" ]
then KEYCHAIN_OPTIONS="--noask"
- elif [ "$DESKTOP_SESSION"="05KDE3" -a -z "$KDE_FULL_SESSION" ]
+ elif [ "$DESKTOP_SESSION" = "05KDE3" -a -z "$KDE_FULL_SESSION" ]
then KEYCHAIN_OPTIONS="--noask"
fi
fi
--
Olivier Blin (blino) - Mandriva