[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#747882: systemd-logind not tracking startx sessions



On Sun, May 25, 2014 at 06:54:40PM +0200, Laurent Bigonville wrote:
> Hi,
> 
> Apparently this has been fixed with different patches in Arch linux and
> upstream. I tested both and the Arch linux way seems to work
> (logind session marked as active), while backporting the upstream
> patches in the debian version doesn't seems to work.
> 
> Arch linux patches can be found at:
> 
> https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-xinit&id=f9f5de58df03aae6c8a8c8231a83327d19b943a1
> https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-xinit&id=645e47d624d43e4ec84060476ea7356fb5fd01ab
> 
> Upstream patches:
> 
> http://cgit.freedesktop.org/xorg/app/xinit/commit/startx.cpp?id=44915d6953076849b69a017f6fc8234b0f254362
> http://cgit.freedesktop.org/xorg/app/xinit/commit/startx.cpp?id=1b23094a8606bf383ec6c7803a9cd300b1bb96a7
> 
> Any idea in which direction we should go?

The arch patch looks pretty simple and clean to me.
It has the additional benefit of only changing the vt if a logind
session is registered, i.e. the XDG_VTNR env var is only set if logind
is active.

Michael


Reply to: