FS#46695 - [vte3] [vte] gnome-pty-helper no longer supplied

Attached to Project: Arch Linux
Opened by Clemmitt Sigler (cmsigler) - Tuesday, 13 October 2015, 16:01 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 13 October 2015, 17:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



When logging in on a pseudo terminal from DISPLAY :0.0, login entries are no
longer recorded in wtmp and friends.

My forum thread: https://bbs.archlinux.org/viewtopic.php?id=203764

Last update to vte3 and vte has disabled/removed enabling
gnome-pty-helper. This seems to break recording pty logins (not

Additional info:

vte3 0.42.0-1 (upgraded from 0.40.2-1)
vte 0.28.2-7 (upgraded from 0.28.2-6)

I'm running lightdm 1:1.16.3-1 and xfdesktop 4.12.3-1 (and friends).

Steps to reproduce:

1.) After these upgrades, start :0.0 desktop session, then open either
xfce4-terminal or gnome-terminal as a login session. Bash shows up in
ps as "-bash" and shopt "login_shell" is "on".

2.) Run 'who -m' or 'w' -- No login entry is shown.

Haven't tested with xterm -ls as I don't have it installed. Please
contact me if more info is needed.

This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 13 October 2015, 17:20 GMT
Reason for closing:  Upstream
Comment by Jan de Groot (JGC) - Tuesday, 13 October 2015, 16:36 GMT
This change is intentional and will not get reverted.

Upstream doesn't see the need for recording wtmp/utmp for every tab you open and removed all code for it. As I don't want to keep unmaintained setuid binaries support has been removed from all vte versions.
Comment by Clemmitt Sigler (cmsigler) - Tuesday, 13 October 2015, 16:43 GMT
Thank you for the verdict, Jan. Understood.

I even see that some distributions have a separate package for gnome-pty-helper.

I haven't done all the homework yet. Do you immediately know of a decent workaround? It's a very minor and esoteric point, to be sure. Perhaps I should create and maintain my own private AUR version of just gnome-pty-helper, if that's even possible(?). Thanks again.
Comment by Jan de Groot (JGC) - Tuesday, 13 October 2015, 17:20 GMT
Revamping a gnome-pty-helper package won't get you anywhere, since this needs code in vte that uses it, which has been either disabled (vte, vte290) or removed completely (vte3). Upstream has deprecated gnome-pty-helper for 3 or 4 releases and finally removed it from 0.42.0. We used to ship it in vte-common, but since vte290 and vte work fine without it, we decided to disable support for this completely in all versions of vte.

Upstream made the decision here: https://bugzilla.gnome.org/show_bug.cgi?id=747046