Summary: | Python function os.getlogin fails in konsole | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Jonathan Thomas <echidnaman> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | robertknight |
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jonathan Thomas
2008-09-25 02:58:05 UTC
Hi, This appears to relate to the fact that Konsole does not update utmp when it creates a new session. IIRC this was disabled in the lead-up to KDE 4.0 because of problems in the kpty library which I should really fix. In gnome-terminal you can see the same result if the "Update login records when command is launched" option is unchecked in the 'Title and Command' tab in the settings dialog. As a side note, there is a bug in Konsole here but even so os.getlogin() ought to fail more gracefully, since it is easily possible for a terminal not to update the login records. With KDE 4.6.x it works in Konsole/yakuake/konq. |