[Bug 564703] New: gnome-keyring do not work if you are not using gnome/gdm
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c0 Summary: gnome-keyring do not work if you are not using gnome/gdm Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: andrea@opensuse.org QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML, like Gecko) Chrome/4.0.266.0 Safari/532.6 even if i start it manually it wont work, the problem looks to be into some enviroment variables not exported and that should be done on login. the solution found here: http://fragglet.livejournal.com/9666.html is to add somewhere in xinit files something like that: if DISPLAYMANAGER != gdm eval "`gnome-keyring-daemon`" export GNOME_KEYRING_PID export GNOME_KEYRING_SOCKET export SSH_AUTH_SOCK endif i'm not a "shell" master, but that's the idea Reproducible: Always Steps to Reproduce: login into another DE like lxde, xfce without gdm. Actual Results: gnome-keyring-daemon is running but no application see it Expected Results: applications should know GNOME_KEYRING_PID GNOME_KEYRING_SOCKET SSH_AUTH_SOCK in order to use it -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |GNOME AssignedTo|bnc-team-xorg-bugs@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com QAContact|xorg-maintainer-bugs@forge. |qa@suse.de |provo.novell.com | --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2009-12-15 14:59:04 UTC --- Shouldn't the GNOME session take care of this? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c2 --- Comment #2 from andrea florio <andrea@opensuse.org> 2009-12-15 15:36:38 UTC --- it may into a gnome session.. but as the title say, you are not supposed to have gnome-session installed if you don't run gnome. even because it depends on about half GNOME and you don't need it. (since is enought to export those variables). to me they should be export be the X11 scripts.. /etc/X11/xdm/sys.xsession much likely -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sndirsch@novell.com | --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2009-12-16 21:08:26 UTC --- No idea if, where and how this needs to be done below /etc/X11/. The proposal needs to be provided by our GNOME guys. Feel free to reassign back to X.Org component if or once such a proposal exists. Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c4 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |vuntz@novell.com Info Provider| |andrea@opensuse.org --- Comment #4 from Vincent Untz <vuntz@novell.com> 2009-12-18 12:47:09 UTC --- gnome-keyring should be started during the display manager pam conversation. At the moment, it's configured to only work with gdm & GNOME, but we can change this. However, we need to know where you want it to work. Eg, we know we don't want for KDE, or icewm, or... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c5 --- Comment #5 from andrea florio <andrea@opensuse.org> 2009-12-18 13:00:42 UTC --- well.. LXDE really need it, we use nm-applet and probably seahorse too.. i don't know if that can be display manager independent -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c6 --- Comment #6 from andrea florio <andrea@opensuse.org> 2009-12-18 13:35:02 UTC --- mostly because i don't really know yet witch one will be the default LXDE display manager (between slim, lxdm or xdm). In the same way.. what's happen if i have kdm then? can that only be related to the Desktop Enviroment and not to the Display manager? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c7 --- Comment #7 from andrea florio <andrea@opensuse.org> 2009-12-23 13:38:39 UTC --- i actually workarounded adding this 4 lines to /usr/bin/startlxde script: eval "`gnome-keyring-daemon`" export GNOME_KEYRING_PID export GNOME_KEYRING_SOCKET export SSH_AUTH_SOCK is that a FIX or just a workaround? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c8 --- Comment #8 from Vincent Untz <vuntz@novell.com> 2010-01-05 13:29:39 UTC --- Andrea: as I told you on IRC, this is just a workaround. Did you decide on which display manager you're going to use? Or are you happy with the workaround? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c9 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andrea@opensuse.org | --- Comment #9 from andrea florio <andrea@opensuse.org> 2010-01-05 14:00:40 UTC --- i'm not happy with the workaround since it looks not working on Factory (it works instead on 11.1 and 11.2) LXDE will use LXDM any way... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c10 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andrea@opensuse.org --- Comment #10 from Vincent Untz <vuntz@novell.com> 2010-01-05 15:20:23 UTC --- Can you patch LXDM to set the DESKTOP_SESSION environment variable during the pam conversation? This variable should contain the desktop that will be launched (based on the .desktop file that is used). For example, in gdm we do: + env = g_strdup_printf ("DESKTOP_SESSION=%s", session_name); + pam_putenv (worker->priv->pam_handle, env); + g_free (env) Then, in the pam gnome-keyring module, right now, we check that the display manager is GDM and that the session is GNOME before deciding to start the keyring. I can change this to check if it's GDM or LXDM, and GNOME or LXDE. Note that this is an openSUSE-specific patch to avoid starting the keyring on desktops that don't care about it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c11 --- Comment #11 from andrea florio <andrea@opensuse.org> 2010-01-14 17:00:10 UTC --- i'm actually working on that patch... i hope to provide it as soon as possible, thanks for adding support for that in the mean time, so will be easier to test later when the patch will be ready -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c12 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|GNOME |GNOME Version|Final |Factory Product|openSUSE 11.2 |openSUSE 11.3 Target Milestone|--- |Factory --- Comment #12 from andrea florio <andrea@opensuse.org> 2010-02-02 16:09:15 UTC --- moving to 11.3 since it's more important to fix it there where the workaround is not working and where we are going to OFFICIAL support lxde. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c13 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andrea@opensuse.org | --- Comment #13 from andrea florio <andrea@opensuse.org> 2010-02-02 16:26:01 UTC --- Vincent, lxdm looks to has been patched, the svn version i built make gnome keyring work without gdm, i can login in gnome with lxdm and it works, but lxde still is not able to use gnome-keyring even if i use keyring with applyed patch. check this submitreq: #31293 but it still do not help.. something is missing, but i can't understand yet what is missing.. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c14 --- Comment #14 from andrea florio <andrea@opensuse.org> 2010-02-02 16:26:45 UTC --- sorry submitreq is #30843 not 31293 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c15 --- Comment #15 from andrea florio <andrea@opensuse.org> 2010-02-11 09:22:46 UTC --- to me is fixed, we just need to accept submitreq. to fix it we had the following changes 1st) lxdm export DESKTOP_SESSION environment variable during the pam conversation (updated lxdm is into X11:lxde repo) 2nd) startlxde script now eval dbus enviroment variable: # Launch DBus if needed if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then eval "$(dbus-launch --sh-syntax --exit-with-session)" fi this change is going to be submitted into factory in next days but you can test it using X11:lxde repo or manually adding those line into your /usr/bin/startlxde script (you can safely remove gnome-keyring lines added as workaround that are anyway no more working with new keyring-daemon) 3rd) gnome-keyring has been patched as Vincent required (the submitreq has been done for Factory, and also for STABLE:2.28 submitreq #32163 --> factory keyring submitreq #32164 --> patch backported to STABLE:2.28 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c16 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #16 from andrea florio <andrea@opensuse.org> 2010-02-11 09:50:50 UTC --- request accepted.. bug fixed -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564703 http://bugzilla.novell.com/show_bug.cgi?id=564703#c17 --- Comment #17 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (564703) was mentioned in https://build.opensuse.org/request/show/32167 Factory / lxde-common https://build.opensuse.org/request/show/32168 Factory / lxde-common-branding-openSUSE -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com