xdm-config for :0 doesn't call Xstartup?

Chris Sorenson csoren at isd.net
Sun Oct 18 14:35:09 UTC 2020

xdm runs Xstartup on behalf of the user. Or, at least it's supposed to. 
Xstartup should then call sessreg which should invoke wtmp and utmp. 
However, it's possible to bypass wtmp/utmp by passing "-w none" to 
sessreg, in which case "w" won't show the login. What does your Xstartup 

On 10/18/2020 07:00 AM, xorg-request at lists.x.org wrote:

> Message: 1
> Date: Sun, 18 Oct 2020 00:12:22 +0300
> From: IL Ka <kazakevichilya at gmail.com>
> To: xorg <xorg at lists.x.org>
> Subject: xdm-config for :0 doesn't call Xstartup?
> Message-ID:
> 	<CAHv=rM33zEZEML9qKEnphvKAzH+uPn+TDb7SbjjkL9qV8jed9Q at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> Hello.
> I found that xdm-config has the following lines
> DisplayManager*startup: /usr/lib64/X11/xdm/Xstartup
> DisplayManager._0.startup: /usr/lib64/X11/xdm/GiveConsole
> As I understand, that means GiveConsole is run instead of Xstartup,
> so sessreg is not called, and I do not see my login in "w" output.
> I am sure this is how it worked for decades, so it could be that I
> misunderstand something.
> Is it a bug?
> Ilya.

More information about the xorg mailing list