Bug#1012840: xscreensaver-systemd doesn't exit at end of Xfce session

2022-06-26 Thread Jamie Zawinski
On Jun 26, 2022, at 5:43 AM, Sergio Gelato  wrote:
> 
>> Huh. Well, xscreensaver-systemd calls XOpenDisplay specifically to make this 
>> happen
> 
> I see that there is code to that effect in version 6.04 (it seems to have 
> first appeared in 6.00, although I see no mention of it on the What's New 
> page), but (as indicated on the Version: line) this bug report is against the 
> version in Debian stable (5.45). I take it that you would suggest backporting 
> a newer version (6.02 is in Debian testing) or cherry-picking the change?

Oh, for fuck's sake, this is why I have, for years now, requested that Debian 
simply *stop shipping XScreenSaver*. I am so sick to death of this continuous 
bullshit of "well, there's a bug in your software from two years and six 
releases ago."

To Debian as a whole, please, I beg of you, stop wasting my fucking time with 
this bullshit.

To Sergio: before you submit a bug report in anything, UPGRADE. Not to the 
version that some slacking upstream asshat has made easily available to you, 
but to the ACTUAL LATEST VERSION.

https://www.jwz.org/blog/2016/04/i-would-like-debian-to-stop-shipping-xscreensaver/

-- 
Jamie Zawinski • jwz.org • dnalounge.com



Bug#1012840: xscreensaver-systemd doesn't exit at end of Xfce session

2022-06-26 Thread Jamie Zawinski
On Jun 26, 2022, at 1:59 AM, Sergio Gelato  wrote:
> 
>> The display connection that both xscreensaver and xscreensaver-systemd have 
>> open will close with SIGPIPE.
> 
> This does not match my observations. xscreensaver does appear to have a 
> connection to the X server, but xscreensaver-systemd does not. (It seems to 
> have connections to DBus instead.)

Huh. Well, xscreensaver-systemd calls XOpenDisplay specifically to make this 
happen, and when I run xscreensaver-systemd and then kill the X server, I get 
this:

# ./xscreensaver-systemd -v
xscreensaver-systemd: 02:07:08: registered as "org.jwz.XScreenSaver"
xscreensaver-systemd: 02:07:08: registered as "org.freedesktop.ScreenSaver"
xscreensaver-systemd: 02:07:08: "org.gnome.SessionManager" not in use
xscreensaver-systemd: 02:07:08: "org.kde.Solid.PowerManagement.PolicyAgent" not 
in use

[ kill server ]

xscreensaver-systemd: 02:07:26: X connection closed
Exit 1


-- 
Jamie Zawinski • jwz.org • dnalounge.com



Bug#1012840: xscreensaver-systemd doesn't exit at end of Xfce session

2022-06-15 Thread Jamie Zawinski
I don't see how this is possible. When the user logs out, the X server exits. 
The display connection that both xscreensaver and xscreensaver-systemd have 
open will close with SIGPIPE.

Send logs.

-- 
Jamie Zawinski • jwz.org • dnalounge.com