vte log pid of terminal in utmp, instead of pid of the process inside
Submitted by Christian Marillat
Description
Hi,
As seen below, gnome-terminal logs the pid for gnome-terminal in utmp, rather than the pid of the user's shell, as is expected. (I.e., the PID recorded for pts/0 should be 1128.)
./who -uH NAME LINE TIME IDLE PID COMMENT
mstone :0 Mar 14 18:15 ? 1044
mstone pts/0 Mar 14 18:16 00:12 1119 (:0)
mstone pts/1 Mar 14 18:16 . 1119 (:0)
mstone pts/2 Mar 14 18:16 00:16 1119 (:0)
mstone pts/3 Mar 14 18:16 . 1119 (:0)
ps -ef | grep 1119 mstone 1119 1 0 Mar14 ? 00:00:37 gnome-terminal ... mstone 1127 1119 0 Mar14 ? 00:00:00 gnome-pty-helper mstone 1128 1119 0 Mar14 pts/0 00:00:00 -csh mstone 1135 1119 0 Mar14 pts/1 00:00:01 -csh mstone 1152 1119 0 Mar14 pts/2 00:00:00 -csh mstone 1168 1119 0 Mar14 pts/3 00:00:00 -csh
Version: 0.10.x
Resolution: RESOLVED OBSOLETE