Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12533 - Ksensors
Summary: Ksensors
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-21 14:16 UTC by leonardb
Modified: 2003-09-27 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leonardb 2002-12-21 14:16:44 UTC
After emerging Ksensors and running as either root or normal user .. the following 
error comes up .. 
 
as a normal user the error is... 
ERROR: KUniqueApplication: DCOP communication error! 
 
as root the error is .. 
sh: line 1: iceauth: command not found 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of 
the authentication protocols specified are supported and host-based authentication 
failed 
ICE Connection rejected! 
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of 
the authentication protocols specified are supported and host-based authentication 
failed 
DCOPServer self-test failed. 
ICE Connection rejected! 
 
sh: line 1: iceauth: command not found 
kdeinit: DCOPServer could not be started, aborting. 
ERROR: KUniqueApplication: Can't setup DCOP communication. 
 
 
please note a small window pops up and then closes ...
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-22 19:43:44 UTC
is iceauth on your system? which iceauth returns /usr/X11R6/bin/iceauth 
here. 
are there any other kde apps which also fail? 
please also commit the output of 'emerge info' and 'emerge -s xfree' 
Comment 2 leonardb 2002-12-22 23:50:54 UTC
root@miracle eltech # which iceauth 
which: no iceauth in (/sbin:/bin:/usr/sbin:/usr/bin) 
 
no, no other kde apps fail .. 
 
root@miracle eltech # emerge info 
Portage 2.0.46-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.20 i686 AMD Athlon(tm) processor 
USE="x86 3dnow apm gpm libg++ libwww mikmod ncurses nls pdflib qtmt spell xml2 
zlib gtkhtml gdbm berkdb slang readline arts bonobo svga guile sdl tcpd perl python 
imlib motif X gtk -gnome alsa kde freetype samba avi cdr crypt cups dvd ssl encode 
esd gif gphoto2 java jpeg mmx mozilla mpeg oggvorbis opengl oss pam png qt 
quicktime scanner truetype xmms xv" 
ARCH="x86" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-mcpu=athlon-tbird -O3 -pipe" 
CXXFLAGS="-mcpu=athlon-tbird -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
MAKEOPTS="-j2" 
JDK_HOME="/opt/blackdown-jdk-1.4.1_beta" 
JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
 
root@miracle eltech # emerge -s xfree 
Searching... 
[ Results for search key : xfree ] 
[ Applications found : 1 ] 
 
*  x11-base/xfree 
      Latest version available: 4.2.1-r2 
      Latest version installed: 4.2.1-r2 
      Size of downloaded files: 62,366 kB 
      Homepage:    http://www.xfree.org 
      Description: Xfree86: famous and free X server 
 
 
hope this all helps .. thank you and happy holiday .. 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-23 04:20:19 UTC
does 'ls -la /usr/X11R6/bin/iceauth' return anything? 
does 'env | grep PATH' contains /usr/X11R6/bin? 
Comment 4 leonardb 2002-12-23 07:47:24 UTC
ls -la /usr/X11R6/bin/iceauth 
-rwxr-xr-x    1 root     root        23716 Dec  6 19:11 /usr/X11R6/bin/iceauth 
 
env | grep PATH' contains /usr/X11R6/bin 
> 
 
The last one just sites there and brings me to that indent arrow that you see above... 
 
Comment 5 Andreas Waschbuesch 2002-12-27 02:40:20 UTC
Just say

env | grep PATH

without the last apostrophe ...
Comment 6 leonardb 2002-12-27 08:06:35 UTC
env | grep PATH CLASSPATH=/opt/blackdown-jdk-1.4.1_beta/jre/lib/rt.jar:. MANPATH=/opt/blackdown-jdk-1.4.1_beta/man:/usr/share/man:/usr/local/share/man PATH=/sbin:/bin:/usr/sbin:/usr/bin  
Comment 7 Dan Armak (RETIRED) gentoo-dev 2003-01-31 13:11:49 UTC
Well that PATH really doesn't contain /usr/X11R6/bin. Look for the cause of that. For example, 
is there a PATH=/usr/X11R6/bin entry in one of the files in /etc/env.d? Does /usr/X11R6/bin 
show up in the PATH setting in /etc/profile.env? Is your shell a login shell? 
Comment 8 Simeon Walker 2003-02-17 06:35:21 UTC
I see exactly the same problem:

When run from the command line ksensors gives:
sim@milliways:~>ksensors
ERROR: KUniqueApplication: DCOP communication error!

Then a KDE crash handler pops up with the following:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 20738)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x4509da99 in wait4 () from /lib/libc.so.6
#0  0x4509da99 in wait4 () from /lib/libc.so.6
#1  0x45119464 in __DTOR_END__ () from /lib/libc.so.6
#2  0x452479c3 in waitpid () from /lib/libpthread.so.0
#3  0x4038dc5e in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x49cc32d6 in sensors_get_all_features () from /usr/lib/libsensors.so.1
#6  0x0805af49 in QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const&) ()
#7  0x0805bd22 in QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const&) ()
#8  0x08065e85 in QString::~QString() ()
#9  0x450099c4 in __libc_start_main () from /lib/libc.so.6

This has been happening since 3.1 was released. With the 3.1rc's the same problem would happen the first time ksensors was loaded (usually whilst KDE was restoring the session after login) but would always load the second time. Now, with 3.1, it never works. I have tried re-emerging it.

Sim
Comment 9 Troy Dack 2003-02-19 18:48:22 UTC
Simon (Comment #8),
  I think your bug is different.  What version of lm_sensors/i2c do you have installed.  There is a similar bug for ksim (http://bugs.kde.org/show_bug.cgi?id=51951).

I have exactly the same problem with both ksim and ksensors, I'm yet to try the patch in that bug though
Comment 10 Manolo 2003-02-27 16:51:42 UTC
try   "ksensors -nodock"
Comment 11 Dan Armak (RETIRED) gentoo-dev 2003-04-15 07:18:35 UTC
What's the current status on this? 
leonardb, if you're sitll having this problem please try my suggetions from Comment #7. 
Simeon, try the suggestion from Comment #10 or the patch for lm_sensors from the linked 
kde.org bug. 
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2003-05-28 23:12:51 UTC
Closing as a NEEDINFO - no response in 6 weeks from last question.  Sounds like it's not really 
a bug (at least on the gentoo end). 
Comment 13 leonardb 2003-05-29 08:46:40 UTC
great assumption .. duh.. .. i have since left the use of kde as a desktop ..
Comment 14 Caleb Tennis (RETIRED) gentoo-dev 2003-09-27 10:49:09 UTC
see above comment