:: Re: [DNG] Request for testing of sl…
Página Principal
Delete this message
Reply to this message
Autor: Mark Hindley
Data:  
Para: Dimitris
CC: dng
Assunto: Re: [DNG] Request for testing of slim/experimental
On Sun, Mar 10, 2019 at 02:03:11AM +0200, Dimitris via Dng wrote:
> 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 :


Thanks very much

> $ 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.


Yes, I had noticed the w ?xdm?. This is a bug in sessreg that I am patching
now. sessreg only recongnises :0 at the moment. :0.0 or any other numbers don't
work!

But the functionality in slim is basically right, I think.

I will have to send the sessreg patch to Debian unless we are prepared to fork
x11-server-utils.

Mark