https://bugs.kde.org/show_bug.cgi?id=355463

Kai Krakow <k...@kaishome.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@kaishome.de

--- Comment #29 from Kai Krakow <k...@kaishome.de> ---
(In reply to Raman Gupta from comment #11)
> (In reply to Dennis from comment #10)
> > (In reply to Damian Nowak from comment #8)
> > > Is there a remedy for that? Arch Linux forced everyone to update from KDE 
> > > 4
> > > to KDE 5, but KDE 5 is not usable because of this. Kind of stuck.
> > 
> > I have the same problem, my workaround is to just start xembedsniproxy again
> > with krunner. I have considered making systemd handling it with a service,
> > but I believe that it will be fixed soon.
> 
> Just for reference, here is my systemd user unit file:
> 
> ~ cat .config/systemd/user/xembedsniproxy.service
> [Unit]
> Description=xembed SNI proxy daemon
> 
> [Service]
> ExecStart=/usr/bin/xembedsniproxy
> Restart=on-failure
> 
> [Install]
> WantedBy=graphical.target
> 
> The "WantedBy" doesn't seem to work correctly, so it has to be started once
> manually after login:
> 
> systemctl --user start xembedsniproxy.service 
> 
> but after that systemd keeps it alive perfectly.

There is no "graphical.target" in your systemd user instance - that's why.
Simply use "default.target" - that's what gets triggered during session start.

I already asked how one can depend user services on system services in the
mailing list but got no reply yet. I need some of my user session services
depend on mysqld being ready but couldn't work out how to do that. For now,
I've fallen back to depending the system service user@.service on mysqld. But
this is irrelevant for your case - for you its just default.target with the
downside you are getting errors when loading a non-X11 session (maybe through
ssh login).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to