Version: (using KDE 4.2.2) Compiler: gcc 4.4 I am using standard Fedora 11 KDE packages. OS: Linux Installed from: Fedora RPMs After logging in to my desktop (either Gnome or KDE), and in a terminal running either (a) su -c kwrite or (b) su (not 'su -', nor 'sudo bash', nor kdesu), then kwrite kwrite hangs while executing "futex(0x9dcfeb4, FUTEX_WAIT_PRIVATE, 1, NULL" system call (as shown by strace, actual memory address varies). Other KDE 4 applications fail in the same way. The correct behavior is either (a) to launch successfully, or (b) if we decide not to support su -c kwrite, then exit with an appropriate error message instead of hanging indefinitely Note: The problem appears to be caused by DBUS_SESSION_BUS_ADDRESS environment variable, which is set to a value like unix:abstract=/tmp/dbus-P0Ey0fihr0,guid=dd6debc7e245cbe9ce93208e4a0216e0 Unsetting this variable allows kwrite to start successfully (this is probably why using "su -" or sudo works correctly). I am using Fedora 11 Preview Release i686, but the same bug is also present on Fedora 9 and Fedora 10. I have not tested other distributions.
What happens if you use "dbus-launch kwrite" instead of "kwrite" alone ? Thanks
(In reply to comment #1) su -c "dbus-launch kwrite" works correctly
*** This bug has been marked as a duplicate of bug 199209 ***