Bug#747882: systemd-logind not tracking startx sessions

2014-08-25 Thread Laurent Bigonville
Le Mon, 26 May 2014 08:39:51 +0200,
Julien Cristau jcris...@debian.org a écrit :

 On Sun, May 25, 2014 at 18:54:40 +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.
  
 If the upstream changes don't work please take it upstream...

OK the fix was actually working but was requiring other changes as
well...

See: http://git.bigon.be/?p=user/bigon/xinit.git;a=summary

Cheers,

Laurent Bigonville


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140825220213.2daa8...@fornost.bigon.be



Bug#747882: systemd-logind not tracking startx sessions

2014-05-27 Thread Michael Biebl
On Mon, May 26, 2014 at 08:39:51AM +0200, Julien Cristau wrote:
 On Sun, May 25, 2014 at 18:54:40 +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.
  
 If the upstream changes don't work please take it upstream...

Aside from the fact that those changes aren't in any upstream release
yet and the debian xinit package being one upstream release behind,
please also consider that debian/local/xserverrc is already debian
specific. So adjusting xserverrc to properly work within Debian seems
reasonable to me.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140527185150.ga9...@pluto.milchstrasse.xx



Bug#747882: systemd-logind not tracking startx sessions

2014-05-26 Thread Julien Cristau
On Sun, May 25, 2014 at 18:54:40 +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.
 
If the upstream changes don't work please take it upstream...

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#747882: systemd-logind not tracking startx sessions

2014-05-25 Thread Laurent Bigonville
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-xinitid=f9f5de58df03aae6c8a8c8231a83327d19b943a1
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-xinitid=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?

Cheers,

Laurent Bigonville


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140525185440.37f53...@fornost.bigon.be



Bug#747882: systemd-logind not tracking startx sessions

2014-05-25 Thread Michael Biebl
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-xinitid=f9f5de58df03aae6c8a8c8231a83327d19b943a1
 https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-xinitid=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


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140525172323.ga5...@pluto.milchstrasse.xx