Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My favourite thing my Ubuntu machine does is that when you wake it from sleep, it shows you the desktop as it was when you put it to sleep for a fraction of a second, then flickers a few times while it puts up a lock screen, then shows two login dialogs stacked on top of each other, one larger than the other.


My mac does that. I've not tested it on Mojave, but it did it every time without fail on High Sierra.


Tested this, my mac still does this on Mojave.


Thats probably because the lockscreen is just a fullscreen application under X11, Weyland actually understands the concept of a lockscreen and keeps things a tad more secure.

I get the same problem on Fedora, its irritating.


Not probably, lockscreen is the fullscreen app which handles all keyboard/mouse inputs itself.

And I hadn't that problem in KDE.


With KDE4 I often have to wait whilst the lockscreen is paged back out of swap.

Invariably I miss the fact that the disk-activity light is still lit, start typing my password and then become annoyed because it only caught the last few characters. So then I have to wait AGAIN whilst it proudly announces an authentication failure and punishes me with a further delay.


So your problem was a process going to swap (or not, Linux still has problems with disk i/o, especially going from hybernation, although bug #12309 is gone), rest are the consequences.


macOS does that to me too


When I open my laptop, Ubuntu wakes up, shows the desktop and then immediately blacks the screen until I move the mouse.

I got so used to that jankiness that I didn’t notice it until I was showing someone my laptop who was interested in buying the same model.


Wayland will specifically fix this. Fixing it in X has proven to be hard if not impossible.

(there are other security fixes by adopting Wayland)


what version of ubuntu are you running?

I've seen this behavior with the old 'gnome-screensaver' (which I think ubuntu hasn't used for quite a while), but with the current gnome-shell lock screen it behaves properly and doesn't black out the screen when I open my laptop.


16.04


Yep, also obviously a security (information disclosure / privacy) flaw that is quite difficult to solve apparently.



I've seen this on MacOS too.

Never seen it with Arch with https://wiki.archlinux.org/index.php/Slock mind


Same here on ubuntu with xfce. They should at least overlay something before going to sleep as a quick fix.


Like, the lockscreen, perhaps.


> when you wake it from sleep, it shows you

wow, a lucky person, Ubuntu on my Desktop never wakes up :)

// p.s.: still better than macOS/Windows for development, I just don't turn it off, that's all


#DontStopWorking


At the risk of sounding like a fanboi: try Pop!_OS (I know, the spelling is ridiculous). It's essentially Ubuntu with a bunch of those things that make it feel janky ironed out. The biggest one for me is it does a great job of managing the discrete GPU on my laptop. I've been using it for a few weeks and couldn't be happier.


I am surprised because I had this bug on my Debian setup once, but it was solved several years ago.


”it shows you the desktop as it was when you put it to sleep”

Bad idea, security-wise.


All my gnome setup always did this. I find it deeply broken


My understanding when looking back at those bugs, is that they were driver bugs where the driver lied about having committed to the back-buffer. GNOME, at least, tries to blank things and submit the right commands to ensure it's cleared before releasing the suspend lock.

But if the GPU driver is broken about command committal, then there is only so much you can do short of fixing those .


reminds me of https://url.rw/?https%3A%2F%2Fwww.jwz.org%2Fblog%2F2014%2F04... (jwz's blog doesn't like HN as a referer)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: