Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use saver_xscreensaver module #48

Closed
AuditeMarlow opened this issue Oct 2, 2018 · 13 comments
Closed

Unable to use saver_xscreensaver module #48

AuditeMarlow opened this issue Oct 2, 2018 · 13 comments

Comments

@AuditeMarlow
Copy link

AuditeMarlow commented Oct 2, 2018

I'm on Arch Linux and just installed from the AUR. I've installed xscreensaver too and tried using this with xsecurelock, but ended up hearing saver_xscreensaver must be executable:

$ env XSECURELOCK_SAVER=saver_xscreensaver xsecurelock
2018-10-02T18:09:15Z 24173 xsecurelock: Executable 'saver_xscreensaver' must be executable.

What am I missing here? Running xscreensaver on my host system works just fine. Using xsecurelock without any options works just fine, too.

@AuditeMarlow
Copy link
Author

I just saw the PKGBUILD and it states version 0.5 as its build version, which is "outdated" compared to the GitHub repository. I'll try doing a GitHub build...

@languitar
Copy link

There is already a package for the stable version on AUR: https://aur.archlinux.org/packages/xsecurelock/

However, the git version automatically updates to the latest state. Just the information on the AUR website is outdated as long as I do not update the package manually.

@AuditeMarlow
Copy link
Author

Thanks @languitar for your feedback. I'll try out the stable AUR package.

Aside from that, building xsecurelock from the GitHub repository works just fine too, I suppose I was just on an outdated version. :)

@ghost
Copy link

ghost commented Dec 4, 2022

xsecurelock 1.8.0-1 is now in Arch Linux official community packages and this still does not work. I get same error: xsecurelock: Executable 'saver_xscreensaver' must be executable.

@razor-x
Copy link

razor-x commented Dec 4, 2022

Not sure which issue should be preferred (or new issue?): #126

Not sure which issue should be preferred (or new issue?): #126

xsecurelock 1.8.0-1 is now in Arch Linux official community packages and this still does not work. I get same error: xsecurelock: Executable 'saver_xscreensaver' must be executable.

@tuxy I just happened to be trying to get this to work today on Arch and had the same issue.

I can confirm that /usr/lib/xsecurelock/saver_xscreensaver does not exist in the package contents. I tried to build xsecurelock locally, and confirmed that even with xscreensaver installed, xsecurelock ./configure does not detect it and thus does not include saver_xscreensaver in the build. (I also tried to force it with a flag, and even though I was able to get saver_xscreensaver in the local package, xsecurelock was unable to use it, giving xsecurelock: No saver selected. Giving up.).

image

@sh1nryu
Copy link

sh1nryu commented Jan 10, 2023

Can confirm I am also having issues using 'saver_xscreensaver', via github install & AUR

@tuxy I just happened to be trying to get this to work today on Arch and had the same issue.

Update: @razor-x I did a re-install. Removed xsecurelock using sudo make uninstall. Then I ran the ./configure script with the additional flag --with-xscreensaver=/usr/lib/xscreensaver (reference: #126 (comment)). After make and make install, the saver_xscreensaver file was auto-generated. To test, running env XSECURELOCK_SAVER=saver_xscreensaver xsecurelock showed it as working.

If there is already a saver_xscreensaver file present within your xsecurelock folder, you can cd into that folder and sudo chmod +x saver_xscreensaver to make it an executable.

@divVerent
Copy link
Contributor

So all that happened is that the directory changed?

Is it the same across distros or do we need to autodetect from multiple directories then?

@divVerent
Copy link
Contributor

Everything works fine on Debian with this package and no changes to xsecurelock:

$ apt policy xscreensaver
xscreensaver:
  Installed: 6.02+dfsg1-2+b1
  Candidate: 6.02+dfsg1-2+b1
  Version table:
 *** 6.02+dfsg1-2+b1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
        100 /var/lib/dpkg/status

It still installs into /usr/libexec/xscreensaver though. Not sure if that's a Debian patch or still default.

@sh1nryu
Copy link

sh1nryu commented Jan 15, 2023

In that case lib vs libexec seems to depend on your installation method... For myself using a package manager (pacman) installed xscreensaver to /usr/lib/xscreensaver. Within xsecurelock's configs the referenced path is usr/libexec/xscreensaver so it makes sense that everything works fine as you mentioned.

@ghost
Copy link

ghost commented Jan 15, 2023

I no longer use xsecurelock or xscreensaver, i'm using just i3lock.

divVerent added a commit that referenced this issue Jan 16, 2023
@divVerent
Copy link
Contributor

Can anyone try if that fix works?

@walwan
Copy link

walwan commented Jan 30, 2023

yeah, I think this fix works. My build without explicitly specifying the xscreensaver location can correctly detect xscreensaver at the default location.

@spease
Copy link

spease commented Oct 14, 2023

I'm running into this issue with the current Arch Linux extra/xsecurelock 1.8.0-1 package

File list:

xsecurelock /usr/
xsecurelock /usr/bin/
xsecurelock /usr/bin/xsecurelock
xsecurelock /usr/lib/
xsecurelock /usr/lib/xsecurelock/
xsecurelock /usr/lib/xsecurelock/auth_x11
xsecurelock /usr/lib/xsecurelock/authproto_pam
xsecurelock /usr/lib/xsecurelock/dimmer
xsecurelock /usr/lib/xsecurelock/pgrp_placeholder
xsecurelock /usr/lib/xsecurelock/saver_blank
xsecurelock /usr/lib/xsecurelock/saver_mplayer
xsecurelock /usr/lib/xsecurelock/saver_mpv
xsecurelock /usr/lib/xsecurelock/saver_multiplex
xsecurelock /usr/lib/xsecurelock/until_nonidle
xsecurelock /usr/share/
xsecurelock /usr/share/doc/
xsecurelock /usr/share/doc/xsecurelock/
xsecurelock /usr/share/doc/xsecurelock/CONTRIBUTING
xsecurelock /usr/share/doc/xsecurelock/LICENSE
xsecurelock /usr/share/doc/xsecurelock/README.md
xsecurelock /usr/share/doc/xsecurelock/examples/
xsecurelock /usr/share/doc/xsecurelock/examples/saver_livestreams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants