:: Re: [DNG] [ASCII][PATCH] startx to …
Forside
Slet denne besked
Besvar denne besked
Skribent: Dario Niedermann
Dato:  
Til: dng
Emne: Re: [DNG] [ASCII][PATCH] startx to a new tty
Il 16/09/2018 alle 10:01, Andreas Messer ha scritto:

> Well, this is not really a Devuan Problem. It is more likely related
> to session management present in most modern linux distros.

[...]
> As indicated with one of your links, this "keep-tty" stuff was introduced
> to properly handle session management. Without the X-Session from "startx"
> will considered "inactive" by session management and in turn several things
> wont work as expected. E.g. udisks based mounting of Filessystems - This
> covers for example Plug and Play use of USB-Sticks.



Hi Andreas,

if you follow the link in the patch* you can read the whole discussion
that took place at RedHat, and led to their _adding_ the 5 lines
to startx that my patch is deactivating.

In short: their addition was a kludge, 100% due to systemd: the only
thing that was causing problems for them, with the X session being seen
as "inactive", was systemd's logind component.

So, Devuan's stock startx is running code that's only there to
accommodate systemd, and causes incorrect/non-traditional behaviour
on a systemd-less OS.


* https://bugzilla.redhat.com/show_bug.cgi?id=806491

-- 
Dario Niedermann.                 Also on the Internet at:


gopher://darioniedermann.it/ <> https://www.darioniedermann.it/