Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #196384 > unrolled thread
| Started by | Jim Popovitch <jim@k4vqc.com> |
|---|---|
| First post | 2018-06-04 00:10 +0200 |
| Last post | 2018-06-05 04:30 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.user
Display image after resume Jim Popovitch <jim@k4vqc.com> - 2018-06-04 00:10 +0200
Re: Display image after resume Ben Caradoc-Davies <ben@transient.nz> - 2018-06-04 01:10 +0200
Re: [Debian-User] Re: Display image after resume Jim Popovitch <jimpop@domainmail.org> - 2018-06-04 07:00 +0200
Re: [Debian-User] Re: Display image after resume Ben Caradoc-Davies <ben@transient.nz> - 2018-06-05 03:10 +0200
Re: [Debian-User] Re: [Debian-User] Re: Display image after resume Jim Popovitch <jim@k4vqc.com> - 2018-06-05 04:30 +0200
| From | Jim Popovitch <jim@k4vqc.com> |
|---|---|
| Date | 2018-06-04 00:10 +0200 |
| Subject | Display image after resume |
| Message-ID | <vWJmh-CK-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
What produces the desktop image that is displayed immediately after
resuming from hibernation?
When resuming, I see the following in order:
1. the boot screen
2. a blank screen
3. the actual desktop (live or a snapshot of it)
4. the lockscreen password prompt
What I would like to do is prevent the actual desktop, or the
screenshot of it, from appearing after the system boots from
hibernation.
-Jim P.
[toc] | [next] | [standalone]
| From | Ben Caradoc-Davies <ben@transient.nz> |
|---|---|
| Date | 2018-06-04 01:10 +0200 |
| Message-ID | <vWKil-1as-1@gated-at.bofh.it> |
| In reply to | #196384 |
On 04/06/18 10:03, Jim Popovitch wrote: > What produces the desktop image that is displayed immediately after > resuming from hibernation? > When resuming, I see the following in order: > 1. the boot screen > 2. a blank screen > 3. the actual desktop (live or a snapshot of it) > 4. the lockscreen password prompt > What I would like to do is prevent the actual desktop, or the > screenshot of it, from appearing after the system boots from > hibernation. > -Jim P. - What is your desktop? - Are you using systemd? - How do you initiate hibernation? Via the desktop or via a keyboard or chassis button? - Which screen locker do you use? (e.g. light-locker or xscreensaver?) This looks like a race condition in which system is hibernated before your screen is locked. I saw this for suspend when I let systemd manage my power button. My solution was to edit/etc/systemd/logind.conf to set HandlePowerKey=ignore and to let Xfce handle locking and suspend and Xfce Power Manager / Security / "Lock screen when system is going for sleep"). I use xscreensaver. Kind regards, -- Ben Caradoc-Davies <ben@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand
[toc] | [prev] | [next] | [standalone]
| From | Jim Popovitch <jimpop@domainmail.org> |
|---|---|
| Date | 2018-06-04 07:00 +0200 |
| Subject | Re: [Debian-User] Re: Display image after resume |
| Message-ID | <vWPL3-4g8-3@gated-at.bofh.it> |
| In reply to | #196385 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Mon, 2018-06-04 at 11:07 +1200, Ben Caradoc-Davies wrote: > On 04/06/18 10:03, Jim Popovitch wrote: > > What produces the desktop image that is displayed immediately after > > resuming from hibernation? > > When resuming, I see the following in order: > > 1. the boot screen > > 2. a blank screen > > 3. the actual desktop (live or a snapshot of it) > > 4. the lockscreen password prompt > > What I would like to do is prevent the actual desktop, or the > > screenshot of it, from appearing after the system boots from > > hibernation. > > -Jim P. > > - What is your desktop? Stretch Cinnamon > - Are you using systemd? Yes, but that is not an admission of preferring systemd. ;-) > - How do you initiate hibernation? Via the desktop or via a keyboard > or chassis button? By closing the lid, it's a laptop (asus zenbook) > - Which screen locker do you use? (e.g. light-locker or > xscreensaver?) cinnamon-screensaver > This looks like a race condition in which system is hibernated > before your screen is locked. I saw this for suspend when I let > systemd manage my power button. My solution was to > edit/etc/systemd/logind.conf to set HandlePowerKey=ignore and to let > Xfce handle locking and suspend and Xfce Power Manager / Security / > "Lock screen when system is going for sleep"). I use xscreensaver. I think you're on to something. When I CTRL+ATL+L the system, and then close the lid, the post-hibernation resume works correctly (no screen leakage). Unfortunately changing the systemd login settings didn't seem to have any effect. I'm comfortable not using systemd on servers, is it just as straight forward without it on desktops/laptops? tia, - -Jim P. -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPxwe8uYBnqxkbORSJxVetMRaJwUFAlsUwmkACgkQJxVetMRa JwXDlBAAst96C+2lmfL5DVcpAz9VHfiIdMZ0N1/yHcdEIBWsO6xSzjO6It+OWtjW aDDxOGD94qhtu8gc/nGDRG+qk+cUWg9ENldsSmvkGVMdyAtPzg7is7S38wdbi8T+ rmz+wKc73nkgnLDeK57UgzciBuLcf+mqAvQA/6YIBmBVL9Ujk7peE+aQnH29JaWw 93DxdsEenV3p1DNKkyubOVoDSeanEtCpIndzGjmXME8kA8T0F2KC0z6eZBneyUX4 ocfkgUwrE7VeW6L9OlZfKhElpZkHradYZpZgXXhOOXk0HCJFfkW4KxPy6tz+9f4+ bYvkPqHG98XLfi82vXhvgtn6kDAAP9tykHo4jpaEl/OpitF6M0zsoTqH2L2DisB5 4Q9zg457ipauggnKm6h+ZTRchgpzZ4SZYbClBN4HnytVwG773L9r34LWr5kUROBX VyF767pxR4b/jt+FKQRkgNj8uF3aP2b4T3qBxSJhGKb9x0aMPa2+YEyh51Hkem1f 1+QFbmDMzM4KybluRQu+QFBKe9vkjYZ0YiZinXL9PtBi9FlRGt3u11Bhlg5ZsSa9 vIS8plUunMXvHpQM7AAqBW9rk25XwSOqEISf/cEJqLqivcDgsjzc2eEHCIycPtVe 1+/vaDieNhA4G4PAikJUHrQ5XAED4gAvEiJSKN0K9HIDL/n2ifo= =Qmxq -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Ben Caradoc-Davies <ben@transient.nz> |
|---|---|
| Date | 2018-06-05 03:10 +0200 |
| Subject | Re: [Debian-User] Re: Display image after resume |
| Message-ID | <vX8E1-7dj-3@gated-at.bofh.it> |
| In reply to | #196388 |
On 04/06/18 16:39, Jim Popovitch wrote: > On Mon, 2018-06-04 at 11:07 +1200, Ben Caradoc-Davies wrote: >> On 04/06/18 10:03, Jim Popovitch wrote: >>> What produces the desktop image that is displayed immediately after >>> resuming from hibernation? >>> When resuming, I see the following in order: >>> 1. the boot screen >>> 2. a blank screen >>> 3. the actual desktop (live or a snapshot of it) >>> 4. the lockscreen password prompt >>> What I would like to do is prevent the actual desktop, or the >>> screenshot of it, from appearing after the system boots from >>> hibernation. >> - What is your desktop? > Stretch Cinnamon >> - Are you using systemd? > Yes, but that is not an admission of preferring systemd. ;-) >> - How do you initiate hibernation? Via the desktop or via a keyboard >> or chassis button? > By closing the lid, it's a laptop (asus zenbook) >> - Which screen locker do you use? (e.g. light-locker or >> xscreensaver?) > cinnamon-screensaver >> This looks like a race condition in which system is hibernated >> before your screen is locked. I saw this for suspend when I let >> systemd manage my power button. My solution was to >> edit/etc/systemd/logind.conf to set HandlePowerKey=ignore and to let >> Xfce handle locking and suspend and Xfce Power Manager / Security / >> "Lock screen when system is going for sleep"). I use xscreensaver. > I think you're on to something. When I CTRL+ATL+L the system, and then > close the lid, the post-hibernation resume works correctly (no screen > leakage). Unfortunately changing the systemd login settings didn't > seem to have any effect. I'm comfortable not using systemd on servers, > is it just as straight forward without it on desktops/laptops? I assume that after changing logind.conf you restarted (or similar) to reload your configuration. What are your values of these logind.conf settings (commented defaults listed)?: #HandleLidSwitch=suspend #HandleLidSwitchExternalPower=suspend #HandleLidSwitchDocked=ignore I have not used it, but you might investigate xss-lock to trigger a screen lock based on a systemd hibernate event. Cinammon should do this for you, but it seems that it does not. Kind regards, -- Ben Caradoc-Davies <ben@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand
[toc] | [prev] | [next] | [standalone]
| From | Jim Popovitch <jim@k4vqc.com> |
|---|---|
| Date | 2018-06-05 04:30 +0200 |
| Subject | Re: [Debian-User] Re: [Debian-User] Re: Display image after resume |
| Message-ID | <vX9Tr-80c-3@gated-at.bofh.it> |
| In reply to | #196412 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, 2018-06-05 at 13:06 +1200, Ben Caradoc-Davies wrote: > On 04/06/18 16:39, Jim Popovitch wrote: > > On Mon, 2018-06-04 at 11:07 +1200, Ben Caradoc-Davies wrote: > > > On 04/06/18 10:03, Jim Popovitch wrote: > > > > What produces the desktop image that is displayed immediately > > > > after > > > > resuming from hibernation? > > > > When resuming, I see the following in order: > > > > 1. the boot screen > > > > 2. a blank screen > > > > 3. the actual desktop (live or a snapshot of it) > > > > 4. the lockscreen password prompt > > > > What I would like to do is prevent the actual desktop, or the > > > > screenshot of it, from appearing after the system boots from > > > > hibernation. > > > > > > - What is your desktop? > > > > Stretch Cinnamon > > > - Are you using systemd? > > > > Yes, but that is not an admission of preferring systemd. ;-) > > > - How do you initiate hibernation? Via the desktop or via a > > > keyboard > > > or chassis button? > > > > By closing the lid, it's a laptop (asus zenbook) > > > - Which screen locker do you use? (e.g. light-locker or > > > xscreensaver?) > > > > cinnamon-screensaver > > > This looks like a race condition in which system is hibernated > > > before your screen is locked. I saw this for suspend when I let > > > systemd manage my power button. My solution was to > > > edit/etc/systemd/logind.conf to set HandlePowerKey=ignore and to > > > let > > > Xfce handle locking and suspend and Xfce Power Manager / Security > > > / > > > "Lock screen when system is going for sleep"). I use > > > xscreensaver. > > > > I think you're on to something. When I CTRL+ATL+L the system, and > > then > > close the lid, the post-hibernation resume works correctly (no > > screen > > leakage). Unfortunately changing the systemd login settings didn't > > seem to have any effect. I'm comfortable not using systemd on > > servers, > > is it just as straight forward without it on desktops/laptops? > > I assume that after changing logind.conf you restarted (or similar) > to reload your configuration. Yes. I tried reloading systemd, and then tried rebooting. > > What are your values of these logind.conf settings (commented > defaults > listed)?: > > #HandleLidSwitch=suspend > #HandleLidSwitchExternalPower=suspend > #HandleLidSwitchDocked=ignore Everything in my default logind.conf file was commented out. Based on your feedback I set these keys+vals but the desktop leakage still occurs. :-( HandlePowerKey=ignore HandleLidSwitch=ignore HandleLidSwitchDocked=ignore HandleLidSwitchExternalPower=ignore > I have not used it, but you might investigate xss-lock to trigger a > screen lock based on a systemd hibernate event. Cinammon should do > this for you, but it seems that it does not. Thanks, I'll try xss-lock and look into filing a cinnamon bug. Thanks for the help with this. -Jim P.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web