[Bug 1032759] emacs prints junk on startup
http://bugzilla.suse.com/show_bug.cgi?id=1032759 http://bugzilla.suse.com/show_bug.cgi?id=1032759#c9 --- Comment #9 from Simon Lees <simonf.lees@suse.com> --- (In reply to Dr. Werner Fink from comment #7)
(In reply to Simon Lees from comment #6)
See the other bug report, I can probably have a shot at making you a SR tomorrow, It doesn't seem like i'll be that busy.
--- emacs.sh (revision 129) +++ emacs.sh (revision 227) @@ -78,7 +78,12 @@ unset DBUS_SESSION_BUS_ADDRESS break done - test -n "$dpid" || unset DBUS_SESSION_BUS_ADDRESS + if test -z "$dpid" ; then + case ":$DBUS_SESSION_BUS_ADDRESS" in + *:path=/run/user/${UID}/bus*) ;; + *) unset DBUS_SESSION_BUS_ADDRESS + esac + fi fi # Find a valid dbus-daemon if active if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then @@ -90,6 +95,10 @@ DBUS_SESSION_BUS_ADDRESS=${dadd#*=} export DBUS_SESSION_BUS_ADDRESS done + if test -z "$DBUS_SESSION_BUS_ADDRESS" -a -S /run/user/${UID}/bus ; then + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/${UID}/bus + export DBUS_SESSION_BUS_ADDRESS + fi fi
Sorry for wasting your time, i've only just got to confirming the following, dbus is socket activated when required so you shouldn't need to launch it. To test this you can ssh in then run dbus monitor which is enough to start the dbus session. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com