console window question

Robert Brockway rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
Thu Feb 10 21:19:25 UTC 2005


On Thu, 10 Feb 2005, Tim Writer wrote:

> Strangely, this does not:
>
>    konsole -e login
>
> giving this error:
>
>    No utmp entry.  You must exec "login" from the lowest level "sh"

I've seen this when utmp was not where the app was expecting it[1].  utmp 
has lived in various places over the life of Unix.  All the apps on a 
particular Linux distro are supposed to all look for it in the same place 
but mistakes do happen.  Consider using strace to see where konsole is 
expecting to find utmp.  The solution would then be a symlink.

[1] Although this was not the only circumstance that I've seen this with.

Rob

-- 
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: 416-669-3073 Email: rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (http://www.spi-inc.org)
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list