[Bug 225627] New: dbus-x11 misses x11 support
https://bugzilla.novell.com/show_bug.cgi?id=225627 Summary: dbus-x11 misses x11 support Product: openSUSE 10.2 Version: RC 5 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: thoenig@novell.com ReportedBy: coolo@novell.com QAContact: qa@suse.de CC: kde-maintainers@suse.de col@titania:~> dbus-launch --autolaunch `cat /var/lib/dbus/machine-id ` Autolaunch requested, but X11 support not compiled in. Cannot continue. I make this major as it makes Dbus applications (like all KDE4 apps) segfault in a naked session -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #1 from thoenig@novell.com 2006-12-04 02:51 MST ------- Does this affect any application currently shipping with OS10.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #2 from coolo@novell.com 2006-12-04 03:16 MST ------- I guess some GNOME apps? The KDE apps that have dbus support currently you don't start in naked sessions (ssh -X). But banshee problems under KDE might be related to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #3 from thoenig@novell.com 2006-12-04 03:30 MST ------- Why would they launch a session bus? The session bus is already there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #4 from thoenig@novell.com 2006-12-04 03:31 MST ------- (Note: I'm not arguing that this bug needs to be fixed, I just want to know the impact it *currently* causes for 10.2) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | ------- Comment #5 from coolo@novell.com 2006-12-04 03:38 MST ------- Well, if you ssh -X localhost banshee, you don't have a session bus for that very session. And if banshee relies on dbus-launch --autostart as qt4 does, then you have a problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #6 from thoenig@novell.com 2006-12-04 03:42 MST ------- This is not my point (using the D-Bus session bus with ssh -X did not work in the past and is not supposed not work with 10.2). Does it break is you run banshee or qt4 applications if you neglect ssh -X? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | ------- Comment #7 from coolo@novell.com 2006-12-04 04:11 MST ------- why didn't ssh -X work in the past? It should have worked starting with the point dbus-launch got the --autostart function. That --autostart is exactly what makes ssh -X work and what is broken in the dbus-1-x11. And no, I don't call banshee over ssh -X, but qt4 applications that we do not ship with 10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #8 from thoenig@novell.com 2006-12-04 04:21 MST ------- (In reply to comment #7)
why didn't ssh -X work in the past?
Because the the session bus is a socket on the remote machine.
It should have worked starting with the point dbus-launch got the --autostart function. That --autostart is exactly what makes ssh -X work and what is broken in the dbus-1-x11.
Yupp, and it has just been a couple of weeks that Thiago added this.
And no, I don't call banshee over ssh -X, but qt4 applications that we do not ship with 10.2
Is there a bug for the banshee issue? dbus-launch should only be run with the switch --autolaunch if DBUS_SESSION_BUS_ADDRESS is *not* set. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |coolo@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #9 from thoenig@novell.com 2006-12-04 04:26 MST ------- (In reply to comment #0)
I make this major as it makes Dbus applications (like all KDE4 apps) segfault in a naked session
Why is that? Do they respect that DBUS_SESSION_BUS_ADDRESS is set? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | ------- Comment #10 from coolo@novell.com 2006-12-04 05:18 MST ------- Do you want to play hard to get or what? I think, the bug is pretty clear and I don't intend to answer more questions. I don't intend to discuss qt4's dbus usage in this bug neither banshee. dbus-launch does not work as documented due to a packaging bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |coolo@novell.com ------- Comment #11 from thoenig@novell.com 2006-12-04 05:31 MST ------- Huh, Monday morning, eh? :-) I just refuse to hide bugs, that's all. If your applications do not use dbus-launch properly (e.g. ignore that DBUS_SESSION_BUS_ADDRESS is set) we are likely to run into problems. "Whenever an autolaunch occurs, the application that had to start a new bus will be in its own little world; it can effectively end up starting a whole new session if it tries to use a lot of bus services. This can be suboptimal or even totally broken, depending on the app and what it tries to do." As history told it will be me who is being called if there are mysteriously several session buses running. In no case D-Bus was to blame. So please, calm down. Please answer my question from comment #9. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | ------- Comment #12 from coolo@novell.com 2006-12-04 05:48 MST ------- A naked session does not have a dbus session running and with ssh -X you start a new, naked session. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #14 from coolo@novell.com 2006-12-04 06:15 MST ------- the latest package fixes the problem for me - it starts a new dbus, that connects itself to the X connection. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 mmichna@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nteknikk@monet.no ------- Comment #16 from mmichna@novell.com 2007-01-26 08:19 MST ------- *** Bug 227413 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 drichard@largo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |drichard@largo.com ------- Comment #17 from drichard@largo.com 2007-01-26 12:12 MST ------- This issue is causing our deployment to be delayed. What happens is that if you XDMCP into a OpenSuse server it correctly starts a dbus session for that individual user. However applications that attempt to run the dbus fail. drichard@desktopa:~> mail-notification libnotify-Message: Unable to get session bus: Failed to execute dbus-launch to autolaunch D-Bus session drichard@desktopa:~> ps -ef | grep drichard | grep dbus drichard 6307 1 0 13:19 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session drichard 7681 7643 0 13:43 pts/5 00:00:00 grep dbus drichard@desktopa:~> I downloaded the unstable dbus releases and tried those and they fail as well. It seems there was some debate about how this works on other distros, but this is the first time I have seen it fail in this manner and we have used it before. If someone has an experimental RPM for me to test, I would gladly install it on the server. Applications that require dbus will not work at all for me right now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #18 from drichard@largo.com 2007-01-26 12:13 MST ------- f-spot seems to be failing because of this as well drichard@desktopa:~> f-spot Unhandled Exception: System.ArgumentNullException: Argument cannot be null. Parameter name: key at System.Collections.Generic.Dictionary`2[System.String,NDesk.DBus.Bus].GetPrev (System.String , System.Int32& ) [0x00000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #19 from dmueller@novell.com 2007-02-13 11:16 MST ------- David: are you talking about opensuse 10.2 or about SLE10 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |aj@novell.com ------- Comment #20 from dmueller@novell.com 2007-02-13 11:18 MST ------- AJ: is this something worth fixing for 10.2? the fix is adding: BuildRequires: xorg-x11-devel to the spec file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #23 from drichard@largo.com 2007-02-13 12:41 MST ------- My skillset has improved greatly in the understanding of how this works, I got some bigtime help from #dbus on the IRC. What happens is that when dbus is started it exports the right environmental variables to all children processes, only. If you log into a server with XDMCP and then telnet into that server as yourself, that telnet session will not be aware of the DBUS variables and any attempts to start software will fail...even though the daemon is in fact running. This is very confusing at first. I think that when software starts, it should attempt to look for a running daemon instead of this current method. Often, we support other users, and have them log out of an application for a bit and run them to our own $DISPLAY to resolve an issue. With how it works now, you won't be able to easily do this. The work around that I'm doing right now is passing the DBUS environmental variables between the multiple servers and it's working but feels a bit rigged. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 ------- Comment #24 from thoenig@novell.com 2007-02-14 02:51 MST ------- David, why would you expect that the telnet session should make use of the D-Bus session bus of a running session? The D-Bus session buses are per session, not per user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #27 from aj@novell.com 2007-02-16 02:20 MST ------- I think the problem is fixed now for 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #28 from dmueller@novell.com 2007-02-19 09:55 MST ------- marking as RESOLVED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225627 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com