You are not logged in.
I installed xscreensaver, and then ran `systemctl --user enable xscreensaver`.
After every boot it fails to start, but then manually running `systemctl --user start xscreensaver` works.
I’m not sure how to debug whats going on. Any help?
Thanks.
Offline
Fails to start is not an error message: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
systemctl --user status xscreensaver
zsh: correct 'xscreensaver' to '.xscreensaver' [nyae]? n
● xscreensaver.service - XScreenSaver
Loaded: loaded (/home/jonny/.config/systemd/user/xscreensaver.service; enabled; vendor preset: en
Active: failed (Result: exit-code) since Mon 2017-07-03 09:30:32 BST; 19min ago
Process: 1214 ExecStart=/usr/bin/xscreensaver -nosplash (code=exited, status=1/FAILURE)
Main PID: 1214 (code=exited, status=1/FAILURE)
Jul 03 09:30:32 jonny-arch systemd[1208]: Started XScreenSaver.
Jul 03 09:30:32 jonny-arch systemd[1208]: xscreensaver.service: Main process exited, code=exited, st
Jul 03 09:30:32 jonny-arch systemd[1208]: xscreensaver.service: Unit entered failed state.
Jul 03 09:30:32 jonny-arch systemd[1208]: xscreensaver.service: Failed with result 'exit-code'.Where might there be a more detailed log?
Offline
-nosplash
man xscreensaverOffline
I’ve removed the `-nosplash` flag and it still fails?
Offline
I’ve removed the `-nosplash` flag and it still fails?
Have you read the man page?
In that case you might fint the error in previous post.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
xscreensaver actually also handles "-nosplash" (undocumented, but just tried)
I'd say the service thus lacks some other aspects - notably https://wiki.archlinux.org/index.php/Sy … XAUTHORITY
Otherwise please post the the actual sevice file and how you log in / start X11.
Offline
I thought I’d got it fixed adding a log option, but on reboot it failed to load again, and seems to have added nothing to the log.
Here’s my service file:
# ~/.config/systemd/user/xscreensaver.service
[Unit]
Description=XScreenSaver
[Service]
ExecStart=/usr/bin/xscreensaver -log /home/jonny/.xscreensaver.log
[Install]
WantedBy=default.targetI’m using GNOME and just logging in with gdm and letting that start X11.
Offline
-log /home/jonny/.xscreensaver.logDid you look at that?
And does "loginctl session-status" indicate that this is actually an X11 session (and xscreensaver doesn't run on xwayland)?
Offline
-log /home/jonny/.xscreensaver.logDid you look at that?
And does "loginctl session-status" indicate that this is actually an X11 session (and xscreensaver doesn't run on xwayland)?
That log file only has one entry from when I first edited the service file:
##########################################################################
xscreensaver: 13:59:36: logging to "/home/jonny/.xscreensaver.log" at Wed Jul 5 13:59:36 2017
##########################################################################Every reboot since hasn’t even managed to add a new entry to sed log file before xscreensaver fails.
`loginctl session-status c2` includes the line "Service: gdm-password; type x11; class user"
Offline