Comments (6)
@SebTM same here on bspwm. I did run -u
with an image. betterlockscreen --lock
works perfectly fine, show image and no dunst errors.
After I suspend, I am immediately shown lockscreen (without an image), then computer suspends. After unsuspending - no lockscreen.
Same 2 errors as op has.
from betterlockscreen.
What desktop or window-manager are you using?
Sounds like some kind of wrong / missing system-configuration or environment context for Betterlockscreen (https://bbs.archlinux.org/viewtopic.php?id=217281)
Also you are running into failsafe so you should run the update-command before and check your config.
from betterlockscreen.
This solution didn't help. Probably because lightdm Xsession wrapper already does that
from betterlockscreen.
Could you maybe retry it with the current state of the next
branch?
from betterlockscreen.
I have the same issue, I tried the next
branch and seem to get a different error now.
○ [email protected] - Lock screen when going to sleep/suspend
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; preset: disabled)
Active: inactive (dead)
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370749]: Failed to open connection to "session" message bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370747]: Failed to communicate with dunst, is it running? Or maybe the version is outdated. You can try 'dunstctl debug' as a next debugging step.
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370735]: [B] Betterlockscreen
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370735]: [*] Running prelock...
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370735]: [*] Locking screen... (FAILSAFE MODE)
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370751]: Authorization required, but no authorization protocol specified
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370751]: i3lock: Could not connect to X11, maybe you need to set DISPLAY?
Jan 20 11:23:53 sim-15p-arch betterlockscreen[370735]: [*] Running postlock...
Jan 20 11:23:54 sim-15p-arch systemd[1]: [email protected]: Deactivated successfully.
Jan 20 11:23:54 sim-15p-arch systemd[1]: Started Lock screen when going to sleep/suspend.
Betterlockscreen version:
v4.0.3.r44.g5cb876d-1
> betterlockscreen -v
Betterlockscreen: version: v4.0.4 (dunst: true, feh: true)
i3lock: version 2.13.c.4 © 2010 Michael Stapelberg, © 2015 Cassandra Fox, © 2021 Raymond Li
Version: ImageMagick 7.1.0-57 (Beta) Q16-HDRI x86_64 20701 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP(4.5)
Delegates (built-in): bzlib cairo djvu fontconfig freetype heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png raqm raw rsvg tiff webp wmf x xml zip zlib
Compiler: gcc (12.2)
dunst version: 1.9.0
feh version 3.9.1
Compile-time switches: curl exif inotify help magic stat64 verscmp xinerama
[B] Betterlockscreen
the DISPLAY
variable is correctly set to :0
and betterlockscreen -l
locks the screen just fine.
I use startx (but the xauthority
file is in /run/user/<uid>/Xauthority
, set via the XAUTHORITY
environment variable) + bspwm + dunst on arch linux (betterlockscreen-git
modified to use the next
branch), dunstctl
commands work normally.
from betterlockscreen.
Hi! I have the same issue. Is there any update on it? Btw, worked perfectly on betterlockscreen AUR, but not with betterlockscreen/next
UPDATE: AwesomeWM DM with no dunst installed; login manager is SDDM (if it'll help)
UPDATE2: Looks like betterlockscreen-git AUR version has these errors in the sudo systemctl status betterlockscreen@$USER
, but works anyway (i.e. locks on suspend)
from betterlockscreen.
Related Issues (20)
- Change keyboard layout in lockscreen / show virtual keyboard
- Betterlockscreen not triggering on suspend HOT 8
- lockscreen and wallpaper does not work when home folder path has spaces HOT 1
- not working on fedora HOT 1
- Using default configuration file does not seem to work HOT 2
- Dunst notifications are not paused as postlock directly executes HOT 17
- Custom arguments to i3lock-color do not work. HOT 2
- Doesn't seem to work anymore on suspend / sleep after latest update HOT 9
- Loginbox too small on HiDPI displays HOT 1
- $DISPLAY keeps changing HOT 4
- Issue with systemd / suspend HOT 8
- Make betterlockscreen blur the image on suspend HOT 2
- Worng password no matter what I input HOT 2
- Corner radius for information box
- suspend service is not working as there is no [email protected] file in the system HOT 2
- No wallpaper shown when running betterlockscreen HOT 1
- Cant get suspend or hibernate working on NixOS HOT 1
- Cannot use file names containing braces as input.
- Unable to update image cache using -u HOT 2
- the box background rectangle is drawn on all screens
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterlockscreen.