Open ulysg opened 4 days ago
What does the unit file look like?
I've used the one from the resources so:
[Unit]
Description=Xwayland outside your Wayland
BindsTo=graphical-session.target
PartOf=graphical-session.target
After=graphical-session.target
Requisite=graphical-session.target
[Service]
Type=notify
NotifyAccess=all
ExecStart=/usr/bin/xwayland-satellite
StandardOutput=journal
Restart=on-failure
[Install]
WantedBy=graphical-session.target
I don't know anything about Copr but looking here: https://copr-dist-git.fedorainfracloud.org/cgit/ulysg/xwayland-satellite/xwayland-satellite.git/tree/xwayland-satellite.spec?h=f41#n30
This needs to be a capital F: %cargo_build -F systemd
Thanks for your quick answer! I thought of that too, but actually, the -f gets transformed by the macro to --features, and in the build log, the feature is passed to cargo.
Hm, I'm not sure then. Perhaps there's some kind of IO error when satellite tries to communicate with systemd - there's no kind of error handling for that currently...
I see, thanks a lot for your help and this awesome tool
I just pushed a change to log whether or not the systemd notification was successful, may be useful for you.
I'll look into it, thanks!
Hey,
I'm trying to add this program to the Fedora Copr, so it's easier to install.
I've recently added the systemd unit in the package, and added the systemd feature to the cargo build. But the xwayland-satellite service fails after a few seconds. If I remove the "Type=notify" from the service, everything works fine.
I'm not sure what I'm doing wrong, if you could help me!
The build uses the last release (v0.5).
Here's the log from systemctl: