Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #210181
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Unreliable systemd user service |
| Date | 2019-06-21 09:50 +0200 |
| Message-ID | <ybmt3-1cJ-5@gated-at.bofh.it> (permalink) |
| References | <ybeFb-4QJ-1@gated-at.bofh.it> <yblx0-DL-1@gated-at.bofh.it> <yblQl-ZB-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 6/21/2019 8:50 AM, Aidan Gauland wrote: > On 21/06/19 6:25 PM, Ansgar Burchardt wrote: >> Aidan Gauland writes: >>> I have a user service for running xautolock that does not start on login >>> reliably, and I have no idea why, because there is no error message, >>> just an exit code of 1. (Unit file and output of systemctl status >>> attached.) Any suggestions on what to do next to troubleshoot this? >> I would guess `xautolock` might be started before X is >> running/accessible by your user. >> >> Does the journal contain any useful log messages? Note that there is a >> race condition that some messages might not be logged as part of the >> user service[1], so you might have to check all log messages and cannot >> rely on journalctl's `--user-unit` option. > > Nope, absolutely nothing in the logs. > > Someone else suggested running xautolock from my .xsessionrc script so > that it is always run after X is running, and that seems to work. I > wanted to run this via systemd because that's easier to restart after > making tweaks than something run as part of a startup script, but I have > not been able to find any mechanism to delay starting a /user/ service > until the graphical login is ready. > Is it always working if you run the command manually? -- John Doe
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-21 01:30 +0200
Re: Unreliable systemd user service Ansgar Burchardt <"\<script\>alert\('Ohhai'\)\<\/script\>"@43-1.org> - 2019-06-21 08:50 +0200
Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-21 09:10 +0200
Re: Unreliable systemd user service john doe <johndoe65534@mail.com> - 2019-06-21 09:50 +0200
Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-22 00:30 +0200
Re: Unreliable systemd user service Jonathan Dowland <jmtd@debian.org> - 2019-06-21 11:00 +0200
Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-22 00:40 +0200
Re: Unreliable systemd user service Michael Biebl <biebl@debian.org> - 2019-06-24 18:10 +0200
Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-25 03:50 +0200
csiph-web