These days GDM on Debian is running using Wayland, so the classic way of taking a screenshot using the X protocol does not work:
# Sleeping before launching the command allows to switch to the login screen
# before the screen gets actually captured.
#
# Otherwise if the login screen is not visible, only a black image will be
# captured.
sleep 6
sudo -u Debian-gdm\
DISPLAY=:0 \
XAUTHORITY=/var/run/user/109/gdm/Xauthority \
import -display :0 -win root /tmp/GDM-screenshot.png"
Commenti recenti
23 settimane 3 giorni fa
38 settimane 12 min fa
38 settimane 14 min fa
38 settimane 2 ore fa
1 anno 2 settimane fa
1 anno 6 settimane fa
1 anno 6 settimane fa
1 anno 6 settimane fa
2 anni 16 settimane fa
2 anni 20 settimane fa