Danny Milosavljevic writes: > * gnu/services/xorg.scm (slim-shepherd-service): Make the logged-in session > show up in "w". Nit-pick: Instead of reusing the commit title here, it would be better to mention what is being done, e.g. "Use SESSREG to register X11 session". [...] > diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm > index 50af2408b..b73dbe0d7 100644 > --- a/gnu/services/xorg.scm > +++ b/gnu/services/xorg.scm > @@ -467,6 +467,8 @@ authfile /var/run/slim.auth > login_cmd exec " xinitrc " %session > sessiondir /run/current-system/profile/share/xsessions > session_msg session (F1 to change): > +sessionstart_cmd " sessreg "/bin/sessreg -a -l $DISPLAY %user > +sessionstop_cmd " sessreg "/bin/sessreg -d -l $DISPLAY %user I'm surprised that this works. I would have expected sessreg to be unbound in this context, and that it would have to be added to the record similar to xauth and startx. However I suspect it may be better to add it to the record regardless, to stay consistent and allow overriding it. WDYT? This is a change that affects most GuixSD users, so we better not break anything here :-)