http://bugzilla.opensuse.org/show_bug.cgi?id=1028893 http://bugzilla.opensuse.org/show_bug.cgi?id=1028893#c26 --- Comment #26 from Simon Lees <simonf.lees@suse.com> --- (In reply to Dr. Werner Fink from comment #24)
(In reply to Simon Lees from comment #23)
Ok i'll try xdm tomorrow, I guess lightdm is setting up the systemd session but xdm isn't
... AFAICR as author of the scripts below /etc/X11/xdm/ the dbus agent as well as agents for ssh/gpg are set up well ... also the scripts include some checks to be able to skip this if an other DM which provides dbus/ssh/gpg agents might use those scripts.
Yep I did some extensive testing with lightdm + xdm and fluxbox, openbox and icewm. It seems your right in every case I tried I got dbus running as a user session so its certainly not a general problem. (In reply to Dr. Werner Fink from comment #25)
Btw: even if the emacs script wouldn't provide a dbus session agent id no one is available there is no method to forbid the user to do this by hand e.g. short after login via ssh. The reason why I've added scripting code to enable a dbus session agent for an emacs is simply to avoid warning about a missing dbus. Later on it has shown that this provides the possiblity to let emacs talk ove rdbus to other components. That is that any permission handling for such a communication should be done well by the policykit.
I think rather then emacs trying to fix this issue itself we should treat the fact that dbus isn't running as a "system bug" that we should fix rather then getting emacs to work around it, as you pointed out other things will probably also be broken as well. As for a ssh we don't currently launch dbus on login, maybe we should, i'll bring that up on the factory mailing list. We do launch a systemd user session for ssh logins though so starting dbus is as simple as "systemctl --user start dbus.service", that way it will be run consistently the same way as with desktops. We might not be able to prevent people from doing it other ways if they choose but we can strongly recommend it. -- You are receiving this mail because: You are on the CC list for the bug.