[opensuse] Suse 10.2 +KDE +Evolution

I have a problem with evolution where everytine it goes out to check email or send email, it asks for the the password eventhough I have the remember password box checked. I sent a but report to Ximian and got the following back. "You can work around it this way: test@Merlin:~> gnome-keyring-daemon GNOME_KEYRING_SOCKET=/tmp/keyring-qdYsbQ/socket GNOME_KEYRING_PID=16304 test@Merlin:~> export GNOME_KEYRING_SOCKET=/tmp/keyring-qdYsbQ/socket test@Merlin:~> export GNOME_KEYRING_PID=16304 Substitute your socket and pid info in the above commands Then start evo from the command line and away you go" Then this: so this sounds like a future FAQ for folks using evo under KDE then. :-/ feel free to close as NOTABUG, or to add a workaround for KDE people in SuSE (wasn't the whole game about making the use of computers easier? ;-) , or to reassign to gnome-keyring-manager or whatever... :-) Problem is, the workaround only workas as long as you don't reboot. I turn off my computer every work day to save electricity, so this workaround is only a short term solution. Is Novell going to fix this or does anyone else have a solution so you don't have to do this work around evertime you start your computer? If there is no permanent fix, guess I will have to migrate to KMail. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 03:57 +0800, Art Fore wrote:
There is a permanent way around this. There is a package available called, pam_keyring. It is available at: http://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/oss/suse/i586/pam_key... The description of the package says: pam_keyring is a pam module that launches the gnome-keyring-daemon then tries to unlock a keyring using your login password. One other change I had to make... I had to change my displaymanager from kdm to gdm (I use kde). Now, when I login using gdm, the gnome-keyring-daemon is automatically started up and the environment is setup properly. I can now start evolution simply by clicking on it. The keyring is already unlocked simply by logging in. It works great. Rick -- Rick's Law: What cannot be imagined will be accomplished by a fool. PGP Key Id: 9E1125E0

On Monday 11 December 2006 20:57, Art Fore said:
What was the bug report #? I couldn't find it in b.n.c under your email address. I've been pushing for better interop and the "not-starting-gnome-keyring-thingy-outside-gnome" issue was supposed to be fixed, but I have just checked with 10.2 and I see that it isn't :@. But we have a window of time now where we could do something about it. For a permanent workaround, put this in a file $HOME/bin/my-evolution: " eval `gnome-keyring-daemon` evolution " Then edit the KDE menu entry for evolution so that it launches $HOME/bin/my-evolution instead of evolution. Will -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 09:42 +0100, Will Stephenson wrote:
Tried your suggestion. Put a file in my /home/afore/bin directory both with and without the " marks, and changed the KDE menu. I get nothing. If I edit the shortcut on my kde panel, I then get KDEInit could not launch '/home/afore/bin/my-evolution'. Tried a number of variations, but nothing successful. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 21:14 +0800, Art Fore wrote:
Remember to do this to the script: chmod a+x my-evolution I wonder why the original poster used 'eval' to run the command. Very odd. Perhaps you also need to have the very first line in the script be: #!/bin/sh Otherwise it may not get executed. -- Roger Oberholtzer OPQ Systems AB Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 14:33 +0100, Roger Oberholtzer wrote:
The chmod fixed the execution, but it still always asks for password, even after entering it, then later on when it goes to get email again. The " marks make it take about 10 times longer for evolution to open though. Tried removing the eval, still same thing. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tuesday 12 December 2006 14:33, Roger Oberholtzer said:
chmod a+x my-evolution #!/bin/sh
I should have mentioned these myself - also gnome-keyring-daemon does not output export - dbus-start does, which I actually uses, so I forgot to add this. The script should be " #!/bin/bash `eval gnome-keyring-daemon` export GNOME_KEYRING_SOCKET export GNOME_KEYRING_PID "
I wonder why the original poster used 'eval' to run the command. Very odd. Perhaps you also need to have the very first line in the script be:
Because 'eval' evaluates the output of the command as if it was part of the script. Thus the GNOME_KEYRING_SOCKET, GNOME_KEYRING_PID assignments are evaluated, the variables are set, exported to the environment, and evolution can find the keyring daemon. You might of course end up with multiple daemons running if you start and stop evolution though. The solution agreed when I discussed this with the Ximian guys was to make gnome-keyring-daemon a dbus service instead of using its own socket and protocol so that an existing instance can be found, but I guess this is still a WIP. Another workaround is to start the daemon and export its variables to the global environment at the start of every x session; start the daemon as shown in $HOME/.xinitrc - however that's not something we want or need to activate by default. Maybe Evolution could do this for you on first run if it detects the daemon isn't running. BTW, kontact starts and stops kded for its keyring/wallet needs automatically. Will -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 15:23 +0100, Will Stephenson wrote:
This did not even start the gnome-keyring-daemon. Here is my file #!/bin/sh eval 'gnome-keyring-daemon' export GNOME_KEYRING_SOCKET export GNOME_KEYRING_PID evolution As you can see, I only moved the '. Still did not work even though the daemon was started. Executed it from the command line and got a missing libgail-gnome. So I installed that. Now I get the following GNOME_KEYRING_SOCKET=/tmp/keyring-AjMN9C/socket GNOME_KEYRING_PID=8263 Bonobo accessibility support initialized GTK Accessibility Module initialized CalDAV Eplugin starting up ... ** (evolution-2.8:8264): DEBUG: mailto URL command: evolution %s ** (evolution-2.8:8264): DEBUG: mailto URL program: evolution (evolution-2.8:8264): Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed get art.fore pop://<email address> Find Items 2 Couldn't Get password 2 Remember pop://<email address>: 2/0 get art.fore pop://<email address> Find Items 2 Couldn't Get password 2 Remember pop://<email address>: 2/0 When I enter the password, it goes and gets the mail one time. Next time still have to enter the email address again. Seems to me this bandaid is really a bandaid that works depending on the time of day, temperature, and phase of the moon. Wished Novell would fix it pronto so one does not have to spend so much time to get something to work that should work out of the box. If this is the result of Novell's interoperability efforts, I don't think Microsoft has much to worry about. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 23:24 +0800, Art Fore wrote:
afore@linux-sfnr:~/bin> gnome-keyring-daemon GNOME_KEYRING_SOCKET=/tmp/keyring-6q8sYy/socket GNOME_KEYRING_PID=8416 afore@linux-sfnr:~/bin> export GNOME_KEYRING_SOCKET=/tmp/keyring-6q8sYy/socket afore@linux-sfnr:~/bin> export GNOME_KEYRING_PID=8416 afore@linux-sfnr:~/bin> evolution & [1] 8423 afore@linux-sfnr:~/bin> Bonobo accessibility support initialized GTK Accessibility Module initialized CalDAV Eplugin starting up ... ** (evolution-2.8:8423): DEBUG: mailto URL command: evolution %s ** (evolution-2.8:8423): DEBUG: mailto URL program: evolution (evolution-2.8:8423): Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed get art.fore pop://<email address> Find Items 0 get art.fore pop://<email address> Find Items 0 BBDB spinning up... (evolution-2.8:8423): e-data-server-DEBUG: Loading categories from "/home/afore/.evolution/categories.xml" (evolution-2.8:8423): e-data-server-DEBUG: Loaded 29 categories -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

* Art Fore <art.fore@comcast.net> [12-12-06 10:33]:
Your problem may be that you have not exercised the script as provided. The second line contains back-tics, not single quotes. Try it properly written and see if it works. Please, is it really necessary to _completely_ quote *everything* written previous? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 2006-12-14 at 07:34 -0500, Damon Register wrote:
If Novell can't get interoperation between Gnome and KDE with Evolution right, how are they ever going to get any interoperation with Microsoft right? Will give it a couple of more weeks for a permanent solution, then if one is not forthcoming, will move to kmail. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 2006-12-14 at 20:55 +0800, Art Fore wrote:
Since we are the topic of evolution... If there is no fix forthcoming is there an easy way to move the mail from evolution to Kmail? I will need to do this as well if a fix is not available. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Le mardi 12 décembre 2006 00:42, Will Stephenson a écrit :
Well, another workaround would be to recompile evolution-data-server with "--enable-gnome-keyring=no". -- Gruß Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Am Dienstag, den 12.12.2006, 18:34 +0100 schrieb Andreas:
Well, another workaround would be to recompile evolution-data-server with "--enable-gnome-keyring=no".
i solved it by compiling evolution by myself. i downloaded it from http://www.gnome.org/projects/evolution/download.shtml i installed kerberos and openldap and all that needed stuff from dvd. i updated nss and nspr from: http://ftp.gwdg.de/linux/suse/opensuse/repositories/mozilla/openSUSE_10.2/ i configured evolution-data-server-1.8.2 with: ./configure --enable-static --enable-shared --enable-nss=yes --enable-smime=yes --enable-gnome-keyring=no --enable-ipv6=yes --enable-nntp=yes --with-libiconv --with-krb5=/usr/lib --with-openldap=/usr/lib --with-nspr-i ncludes=/usr/include/nspr4 --with-nss-includes=/usr/include/nss3 and the VERY IMPORTANT switch here is: "--enable-gnome-keyring=no"!!!!!!! i configured evolution 2.8.2.1 with: ./configure --enable-static --enable-shared --enable-nntp --enable-nss=yes --enable-smime=yes --enable-exchange --with-libiconv --enable-gtk-doc --with-openldap=/usr/lib --with-krb5=/usr/lib --with-nspr-includes=/usr/ include/nspr4 --with-nss-includes=/usr/include/nss3 i configured evolution-exchange-2.8.2 with: ./configure --with-openldap=/usr/lib -- einen schönen Tag noch DI Rainer Klier Abteilung IT - Entwicklung ECOLOG Logistiksysteme GmbH Bauernstraße 11, A-4600 Wels Tel. ++43/7242/66200 Fax ++43/7242/66200-200 mailto:kra@ecolog.at http://www.ecolog.at -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 2006-12-14 at 21:30 +0100, Rainer Klier wrote:
Thanks for sharing this info. I was able to configure evolution-dat-server OK, but configuring evolution terminates with: -- checking for CAMEL... configure: error: Package requirements (camel-provider-1.2) were not met: No package 'camel-provider-1.2' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables CAMEL_CFLAGS and CAMEL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I have an unmodified test install of 10.2 x86_64. Do you have any thoughts on why we get different results? TIA Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Le jeudi 14 décembre 2006 20:12, Dave Barton a écrit :
AFAIK a re-compilation of evolution itself is not necessary anyway. After I looked at the specfile for evolution-data-server I decided to forget about downloading & installing an upstream version. Instead I simply changed the specfile (the one option about the keyrings) and rebuilt the rpm with the new specfile. -- Gruß & Happy Holidays Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Am Freitag, den 15.12.2006, 08:57 -0800 schrieb Andreas:
Le jeudi 14 décembre 2006 20:12, Dave Barton a écrit :
this is a very good idea! but where did you get the spec-file? is it part of the source-rpm? -- einen schönen Tag noch DI Rainer Klier Abteilung IT - Entwicklung ECOLOG Logistiksysteme GmbH Bauernstraße 11, A-4600 Wels Tel. ++43/7242/66200 Fax ++43/7242/66200-200 mailto:kra@ecolog.at http://www.ecolog.at -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Le lundi 18 décembre 2006 00:18, Rainer Klier a écrit :
but where did you get the spec-file? is it part of the source-rpm?
yep. it is in the source rpm. What I do usually when I want to change a detail about an rpm is: - download source rpm - execute rpmbuild --rebuild <name-of-source-rpm> in the download-folder - install all the dependencies (the rpmbuild --rebuild shows an error message if dependencies are missing) - cd into /usr/src/packages/SPECS - edit the *.spec file with a simple texteditor - execute rpmbuild -ba <name-of-the-specfile> - hope that everything builds without an error message ;) - install the new rpms from /usr/src/packages/RPMS/i586. That is - very simplified - how every rpm is built. If you want to know more about rpms, specfiles and rpmbuild, have a look at the manpages and at http://www.rpm.org/RPM-HOWTO/ -- Gruß & Happy Holidays Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Am Montag, den 18.12.2006, 03:04 -0800 schrieb Andreas:
That is - very simplified - how every rpm is built.
this sounds like a very interesting alternative for me. this is a really very good idea to make a "private" self-compiled "special" version of a software which is shipped from distributor. -- einen schönen Tag noch DI Rainer Klier Abteilung IT - Entwicklung ECOLOG Logistiksysteme GmbH Bauernstraße 11, A-4600 Wels Tel. ++43/7242/66200 Fax ++43/7242/66200-200 mailto:kra@ecolog.at http://www.ecolog.at -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Am Dienstag, den 12.12.2006, 03:57 +0800 schrieb Art Fore:
i solved it by compiling evolution by myself. i downloaded it from http://www.gnome.org/projects/evolution/download.shtml i installed kerberos and openldap and all that needed stuff from dvd. i updated nss and nspr from: http://ftp.gwdg.de/linux/suse/opensuse/repositories/mozilla/openSUSE_10.2/ i configured evolution-data-server-1.8.2 with: ./configure --enable-static --enable-shared --enable-nss=yes --enable-smime=yes --enable-gnome-keyring=no --enable-ipv6=yes --enable-nntp=yes --with-libiconv --with-krb5=/usr/lib --with-openldap=/usr/lib --with-nspr-i ncludes=/usr/include/nspr4 --with-nss-includes=/usr/include/nss3 and the VERY IMPORTANT switch here is: "--enable-gnome-keyring=no"!!!!!!! i configured evolution 2.8.2.1 with: ./configure --enable-static --enable-shared --enable-nntp --enable-nss=yes --enable-smime=yes --enable-exchange --with-libiconv --enable-gtk-doc --with-openldap=/usr/lib --with-krb5=/usr/lib --with-nspr-includes=/usr/ include/nspr4 --with-nss-includes=/usr/include/nss3 i configured evolution-exchange-2.8.2 with: ./configure --with-openldap=/usr/lib -- einen schönen Tag noch DI Rainer Klier Abteilung IT - Entwicklung ECOLOG Logistiksysteme GmbH Bauernstraße 11, A-4600 Wels Tel. ++43/7242/66200 Fax ++43/7242/66200-200 mailto:kra@ecolog.at http://www.ecolog.at -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 03:57 +0800, Art Fore wrote:
There is a permanent way around this. There is a package available called, pam_keyring. It is available at: http://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/oss/suse/i586/pam_key... The description of the package says: pam_keyring is a pam module that launches the gnome-keyring-daemon then tries to unlock a keyring using your login password. One other change I had to make... I had to change my displaymanager from kdm to gdm (I use kde). Now, when I login using gdm, the gnome-keyring-daemon is automatically started up and the environment is setup properly. I can now start evolution simply by clicking on it. The keyring is already unlocked simply by logging in. It works great. Rick -- Rick's Law: What cannot be imagined will be accomplished by a fool. PGP Key Id: 9E1125E0

