Version: (using KDE KDE 3.2.3) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) OS: Linux When I'm logged into KDE as a regular user, then open a Konsole (haven't tried it with other command line programs), then su to root, then run a GUI program, it starts but there are error messages printed by Konsole. For example, when I start Konqueror the error messages that appeared are: QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used kbuildsycoca running... then once I exit Konqueror, after a while (about 10 seconds to a minute) the following appears: Mutex destroy failure: Device or resource busy sh: line 1: iceauth: command not found then after another bit of time the following appears: ICE default IO error handler doing an exit(), pid = 19864, errno = 2 I had set up my computer so I can run GUI programs as root by running "xhost +local:" in the bashrc of my normal user and by setting root's DISPLAY environment variable to ":0.0". I'm not completely sure I did that properly.
"ICE default IO error handler doing an exit(), pid = 19864, errno = 2" Yes, what does that message mean? Sometimes when I start a KDE app, it just quits immediately with a similar error; starting the app again immediately afterwards works.
ICE is the protocol used by session management and DCOP. Normally you get the error when the connection with the session manager or the dcopserver disappears. Not sure what the problem of the original reporter is, but "iceauth" missing is bad. You must make sure that iceauth is present in the path. The other messages are mostly useless messages generated by Qt. Smart distributions have patched those out ;-)
> The other messages are mostly useless messages generated by Qt. Smart distributions have patched those out ;-) Huh, and here I was thinking Gentoo is the smartest distribution around. :) Is this considered a Gentoo bug report, then, or a wishlist item for Gentoo? You were right about the iceauth error - only my regular user had /usr/X11R6/bin in $PATH, but root didn't. I put the rest of $PATH in root's $PATH, and that message went away but the others were still there.
Wishlist item for Gentoo regarding the QPixmap warning printed by Qt I would say.
I reported it at http://bugs.gentoo.org/show_bug.cgi?id=73338. Someone there suggested that the Mutex destroy failure might be due to improper use of QMutex.