greeter icon indicating copy to clipboard operation
greeter copied to clipboard

After waking up, the desktop is visible for a short period before OS locks

Open cshaa opened this issue 5 years ago • 18 comments

Prerequisites

  • [x] I have searched open and closed issues for duplicates.

Describe the bug

Occasionally, it takes some time before greeter shows up after waking up the computer. Before that, it is possible to control the desktop.

This doesn't happen every time – I tried to reproduce it to take a video right now, and I couldn't. However, it happened to me cca. five times over the last week.

To Reproduce

Steps to reproduce the behavior:

  1. Put the computer to sleep mode
  2. Wake it up
  3. Sometimes, the desktop shows up, with all the applications that are opened
  4. If you're lucky, you can do an action (eg. close an window) without unlocking
  5. After a short period (≈1 sec), the greeter shows up, requesting the password

Expected behavior

After waking up from sleep, no action should be possible without knowing the password.

Screenshots or screen recordings

Not yet, sadly.

Platform Information

image

  • [x] I'm using the latest released stable version

cshaa avatar Jan 05 '20 11:01 cshaa

I experience this for a long time, possibly since Loki..

janxkoci avatar Mar 20 '20 16:03 janxkoci

I experience the same behavior on my Dell XPS 13 9360.

Information from screenfetch: OS: elementary OS 5.1.7 hera Kernel: x86_64 Linux 5.4.0-47-generic Uptime: 4d 5h 10m Packages: 1944 Shell: bash 4.4.20 Resolution: 1920x1080 DE: GNOME WM: Mutter(Gala) WM Theme: elementary GTK Theme: elementary [GTK2/3] Icon Theme: elementary Font: Open Sans 9 CPU: Intel Core i5-7200U @ 4x 3.1GHz GPU: i915drmfb RAM: 1331MiB / 7689MiB

GPhMorin avatar Sep 25 '20 20:09 GPhMorin

Here is an (admittedly bad) video of the issue: https://www.youtube.com/watch?v=vDaCoecu7Gc

GPhMorin avatar Sep 25 '20 20:09 GPhMorin

This issue occurs for me on the latest odin daily on an intel laptop with 1135g7 cpu and iris xe igpu.

vjr avatar Mar 29 '21 13:03 vjr

Upstream bug: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1532508

This has been open for a very long time.

@cassidyjames and @danirabbit, Is there anything elementary can do about this security issue? It's still reproducible on Odin.

o-alquimista avatar Aug 12 '21 16:08 o-alquimista

Is elementary OS still using LightDM? I think there was a switch to different tech so the bug report probably doesn't apply any more. Although people there also mention Ubuntu GNOME and Xubuntu...

Edit: I've personally never had this issue with Unity, GNOME, nor Xubuntu. Only on elementary since around Loki.

janxkoci avatar Aug 17 '21 13:08 janxkoci

BTW this is an odd issue I experience on two older laptops, but almost never on a new Slimbook that I bought with elementary OS preinstalled. I say almost because it happened once after I accidentally closed the laptop lid with earphones cable inside - that was the only time I've seen my desktop before the greeter kicked in.

All machines are with Intel chips and GPUs.

janxkoci avatar Aug 17 '21 13:08 janxkoci

Is elementary OS still using LightDM? I think there was a switch to different tech so the bug report probably doesn't apply any more. Although people there also mention Ubuntu GNOME and Xubuntu...

Yes, you can see it in the description of this repository:

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM

o-alquimista avatar Aug 17 '21 13:08 o-alquimista

I can reproduce this every time I suspend the computer and then wake it up. The desktop is visible for one second or two before the greeter is displayed.

  • Dekstop (no lid)
  • eOS 6 stable
  • Linux 5.11.0-27-generic
  • AMD Ryzen 9 3900XT
  • AMD Radeon RX570
  • 64GB RAM
  • 3 screens: 1920x1080 + 2560x1440 (primary) + 1920x1080

image

Akryum avatar Aug 22 '21 12:08 Akryum

Here is a video of what happens every time I wake the computer: https://photos.app.goo.gl/dcgj1Z27X6uXYury7

Akryum avatar Aug 22 '21 12:08 Akryum

This persists on my hardware on Odin. For me it shows the desktop for up to 2 seconds, usually 1, before it flips back to the lock screen. Perhaps it's a specs/optimization issue according to what @janxkoci said, as my hardware is aggressively middle-of-the-road :) My specs are: settings2 settings1 Anyone know a good place to look for logs related to sleep/wake processes?

kmandarin-orange avatar Sep 02 '21 20:09 kmandarin-orange

Perhaps it's a specs/optimization issue according to what @janxkoci said, as my hardware is aggressively middle-of-the-road :)

An AMD Ryzen 9 3900XT with 64GB of RAM wouldn't be what I call middle-of-the-road and I still have the issue :sweat_smile:

Akryum avatar Sep 03 '21 10:09 Akryum

Same behavior in EOS 6.1 stable on Lenovo Y580 single-screen setup with Intel+Nvidia GPU. Not critical, but annoying.

pridumkuvatyj avatar Jan 25 '22 00:01 pridumkuvatyj

Still reproducible on elementary 7 Horus. @danirabbit help please

o-alquimista avatar Feb 05 '23 20:02 o-alquimista

Xfce is fixing this on their xfce4-screensaver:

https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/53#note_83265

o-alquimista avatar Dec 27 '23 19:12 o-alquimista

@o-alquimista AFAIK this bug is present in all x11 DEs because it's 20 years old X server bug. I doubt xfce developers can fix it in their screensaver alone, but I'll keep an eye on the issue you linked.

lenemter avatar Dec 28 '23 03:12 lenemter

AFAIK this bug is present in all x11 DEs

I only see it in elementary OS, and only in the last few versions (I'd say after Loki or maybe after Juno/Hera). My other laptop with Ubuntu MATE definitely doesn't suffer from this issue, and neither did all the other DEs I've tried over the years.

Edit: apparently I've already said most of that in older comments above, sorry.

janxkoci avatar Dec 28 '23 13:12 janxkoci