On Monday 11 December 2006 20:57, Art Fore said:
What was the bug report #? I couldn't find it in b.n.c under your email address. I've been pushing for better interop and the "not-starting-gnome-keyring-thingy-outside-gnome" issue was supposed to be fixed, but I have just checked with 10.2 and I see that it isn't :@. But we have a window of time now where we could do something about it. For a permanent workaround, put this in a file $HOME/bin/my-evolution: " eval `gnome-keyring-daemon` evolution " Then edit the KDE menu entry for evolution so that it launches $HOME/bin/my-evolution instead of evolution. Will -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 09:42 +0100, Will Stephenson wrote:
Tried your suggestion. Put a file in my /home/afore/bin directory both with and without the " marks, and changed the KDE menu. I get nothing. If I edit the shortcut on my kde panel, I then get KDEInit could not launch '/home/afore/bin/my-evolution'. Tried a number of variations, but nothing successful. Art -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Tue, 2006-12-12 at 21:14 +0800, Art Fore wrote:
Remember to do this to the script: chmod a+x my-evolution I wonder why the original poster used 'eval' to run the command. Very odd. Perhaps you also need to have the very first line in the script be: #!/bin/sh Otherwise it may not get executed. -- Roger Oberholtzer OPQ Systems AB Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (10)
-
Andreas
-
Art Fore
-
Damon Register
-
Dave Barton
-
Kenneth Schneider
-
Patrick Shanahan
-
Rainer Klier
-
Rick Friedman
-
Roger Oberholtzer
-
Will Stephenson