From: William via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Re: Cannot lock screen in lxqt desktop
Date: Tue, 05 Mar 2024 14:09:18 +0000 [thread overview]
Message-ID: <EBF8CCA6-1641-4099-B50A-68E4453653EB@fedora.email> (raw)
In-Reply-To: <05a15b04-bdd3-c8ae-efe8-f1d51f79889c@gmail.com>
Hello again.
Did you install xscreensaver on your user Guix profile too? If not try it. Also try invoking xdg-screensaver from a terminal, it may print more useful info about why it's failing to run the screenlocker program, like which locker exactly is trying to run.
On 5 March 2024 11:52:44 UTC, Reza Housseini <reza.housseini@gmail.com> wrote:
>Hi William
>
>Thanks for your response!
>
>> Did you add the boolean value to enable a PAM entry and disable the
>> setuid entry? Screenlockers usually refuse or complain when started with
>> setuid due to security.
>
>I tried your suggestion but with no avail.
>
>> Also xdg-screensaver is a frontend that is part of the xdg-utils
>> package. As far as I know, this program is only compatible with
>> xscreensaver or xautolock, you should try defining one of these
>> two on the screen-locker-service-type, not xdg-screensaver, and see if
>> it works.
>>
>> Example:
>>
>> ```
>> (service screen-locker-service-type
>> (screen-locker-configuration
>> (name "xscreensaver")
>> (program (file-append xscreensaver
>> "/bin/xscreensaver")) (using-pam? #t)
>> (using-setuid? #f)))
>> ```
>>
>
>I tested it with xautolock but no luck either. I get the same error about screensaver/locker not installed. After a while my screen gets black without locking. Moving the mouse returns the display. As I understood xdg-utils is installed along the lxqt desktop, but I wonder why the "Lock screen" button is not working therefore. Installing xautolock in my home profile did also not resolve my problem.
>
>Best,
>Reza
prev parent reply other threads:[~2024-03-05 14:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 10:28 Cannot lock screen in lxqt desktop Reza Housseini
2024-03-02 23:59 ` William
2024-03-05 11:52 ` Reza Housseini
2024-03-05 13:08 ` Andreas Enge
2024-03-05 14:09 ` William via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EBF8CCA6-1641-4099-B50A-68E4453653EB@fedora.email \
--to=help-guix@gnu.org \
--cc=willbilly@fedora.email \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).