Files
extra/xorg-xdm/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
2025-06-22 20:39:04 -05:00

11 lines
327 B
Diff

diff --git a/config/GiveConsole b/config/GiveConsole
index f8a8c6d..cb68622 100644
--- a/config/GiveConsole
+++ b/config/GiveConsole
@@ -7,3 +7,5 @@
# causing serious grief.
#
chown $USER /dev/console
+exec /usr/bin/sessreg -a -w "/var/log/wtmp" -u "/run/utmp" \
+ -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER