GNOME Bugzilla – Bug 333653
the keyring daemon should be able to have it's display env set by a client
Last modified: 2006-06-04 18:28:27 UTC
the keyring daemon can launch and run without have a display to output to. I see no reason why a client app that wants to use the daemon shouldn't be able to update the display evironment variable for the daemon. The functional use case can be seen in gnome-session. Gnome-session checks to see if the GNOME_KEYRING_SOCKET is set and is writable and then returns. If it is going to use that daemon it should also update DISPLAY for that daemon so user interaction works properly.
Created attachment 60796 [details] [review] allows the display ENV of the daemon to be updated
I filed this bug, http://bugzilla.gnome.org/show_bug.cgi?id=333901 as a patch for gnome-session if this change is accepted. These changes provide the needed infrastructure to implement a solution like, http://bugzilla.gnome.org/show_bug.cgi?id=312877 and have gnome-keyring-daemon still function properly.
This is a security issue. Anyone could set the display to somewhere and circumvent the dialogs to the user. I changed the code so that you can only set the display if it wasn't already set and commited. Thats good enough, isn't it?
That should be fine thanks.
So closing this bug