:: Re: [DNG] Request for testing of sl…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Dimitris
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Request for testing of slim/experimental
On 3/8/19 10:04 PM, Mark Hindley wrote:
> Would people who are experiencing missing slim utmp entries mind trying again
> with the following configuration added to /etc/slim.conf, please?
>
> sessionstop_cmd exec /usr/bin/sessreg -d -l $DISPLAY %user
> sessionstart_cmd exec /usr/bin/sessreg -a -l $DISPLAY %user
>
> If you don't have the sessreg command it is in the package x11-xserver-utils.


just tried that. results :

$ last  user
user       :0.0         :0.0             Sun Mar 10 01:51   still logged in
user       tty7         :0               Sun Mar 10 01:04 - 01:06  (00:02)
user       tty7         :0               Sat Mar  9 10:48 - down   (06:17)
...
...


$ w
01:55:37 up 4 min,  1 user,  load average: 0.21, 0.19, 0.09
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
user       :0.0     :0.0             01:51   ?xdm?  47.32s  0.24s
x-session-manager



$ lastlog -u user
Username         Port     From             Latest
user               :0.0                      Sun Mar 10 01:51:53 +0200 2019



lastlog updated with this change as well. tty doesn't seem right, ":0.0"
instead of "tty7" (?) and IDLE in w is wrong.

thx,
d.