You are not logged in.
Hi,
I installed Arch a few days ago and I'm using gnome-flashback.
I can't lock my screen.
I can leave the computer idling for a lot of time, hit Ctrl Alt L or Super L and it won't lock the screen. Even if I click "Lock screen" from the user menu on top right corner, nothing happens.
I checked on gnome settings > privacy > lock screen is activated.
How can I fix that?
Thanks
Last edited by rufus_lenhador (2017-11-07 01:06:46)
Offline
Do the logs / jounal show anything when you try to lock the screen?
Offline
Can you tell me where those logs are?
I'm quite new to Arch. I'm used to /var/log/syslog (doesn't exist).
The files at /var/log seem to be binary.
Offline
Offline
Thanks!
Yeah, there is something related:
nov 06 21:20:44 gnome-panel[741]: Could not ask screensaver to lock: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.ScreenSaver was not provided by any .service files
Should I install xscreensaver, gnome-screensaver or another?
Offline
gnome-screensaver is the one meant for gnome, so that might solve your problem. I have no idea if xscreensaver works with gnome, since i don't use either.
Offline
See Optional Deps in "pacman -Si gnome-flashback" command output.
If you don't know how optional dependencies work on arch, see explanation here: https://wiki.archlinux.org/index.php/Pa … g_packages
Last edited by ooo (2017-11-07 00:44:48)
Offline
Thanks! Installed gnome-screensaver and now Super + L is locking my screen :-)
So I can list the optional deps, but not install them automatically. Curiously, the gnome-screensaver was the only one missing.
Offline
They are optional; if they were installed automatically that would make them depends.
Offline
I mean there's no way to say "install all the opt deps of this package".
Offline
Well, you could do it, but why would you want to? The whole point of Arch is to think about what you are installing.
Offline
AFAIK, there's no command, or pacman option to install package with all of it's optional dependencies though, but you'd have to install each optdeps like any other package.
You should also take a note of pacman's "--asdeps" option when installing optional dependencies, to keep your local pacman database in shape.
Offline
AFAIK, there's no command, or pacman option to install package with all of it's optional dependencies though
pacman -S $(expac -S "%n %o" $package)
Offline
Hey! I installed the gnome-screensaver. The journalctl now reads:
Couldn't lock screen: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
What is the possible work-around?
I skimmed through the wiki
Offline
Hey! I installed the gnome-screensaver. The journalctl now reads:
Couldn't lock screen: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flagWhat is the possible work-around?
Okay fixed it... This forum said that it supports gdm: https://bugzilla.redhat.com/show_bug.cgi?id=1558740
Earlier, I had lightdm enabled. I installed gdm and enabled it while disabling lightdm, And boom! It works now.
I skimmed through the wiki
Offline
I removed the package-screensaver since it not necessary any more apprently
ran dconf and went to org.gnome.desktop.lockdown and set the key disable-lock-screen to [false] I don't know why it was set to true
Problem solved I can now press Super + L and the screen lock right away.
Offline