[systemd-devel] systemd --user broken

Kay Sievers kay at vrfy.org
Sat Jul 27 11:10:39 PDT 2013


On Sat, Jul 27, 2013 at 8:03 PM, Oleksii Shevchuk <alxchk at gmail.com> wrote:
>> For most other things: there are actually very few things that should
>> use the environment as a data store and to pass around
>> config/policy/runtime information; it's just a too broken and static
>> model that should no be used in this century.
>
> Probably yes. But who and when will reimplement all the stuff?

Its should be rather trivial changes, nothing in the sense of like
re-implementations.

> Ok,
> active session detection can be easily changed within systemd/logind
> (probably) to active user detection, but what about DISPLAY= (the
> problem of selecting default console for new instances)?

It's a symlink, which X should read:
  $ ls -l $XDG_RUNTIME_DIR/X11-display
  lrwxrwxrwx 1 root root 17 Jul 27 15:39 /run/user/2702/X11-display ->
/tmp/.X11-unix/X0

We will very unlikely support multiple graphical logins of the same
user at the same time, in any default setup. Custom setups or setups
which declare that as supported will need to add their own logic to
make that possible.

Kay


More information about the systemd-devel mailing list