1

OS: Arch Linux (systemd) UI: LXDM logging in to Openbox.

I have the following in my /etc/lxdm/PostLogin:

/usr/bin/xscreensaver -no-splash -verbose -log /var/log/xscreensaver.log -display :0.0 &

It doesn't start xscreensaver. I've tried variations on the command, with /usr/bin, without, with -display, without, without -verbose... Nothing. No log messages, nothing on dmesg, nothing.

If I run xscreensaver daemon after login, it works, but that's a hassle for something that should work just fine. Yes, the same autostarting file does get my batti and nm-applet working fine, so it's not the file, it's the program, crashing. How do I stop it from crashing?

Any advice?

Edit:

$ which xscreensaver
/usr/bin/xscreensaver

1 Answers1

3

Turns out /var/log/xscreensaver.log was the problem: it could not be written to for ownership conflicts. I had set it as a log in .Xresources, so the problem was not obvious.