On Wed, Jun 27, 2018, 01:11 Alberto Salvia Novella <es20490446e at gmail.com> wrote: > I'm writing a SystemD service for a daemon that it only works in user > mode. Its name is Xiccd <https://github.com/agalakhov/xiccd/issues/20>. > > The problem Iâ??m having is that either I can enable the service as system > wide, or per user. But I cannot enable it in user mode for all users, only > user by user. > > I just liked the daemon to be started like XDG Autostart does, but with > the extra capabilities of SystemD. The point is that I have found no way to > do that, neither in the documentation online or by asking people. > Note that systemd --user with the suggested default.target is *not* the same as XDG Autostart: instead of starting for every graphical session, units in this target start *before* the session (i.e. before X11 exists) and a single instance of the service is shared across all sessions (graphical, console, SSH...) It is not uncommon to start graphical session components from systemd --user, but default.target is not suitable for that. (There currently isn't a standard .target that'd be suitable; it would need to be launched *by* the graphical session manager, so until they all are taught about systemd...) -- Mantas MikulÄ?nas -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180627/4038c9db/attachment.html>