[Konsole-devel] possibility to disable UTMP in Konsole

Lubos Lunak l.lunak at sh.cvut.cz
Tue Jul 2 19:22:54 UTC 2002


 Hello,

 any objections against commiting this patch? The reasons I want to commit it 
are :

- I really don't like having lot of entries in 'who', especially since I don't 
need UTMP in Konsole, as there are ktalkd and kwrited
- with utempter installed, UTMP entries are not correctly removed if Konsole 
is running during KDE logout(*)
- I'm getting tired of patching it here locally (and forgetting to do so)

(*) - and this really bothers me, as I use a modified shutdown command, which 
does nothing if 'who' doesn't return empty list. I tried to find the problem, 
but I don't understand these pty related things. It seems to me that the fd 
passed to utempter in TEPty::donePty() is invalid, because utempter complains 
"error stat'ing fd 3: Bad file descriptor". However, as I said, I couldn't 
find where the problem is, and have given up.

-- 
 Lubos Lunak
 l.lunak at email.cz ; l.lunak at kde.org
 http://dforce.sh.cvut.cz/~seli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session.cpp.patch
Type: text/x-diff
Size: 806 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20020702/4eb8ce33/attachment.bin>


More information about the konsole-devel mailing list