Registered Member
|
Hello, most awesome KDE community,
Certain applications, mainly dolphin and sometimes others, sometimes lose responsivity (I have seen programs ranging from firefox to konsole freeze). Also, my two monitors are not recognized on startup and klipper is missing from the panel and from the widget selection. Sometimes plasma will freeze. Applications never crash; they always regain consciousness. I have tried rebooting and things remain as they are... It is not a graphics problem: kwin's compositor is working fine and desktop effects are loaded normally. It all started when I plugged in a USB thumb drive into the USB 2.0 hub on the front of the desktop PC and when it came up in the Device Manager, I selected "Open in File Manager". Plasma froze and dolphin never showed up. I unplugged the USB thumb drive, which did not faze it... I think it has something to do with this: When I open Dolphin in the terminal, I get the following errors:
Does anyone have any ideas? My KDE version is 4.11.3 and I am using Kubuntu 13.10. (: |
Administrator
|
This indicates that an important process, kded4, is hanging and not responding to queries. Please try attaching a debugger to it (using a virtual terminal) and generating a complete backtrace when you applications freeze. Once you have this backtrace, please post it here. Note that while kded4 is suspended by the debugger, your desktop and applications will be very unresponsive - although KWin should be only minimally affected by this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Per the Kubuntu Wiki instructions on how to create a gdb backtrace (https://wiki.kubuntu.org/Backtrace#Alre ... g_programs): http://pastebin.kde.org/pmegloqfl
Note that I did omit `continue` as this froze gdb. |
Administrator
|
It appears that kded4 is stuck loading "kmixd". Please remove all configuration files related to "kmix" from ~/.kde4/share/config and ~/.kde4/share/apps outside of KDE.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you. Since you said it was a problem with kmixd, I backtraced my steps for debugging a sound bug: https://bugzilla.kernel.org/show_bug.cgi?id=68071. The problem was that I had added "daemon-binary = /bin/true" to /etc/pulse/client.conf along with changing "autospawn = yes" to "autospawn = no", and when I commented out "autospawn = yes" I did not comment out the other line. Commenting them both did the trick. Thank you for your assistance.
|
Registered Member
|
Same problem here - progs are freezing when running as root. In the following scenario I tried to start dolphin as root.
GDB-log is here:
Which program is blocking the system in my case? |
|
Looks like KActivities tries to start the kactivitymanagerd process via dbus activation and that times out.
Most important question would be *how* you attempt to start dolphin as root. "kdesu dolphin"? |
Administrator
|
I would recommend opening a separate thread for this issue - it certainly looks like a D-Bus namespacing issue.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
For the debug I started dolphin from a root-console-window. It's not limited to dolphin. I tried the same with kwrite and had the same problem. Usually I start root-dolphin or root-crusader from a desktop-icon. Don't know how the desktop-icon is calling the apps. However, it doesn't matter if I try to start dolphin, kwrite or krusader as root - they all time out. It doesn't matter if they are called from desktop or from root-console. Krusader sometimes shows up after a couple of minutes though. Running these apps as a usual user is no problem at all.
Edit: Maybe I should mention that I use lxde. The kde-libs are installed for compatibility with desktop-programs. I'm running ubuntu 14, 64 bit. |
Administrator
|
Your desktop environment shouldn't make a difference here. How are you running the applications as root?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
What do you mean?
Usually I type
in the root-terminal-window. Do you mean how I run programs when logged in as root? Actually I never tried this. The launchers...I'm not sure...I think with sudo but I'm not sure right now. |
|
Don't. Run "kdesu dolphin" instead.
A terminal started "sudo xterm" won't allow you to (successfully) launch a KDE application as root because you need to mangle around half a dozen environment parameters (mostly dbus related) and whatnot. |
Registered Member
|
I looked it up: The launchers run with gksu.
Terminal: gksu xfce4-terminal Krusader: gksu krusader Kwrite: gksu kwrite |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft