Browse Source

Use /usr/bin/sessreg to register logins in utmp, wtmp and lastlog.

tags/devuan/1.3.6-5.1+devuan5
Mark Hindley 1 year ago
parent
commit
d90325a646
3 changed files with 13 additions and 1 deletions
  1. +1
    -1
      debian/control
  2. +1
    -0
      debian/patches/series
  3. +11
    -0
      debian/patches/sessreg.patch

+ 1
- 1
debian/control View File

@@ -15,7 +15,7 @@ Architecture: any
Provides: x-display-manager
Recommends: xterm
Suggests: scrot, xauth
Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 1.2.9) | debconf-2.0, dbus, consolekit | libpam-elogind | logind
Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 1.2.9) | debconf-2.0, dbus, consolekit | libpam-elogind | logind, x11-xserver-utils
Description: desktop-independent graphical login manager for X11
SLiM aims to be light, simple and independent from the various
desktop environments. Although completely configurable through


+ 1
- 0
debian/patches/series View File

@@ -6,3 +6,4 @@ libslim-cmake-fixes.patch
fix-systemd-service.patch
manpage-formatting-fixes.patch
support-consolekit-runtime-detection.patch
sessreg.patch

+ 11
- 0
debian/patches/sessreg.patch View File

@@ -0,0 +1,11 @@
--- a/slim.conf
+++ b/slim.conf
@@ -42,6 +42,8 @@
#
# sessionstart_cmd some command
# sessionstop_cmd some command
+sessionstart_cmd exec /usr/bin/sessreg -a -l "$DISPLAY" %user
+sessionstop_cmd exec /usr/bin/sessreg -d -l "$DISPLAY" %user
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line

Loading…
Cancel
Save