logname/w/who/pinky does not work, no utmp record?
Bug #1516440 reported by
Mattias Andrée
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Incomplete
|
Low
|
Unassigned |
Bug Description
logname(1) fails in terminator.
Expected result:
$ logname
<YOUR USERNAME>
$ echo $?
0
Actual result:
$ logname
logname: no login name
$ echo $?
1
logname(1) works both in Linux VT and xterm.
logname(1) uses getlogin(3) to get the username
(that is logged in to the controlling terminal.)
Similarly w(1), who(1), and pinky(1) does not return
list logins on terminator terminals. I think all of
these, and getlogin(3), uses utmp.
Changed in terminator: | |
status: | New → Incomplete |
Changed in terminator: | |
importance: | Undecided → Low |
To post a comment you must log in.
This is *probably* an issue with the old libvte being used. If that is the case it cannot be fixed in the GTK2 version of Terminator. There is a GTK3 version of Terminator, which is based on a much newer version of libvte. Have you tested on that? I don't have my other system up right now to check, but suspect that your commands will work there.
(I tested with my installed guake (also using old libvte) and it has the same issue. This is why I think the issue is in libvte, not Terminator itself.)