As the subject says: Since disabling internal “gnome-pty-helper” and depending on “x11-libs/gnome-pty-helper”, x11-terms/terminal no longer updates utmp/wtmp records (only “real” shell entries displayed when issuing “who” or “w” commands within it). (And the same problem seems to exists in x11-terms/gnome-terminal from what I see in the forums: http://forums.gentoo.org/viewtopic-t-884434.html) Reproducible: Always Steps to Reproduce: 1. emerge x11-terms/terminal 2. Start /usr/bin/Terminal 3. Issue either “w” and/or “who” commands. Actual Results: List only session in “real” terminals, but not those inside an emulated terminal application. Expected Results: List all terminal session, both from “real” terminals (i.e. CLI/no X) AND virtual ones (those inside XFCE’s Terminal and GNOME’s terminal and probably other terminal emulators). I was about to set Severity to “Minor”, except there’s no work around that I found. Sorry! Thank you for your hard work.
You are right, configuring vte with --disable-gnome-pty-helper prevents vte from using /usr/libexec/gnome-pty-helper even when it is already installed by another package (x11-libs/gnome-pty-helper). Fixed, thanks for reporting. >*vte-0.30.1-r3 (30 Jan 2012) >*vte-0.28.2-r301 (30 Jan 2012) >*vte-0.28.2-r203 (30 Jan 2012) > > 30 Jan 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > +vte-0.28.2-r203.ebuild, +vte-0.28.2-r301.ebuild, +vte-0.30.1-r3.ebuild: > Ensure that vte properly uses gnome-pty-helper (bug #401389, thanks to > زياد بن عبدالعزيز الباتلي for reporting).
Created attachment 388452 [details, diff] Diff against x11-libs/vte-0.28.2-r206
Created attachment 388454 [details, diff] Allow building gnome-pty-helper externally
Not sure if you're interested in reopening this old bug, but I have attached what I believe is a more proper fix for this bug. Instead of building gnome-pty-helper and removing the output files, this defines VTE_USE_GNOME_PTY_HELPER even if gnome-pty-helper is built as another package. This has been tested against vte-0.28.2-r206, but the same principle will probably work for the other versions as well. Feel free to use it if you think it's a good idea, or leave the bug closed otherwise