On 2026-04-18 11:29, Collin Funk wrote:
The issue I have with this solution is that it requires the 'who' program to maintain an ever expanding list of user names used by desktop managers.
Maybe filter them out if their login shell ends in "/nologin"?
Also, I guess this is mostly theoretical, but you would want to show 'gdm-greeter' if a user actually named themselves that.
The "/nologin" hack should work in that weird case.
