Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140977

Summary: kwrited does not show write or wall messages
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
URL: http://bugs.kde.org/show_bug.cgi?id=112840
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin von Gagern 2006-07-18 15:28:03 UTC
I'd like to write or wall messages to a user that has started KDE using startx from a terminal login. Unfortunately, the messages don't get displayed on my screen out of the box. They arrive at the terminal where I started the X server, but as I prefer to do "startx & logout", this is not a good enough solution.

kwrited aka. "KDE Write Daemon" is selected and running in the KDE Service Manager part of the KDE Control Center.

The probably related KDE issue is stated in the URL. It states some KDE log file, but I can't find any such on my system. Where do KDE log messages go on a Gentoo ~x86 system?

The issue seems to be related to bug 18252, and probably to the transition from utempter to libutempter.

"utmpdump < /var/run/utmp" only states the terminal where I started my X session, nothing that seems related to kwrited.

Currently I have these versions installed:
kde-base/kde-meta-3.5.3  USE="-accessibility"
kde-base/konsole-3.5.3-r1  USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama"
sys-libs/libutempter-1.1.4.1
Comment 1 Martin von Gagern 2006-07-18 16:48:09 UTC
I think bug 135818 might be related as well.
And that made me look at my kdelibs version as well:
kde-base/kdelibs-3.5.3-r3
That is configured --without-utempter, so maybe I should not be surprised.
Comment 2 Martin von Gagern 2006-07-19 01:14:06 UTC
OK, it really was an utempter issue. I just wrote a patch I submitted as
bug 135818 comment 4 and with that it works, even if I "startx & logout".

I also found the messages of where KWrited was listening on one of the output streams from startx, i.e. directly on the console. Strange thing is, before I applied my patch, the KWrited lines appered in the shutdown portion, not during startup.

Anyway, finding those I found that KDE allocates a new pty for kded, which is the reason why closing the one where I started X is al right.

Should this bug here now be resolved DUPLICATE of 135818 or rather depend on it?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-24 08:55:43 UTC
Dupe is fine. ;)

*** This bug has been marked as a duplicate of 135818 ***