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

Disable xfce4 screensaver rather than light-locker (add user docs) #2128

Merged
merged 13 commits into from
Aug 15, 2024
Merged
13 changes: 8 additions & 5 deletions data_safe_haven/resources/workspace/ansible/desired_state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,14 @@
dest: /etc/xdg/xfce4/terminal/
mode: '0444'

- name: Disable light locker (screen lock)
ansible.builtin.copy:
content: "Hidden=true"
dest: /etc/xdg/autostart/light-locker.desktop
mode: '0644'
# This doesn't work
# Possibly a bug in xfce4 < 4.18
# https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/55
- name: Disable xfce4 screen saver (screen lock)
ansible.builtin.lineinfile:
path: /etc/xdg/autostart/xfce4-screensaver.desktop
line: 'Hidden=true'
state: present

- name: Use a blank screensaver
ansible.builtin.lineinfile:
Expand Down
22 changes: 22 additions & 0 deletions docs/source/roles/researcher/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,28 @@ Either log into that workspace and close Firefox, or follow the instructions [he
Your profile is likely stored under **~/snap/firefox/common/.mozilla/firefox**.
:::

## {{zzz}} Idle screen lock

By default, the Xfce desktop will enter a screensaver and lock the screen after idling for five minutes.
This will require entering your password to unlock and is in addition to authenticating with Guacamole and the lock screen on your own computer.

You can disable the Xfce lock screen if you find it is unnecessary and slows your work.

:::{admonition} Disabling the lock screen
:class: dropdown note

- First, open Screensaver Preferences by either:
- navigating to **{menuselection}`Applications --> Settings --> Screensaver Preferences`**
- or running `xfce4-screensaver-preferences` on the command line.
- On the **Screensaver** tab you can disable the screensaver using the **Enable Screensaver** toggle.
- Alternatively, you can navigate to the **Lock Screen** tab to:
- disable the lock screen with the **Enable Lock Screen** toggle
- and/or disable locking when the screensaver runs with the **Lock Screen with Screensaver** toggle

:::

More information can be found in the [Xfce documentation](https://docs.xfce.org/apps/xfce4-screensaver/start).

### {{construction_worker}} Support for users

If you encounter problems while using the Data Safe Haven:
Expand Down
Loading