[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remark about some Desktop session processes



The best way I see it, is to install such units as dependencies for specific DEs, if DEs themselves can be represented as units. Stock sway and other wlroots compositors in debian do not do that.

But at least this is how I solved this situation in my wayland session manager: https://github.com/Vladimir-csp/uwsm/tree/master/example-units

On 06/12/2023 21.31, Patrice Duroux wrote:
Hi,

I have a system with both Sway and GNOME sessions available.

But if I log in using a GNOME one, I can see the process like:

patrice     3866  0.0  0.0  18824 14212 ?        Ss   19:07   0:00
/usr/bin/foot --server=3

$ apt-file search --fixed-string /usr/bin/foot
foot: /usr/bin/foot
$ apt --installed rdepends foot
foot
Reverse Depends:
   Recommande: sway
   Recommande: sway

Similarly I have the following messages in system log:

$ journalctl -S today | grep waybar
déc. 06 19:07:59 kos-moceratops systemd[2650]: Started waybar.service
- Highly customizable Wayland bar for Sway and Wlroots based
compositors..
déc. 06 19:07:59 kos-moceratops waybar[4235]: [2023-12-06
19:07:59.603] [info] Using configuration file /etc/xdg/waybar/config
déc. 06 19:07:59 kos-moceratops waybar[4235]: [2023-12-06
19:07:59.604] [info] Using CSS file /etc/xdg/waybar/style.css
déc. 06 19:07:59 kos-moceratops waybar[4235]: [2023-12-06
19:07:59.607] [error] Failed to acquire required resources.
déc. 06 19:07:59 kos-moceratops systemd[2650]: waybar.service: Main
process exited, code=exited, status=1/FAILURE
déc. 06 19:07:59 kos-moceratops systemd[2650]: waybar.service: Failed
with result 'exit-code'.
déc. 06 19:07:59 kos-moceratops systemd[2650]: waybar.service:
Scheduled restart job, restart counter is at 5.
déc. 06 19:07:59 kos-moceratops systemd[2650]: waybar.service: Start
request repeated too quickly.
déc. 06 19:07:59 kos-moceratops systemd[2650]: waybar.service: Failed
with result 'exit-code'.
déc. 06 19:07:59 kos-moceratops systemd[2650]: Failed to start
waybar.service - Highly customizable Wayland bar for Sway and Wlroots
based compositors..

(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027069)

Is there a nice way to not mix-up those session specific services?

Regards,
Patrice



Reply to: