The following have to be true: 1 - you have a 32-bit UID ( values greater than 65536 ) 2 - you want to create a new X session In /etc/X11/Xstartup you have to change the line containing 'sessreg'. Adding '- L none' before the '-U $user' will enable login. It seems that sessreg does not correctly write the lastlog entry for 32-bit UID's. Adding the '-L none' disables it's attempt to write this entry.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/sessreg/issues/1.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.