Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716596 - x11-misc/wdm stops registering session
Summary: x11-misc/wdm stops registering session
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2020-04-07 18:29 UTC by Klaus Ethgen
Modified: 2021-02-21 09:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Ethgen 2020-04-07 18:29:23 UTC
Recently, wdm stopped registering sessions. That is especially bad as it prevent my display to lock when I send the laptop to sleep leaving me with a unlocked session.

The reason is that pinky cannot see the session as it is not registered anymore to /run/utmp

I tried to find the real reason as wdm was updated last at 2019-10-17 so that update did not trigger the bug.

But there are several relevant tools updated back to February that could be the reason. Unfortunately the old versions are not in gentoo anymore so I am unnable to test.

Packages that was updated or rebuild in that time range are:
- x11-apps/xinit (rebuild as 1.4.1 was installed in july last year)
- x11-apps/sessreg (Also rebuild and version 1.1.2 from july last year)
- sys-libs/pam (Update from 1.3.1-r1 to 1.3.1-r2 although the update in january from 1.3.0-r2 could also have triggered that bug)

Reproducible: Always

Steps to Reproduce:
1. login with wdm

Actual Results:  
~> pinky    
Login    Name                 TTY      Untätig Wann             Wo   

Expected Results:  
~> pinky    
Login    Name                 TTY      Untätig Wann             Wo   
xxxx     Xxx Xxx             *console  xxx     2020-xx-xx xx:xx :0
Comment 1 Klaus Ethgen 2020-04-07 18:38:13 UTC
Some workaround:

When I add the following line to /etc/X11/wdm/GiveConsole, it works again:

exec sessreg -a -l "$DISPLAY" -u /run/utmp -x /etc/X11/wdm/Xservers "$USER"
Comment 2 Jonas Stein gentoo-dev 2021-02-21 02:25:00 UTC
Which version of wdm did you try?

It is sad to read that you have problems with wdm. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3,4].

Comment 3 Klaus Ethgen 2021-02-21 09:10:04 UTC
curently x11-misc/wdm-1.28-r6 and I checked, the bug is still valid.

Tell me what you need.

Regarding other channels, I had bad experiences with freenode as it requires logging in but I have no account there. It is usually not easy to get to a channel to talk together.

About the other channels, that need to register everytime with a new account just to fix that single bug is not very user friendly. (Even bugzilla needs an separate account. But that I created as there are some bugs that needsx to report.) I like bug trackers that does not need to register like the one of devuan or debian.

However, feel free to contact me direct by e-mail. I also have a jabber live...