Ubuntu 14.04 [pre-release]: security problem in the lock screen
bugs.launchpad.net
bugs.launchpad.net
Once they fix all embarassing bugs, they'll simply throw everything away and start rewriting everything from scratch again. The main reason Linux desktop is dead is because Linux desktop developers treat it like the latest fashion fad instead of a commercial product you have to live off and be responsible for.
Something tells me this kind of reasoning does not stop Ubuntu.
KDE4 killed Linux on the desktop for me. I loved KDE3, used it for years. And then they stopped maintaining it, and the next version was unusable for years. It's still not particularly good or better than KDE3, it's just different.
There was also Kmail, once a very usable tool for me (I think, the best version also came with KDE3). Then after the update (I guess with KDE4) there where some bugs on receiving eMail that happened again and again. It was nasty (I still can't get it, how they managed to kill the simple POP3 handler) but I could use my mail still. After that with the next update came a version that did not manage to import my old mailboxes that I had managed with Kmail for years. They simply killed this once good application for me! Just for gimmicks. Today I use webmail, though I don't like it. Also they managed to cripple KDE4 more and more ... The desktop applications did not do what was documented and they fixed bugs, that did not exist, thus removing or crippling once valuable options ... There was also a bug filed for that, but the developers just did not listen.
Now I use another desktop, but I fear, one day I also need to kick this one, since I see similar behavior -- adding or removing features, complete rewrites, just because it is a nice mind-game or in fashion. I also where thinking to use a really old desktop that nobody uses anymore, just to be free from feature-creep and fashion-ism. I need the computer to work with, not playing mind-games and update-platformers!
I still think KDE4 is missing lot of the "feel" that KDE3 had.
Applications in the KDE3 time were also better, good example is Amarok.
There's always trinity (http://trinitydesktop.org/)
> It's still not particularly good or better than KDE3, it's just different.
You're right, it isn't better.
When I last tried using it (November last year), parts were unusable -- for example on the workspace switcher (the panel that shows your workspaces) I couldn't see the windows that were on each workspace, because the idiot who had coded it thought it more important to make the control look shiny than to display the windows.
I use xubuntu/xfce now. I've no time for fuckwits who just want to jump on the newest trendiest technology bandwagon
Linux needs more people writing stuff like Adobe CS replacements (and tons of other tools and core functionality besides), than it needs people rewriting the screensavers.
Yeah, and with regards to wide desktop adoption (as opposed to server adoption or "it's made to scratch our needs, who cares for mass users"), that's a problem.
Especially since people who DO want to write stuff like CS that tons of users use everyday on Windows and OS X, usually don't program for Linux.
>There's no Adobe CS alternative because the people using Linux don't need/want that tool.
I used Linux and I could use such a tool. I'm pretty sure there are others. In fact, one of the founding blocks of desktop Linux wasn't GIMP (which gave Gtk and Gnome)?
The people who want it (designers) overwhelmingly use OSX and aren't looking to switch.
Why would they, since they can't find programs of equal calibre to what they use in it? On the other hand, designers and video editors and common users switch from OS X to Windows all the time.
I asked Adobe (just before they released CS3) why it supports Mac OS X. I received a response from Russell Brady, PR Director of Adobe. According to Mr. Brady, Adobe’s sales in its last financial year (2006) “were 77% Windows and 23% Mac. In some markets, such as the creative professional space, the Macintosh percentage is even higher. The Macintosh market is huge for Adobe and, by most estimates, we’re the largest supplier of Mac software on the planet.”
via http://gigaom.com/2007/04/09/why-do-software-companies-suppo...
My thoughts exactly.
Xscreensaver is a thing and you can use it.
It's no secret that ubuntu's desktop has been a basket case, but it's not the only available option even with ubuntu - let alone on linux. kubuntu is fine, and xubuntu is awesome (neither of which use this screensaver).
The reason why the linux desktop never took off was because microsoft used its not insignificant market power to squash it each time it was about to take off.
Not because of a silly screensaver that got rewritten.
2. This bug was patched before Ubuntu 14.04 was released
3. You're an obvious troll account based on the username "muuh-gnu"
4. Most of your arguments are unfounded and opinion based.
This is an exaggeration you had to make to prove your point (and the reason you had to exaggerate is because you don't actually have a point, which anyone can see by actually doing some research). Most Linux threads on HN seem to end in an anti-linux circle jerk, while the people who are actually presenting the facts get downvoted. The actual usefulness of Linux based operating systems are highly and disproportionately discounted on HN as it is a fact that the majority of computer users spend most of their time inside a browser talking on social media. Now this would be a good point to refute, but whenever the subject comes up the replying comments always seem to diverge from this subject and postulate a different argument that supports their view point while completely disregarding the point the parent comment made.
If you believe that 90% of computer users need photoshop and advanced features of word and excel (you can use both word and excel online though, without windows installed), then fine, show me some proof, don't just say "It'll never happen you guys are dumb", come up with some evidence to support your claim. I mean, new versions of Linux are as easy to use as an iPhone (app stores, home screens, big pretty icons) so if people can learn to use iOS they can obviously learn to use Linux. This week I'm switching over 4000 computers to Ubuntu 14.04 for a tech support company. Last week I did around 2000 for a call center based around ordering small sausages and cheese. Currently I have about six more contracts that are being negotiated to set up even more Linux based machines. I have the ability to switch about a thousand a day because of how the computers in these places are networked. Can you believe they were running Windows 7 to emulate DOS? One of the contracts I'm currently negotiating involves switching a thousand computers from XP to Ubuntu 14.04 and all they use the computers for is a web app that the workers use to send what they call "technical requests" using browser based web apps that all work in firefox. I could go on.
The few people in these companies that are actually skilled workers and need Windows compatibility for some reason are either using "Windows labs" that we set up specifically for them or we're running a remote version of windows on a server and streaming whatever they want to a Linux box.
In my experience Windows is not needed in 90% of cases and when it is it's for a skilled task that involves skilled workers. It's a fact that skilled workers do not make up even close to a majority of the work force. Also, Ubuntu is certified to run on 70% of desktop computers: http://www.ubuntu.com/certification/desktop/ . One of the the manufacturers I work closely with is Dell and for the most part I haven't had any problems installing Linux on any business model Dell desktop that there is. Business models don't typically come with high end nVidia GPUs and other unnecessary hardware, so upgrading to Linux is no problem most of the time. On budget and typical business systems Linux seems to be the king of resume times and performance (at least in my experience). I've only used windows 8 on an employees laptop and from what I can tell, it wasn't made to perform well on his Toshiba to say the least. I've seen both windows 7 and windows 8 running very well on the right hardware though. The performance of windows on budget hardware (~75% of consumer) is mediocre at best, which is unfortunate, but what's even more unfortunate is that because a select few can get Windows performing amazingly on great hardware, the consumer market seems to think it runs amazingly everywhere. Hopefully soon it will, or people will come to their senses and realize installing windows on a low budget (average consumer grade) system is more trouble than it's worth.
If we want to talk about an insecure OS we can start with windows which is the king of insecurities. Do I even need to get into all the bugs people find after the release. At least this was found before the official release.
If anything there's a circle jerk around "why Linux can't be used for anything" which is pretty sad considering the people who come here consider themselves to be tech oriented but can't even use Ubuntu. I'd also like to mention that I have a friend who installs Linux for animation companies, including pixar, who use Blender and other open source technologies to make professional quality animated films. Can we stop pretending that Linux has no uses for anything?
http://www.techrepublic.com/blog/windows-and-office/rejected...
It's not like HN is a representative sample of the computing users at large.
Edit: the title has been edited since I posted this. It still serves no purpose though.
To those who are down voting, please explain why you think this thread should remain here?
> gnome-screensaver is brand new, bug-ridden, unreliable, and a security disaster waiting to happen
Looks like jwz has been vindicated here.
References: http://www.jwz.org/xscreensaver/toolkits.html http://www.jwz.org/xscreensaver/faq.html#gnome-screensaver
However jerking off to discussions about how to properly implement screen locker password input completely misses the point: That locking a screen/session from "inside" always will be flawed. There's an "easy" way to fix it: Instead of trying to lock a session with an inside locker, it should be detached from the terminal instead.
If you're working on just the text console this is a piece of cake: Use tmux or screen for the login shell and as soon as you detach from it you're getting logged out (a lot of people use this setup). There's no way a screen locker crash would pose a security thread, because there's no screen locker at all. Just the regular login which when crashing gets respawned.
Had XFree86/Xorg the capability to detach the X server from the screen, this would allow to log out to the regular display manager login and "unlocking" a session would be simply reattaching to it. Unfortunately the internal driver/device model used by XFree86/Xorg made it hard to impossible to implement such a thing (this is not a drawback of the X11 protocol per se, but the widespread implementations of it).
Luckily Linux is moving to a new graphics model and whatever we'll use in a few years, hopefully detaching graphical sessions will become as simple as using tmux/screen; then you'd close a terminal session instead of locking and no longer need a screen locker.
Meanwhile, http://www.cvedetails.com/vulnerability-list/vendor_id-1861/... . Security is, in general, difficult.
Nevertheless, this bug is a big WTF and shows that it is not a good architectural choice to have the lock screen as just another X app. It would make more sense to have it in the kernel, and have one app that is allowed to supply a gui. If that app crashes, it is just restarted, or it falls back to text mode. If the user authenticates, the lock screen goes away and the main X server / wayland / whatever is reconnected to the hardware.
I think Windows uses alternate desktops/sessions (I'm not sure what the technical term is) for the lockscreen, as well as for the Ctrl+Alt+Del screen, so there is a similar protection at the kernel level. However, if winlogon.exe or anything related to the logon screen crashes, you have hardly any chance of recovering.
I don't think it needs to be in the kernel; the login process for *nixes has always been in usermode, and this arrangement hasn't proved to be particularly troublesome.
https://code.launchpad.net/~andyrock/unity/fix-1308572/+merg...
I don't know exactly how the fix prevents the problem, though.
As for "how this could happen".... it's code for a UI. There's always going to be weird timing issues, race conditions, etc etc. UI code is never as simple as it appears.
A screensaver would not be immune to this as well when run in userland, in fact the same session.
I think there should be more isolations in place for cases like this.
Windows 3.11 to Windows 98 (and possibly later) let you click 'Cancel' at the login screen so you wouldn't need a user/pass at all to get access to the desktop. There was also the 'safe mode' option if the login prompt really was an obstacle. This easy login was a feature, not a bug.
My coworkers mostly use gnome-screensaver. Many of them have sent emails along the lines of, "Hi everyone, I should lock my screen." to popular mailing lists.
"CRITICAL: We failed, but the fail whale is dead. Sorry...."
Firefox's "Well, this is embarrassing" Always calms me down after a crash. It's a reminder that there are real people trying their best.
Also, the bug was solved in 14.04 before the official launch date.