[systemd-devel] Graphical session targets as standard
Ryan Gonzalez
rymg19 at gmail.com
Thu Jul 5 21:09:00 UTC 2018
On Thu, Jul 5, 2018 at 3:34 PM Alberto Salvia Novella <es20490446e at gmail.com>
wrote:
> --- THE REAL QUESTIONS ---
>
> The questions here are:
>
> - Why is the graphical-session targets inactive by default on my system?
> - How should a unit part of the graphical session be started?
>
>
This was sort of explained previously, but to rephrase it a bit: it seems
that graphical-session.target is a sort of "proxy" for the main session,
primarily for window manager authors?
>
> --- TOO IMPLICIT ---
>
> You have to know that I'm helping someone else getting their daemon
> running on SystemD. As even when he
> <https://github.com/agalakhov/xiccd/issues/20> has long experience coding
> in Linux, he hasn't been able to figure it out himself.
>
>
*cough cough* systemd *cough cough* Also, that doesn't seem to be a case
where there was really any confusion?
That being said, what you're really looking for (using systemd user
services as a replacement for XDG autostart) is going to be coming soon:
https://blogs.gnome.org/laney/2018/06/26/starting-sessions-with-systemd/
> Take it as a warn that the SystemD operation, even when simple, isn't
> explicit enough.
>
> Also the units manual
> <https://www.freedesktop.org/software/systemd/man/systemd.unit.html> is
> very descriptive, but not very practical. For example the "Section Options"
> is somehow confusing. It would be better typed in a more schematic way,
> rather than in a paragraph.
>
>
Why did you start with the man pages, though? 🤔 They're intended to be
used as a reference manual, not an introduction. For that, you should see
the systemd for Administrators blog series:
https://www.freedesktop.org/wiki/Software/systemd/#thesystemdforadministratorsblogseries
> It should start with the simplest user cases, and compose on them. It
> should serve the goal, not the taxonomy.
>
>
> --- CONCLUSION ---
>
> I can talk with whoever is needed to have these things working smoothly,
> but I need to know what's the missing piece of the puzzle: why these
> targets are staying inactive. Because nobody except you seems to know.
>
> Otherwise we could only but assume that graphical-session targets are a
> joke, and start using the default target for graphical services.
>
>
> [image: Alberto] <https://es20490446e.wordpress.com>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180705/276cf28e/attachment.html>
More information about the systemd-devel
mailing list