Practical Technology

for practical people.

November 6, 2010
by sjvn01
0 comments

Ubuntu abandons X server for Wayland

I didn’t see this coming: Mark Shuttleworth, founder of Ubuntu backer Canonical, has announced that somewhere down the road, Ubuntu will be switching Ubuntu’s base graphics system from the venerable X Windows System to Wayland.

In his blog posting, Shuttleworth wrote: "The next major transition for Unity [Ubuntu’s new GNOME-based desktop interface that will be introduced in the next Ubuntu release] will be to deliver it on Wayland, the OpenGL-based display management system. We’d like to embrace Wayland early, as much of the work we’re doing on uTouch and other input systems will be relevant for Wayland and it’s an area we can make a useful contribution to the project."

That’s pretty gutsy. The X Window System, which is the networking windowing system that provides the foundation for almost all Unix and Linux desktops, has been too slow for ages. But no one as big as an Ubuntu has ever said that they were willing to replace X with another windowing system.

Wayland is not an X server nor is it an X Server fork, as has sometimes been said. As the Wayland FAQ states, "It’s a minimal server that lets clients communicate GEM (Graphics Execution Manager) buffers and information about updates to those buffers to a compositor. To do this, it uses OpenGL, a high-performance, cross-language, cross-platform graphics applications programming interface (API). Wayland also doesn’t require new drivers; it builds on the existing Linux graphics APIs and drivers.

Couldn’t Canonical just use X? Shuttleworth admitted they could have, but "We don’t believe X is setup to deliver the user experience we want, with super-smooth graphics and effects. I understand that it’s *possible* to get amazing results with X, but it’s extremely hard, and isn’t going to get easier. Some of the core goals of X make it harder to achieve these user experiences on X than on native GL, we’re choosing to prioritize the quality of experience over those original values, like network transparency."

You won’t need to give up X-based applications though to use Wayland. Shuttleworth also said, "We’re confident we’ll be able to retain the ability to run X applications in a compatibility mode, so this is not a transition that needs to reset the world of desktop free software. Nor is it a transition everyone needs to make at the same time: for the same reason we’ll keep investing in the 2D experience on Ubuntu despite also believing that Unity, with all its GL dependencies, is the best interface for the desktop. We’ll help GNOME and KDE with the transition, there’s no reason for them not to be there on day one either."

Whether KDE or GNOME will want to join is a still unanswered question. Some users have other concerns.

Someone going by the name Simon wrote on Shuttleworth’s blog: "I understand network transparency isn’t used by everyone – however, for some of us it’s critical functionality. In my office, being able to ssh into a server or someone else’s desktop to run development tools (e.g. a gtk-based code-review tool) is vital, and losing that ability *would* be a showstopper as far as Ubuntu desktops are concerned." Another writer on the blog, Diego, replied, "network transparency is beyond the scope of Wayland. You are completely free to implement wayland clients that use network protocols (not just X11: VNC, RDP, Spice…). In fact, it will possible to run X.org as a Wayland client. So, you will be able to run remote X11 apps on Wayland servers."

We’ll have plenty of time to see how this works out in practice. Shuttleworth wrote, "I’m sure we could deliver *something* in six months, but I think a year is more realistic for the first images that will be widely useful in our community. I’d love to be proven conservative on that, but I suspect it’s more likely to err the other way. It might take four or more years to really move the ecosystem. Progress on Wayland itself is sufficient for me to be confident that no other initiative could outrun it, especially if we deliver things like Unity and uTouch with it. And also if we make an early public statement in support of the project. Which this is!"

Shuttleworth concluded, "In general, this will all be fine – actually *great* – for folks who have good open source drivers for their graphics hardware. Wayland depends on things they are all moving to support: kernel modesetting, gem buffers and so on. The requirement of EGL is new but consistent with industry standards from Khronos – both GLES (Graphics Layout Engine) and GL will be supported. We’d like to hear from vendors for whom this would be problematic, but hope it provides yet another (and perhaps definitive) motive to move to open source drivers for all Linux work."

A version of this story first appeared in ComputerWorld.

November 4, 2010
by sjvn01
0 comments

Linux E-Readers are evolving into Android-tablets

I have no doubt that Linux-based tablets will eventually be winners. I’ve been unimpressed though at how slowly the Linux tablet OEMs have been about getting their products to market. Those that have made it tp store shelves, like the Augen GenTouch78, haven’t been much good. Things are about to change. The forthcoming Nook Color and the rumored Amazon Kindle Tablet will bring good Linux-powered tablets to users this year after all.

I knew that dedicated e-readers would die off. What I didn’t see happening was that the e-reader vendors would also see that happening and start transforming their Android Linux-powered e-reader devices into tablets.

Sources at Amazon tell me that the company will indeed produce a mass-market Android tablet. I can’t tell you its size, pricing, when it’s expected to ship, or anything else of substance. The one thing I do know is that, like the Kindle, it will run Linux with a Java-based interface. In short, this new tablet Kindle, let’s call it "KinTablet," will run Android.

Amazon developers are already working on an app store for this new device. Based on the wording of the developer agreement, I suspect Amazon might even launch the KinTablet in time for the 2010 holiday season.

We already know that Barnes & Noble is releasing their Nook take on a tablet, the Nook Color, on Nov. 19. Anybody want to bet me that Amazon will announce their next step Kindle on the same day or the day before?

Will these hurt iPad sales? I doubt it. What I think will happen is that these newly evolved e-reader/tablets, along with the other Linux tablets, will take over the lower price points. We already know that, despite the iPad’s wildly successful sales, both the Kindle and Nook have continued to sell extremely well. I see no reason to think that these e-reader/tablets won’t continue to sell extremely well by adding more features and staying in about their current price range.

So, it appears to me, that by a round-about path, good, mainstream Linux-based tablets will arrive in time for this holiday season after all. Hurray!


A version of this story first appeared in ComputerWorld.

November 3, 2010
by sjvn01
0 comments

God help us: Internet Explorer 6 Lives On

Please, please, just let Internet Explorer 6 die. It was an awful browser even in its day, 2001. The only reason it became popular was that Microsoft got away with illegally beating Netscape into the ground. Unfortunately, many corporate developers created crude, IE 6-specific Web applications that we’re stuck with to this very day. And, now thanks to Browsium’s UniBrows, we may be stuck with for many more years to come.

UniBrows will let users run IE6 within IE8. Yes, that’s right; people will be able to keep running IE 6 for years to come.

Shoot me now.

More >

November 2, 2010
by sjvn01
0 comments

GPLv2 Blocks VLC from Apple’s App Store

It had to happen eventually. Open source software is all about letting anyone have access to the source code, and Apple is all about restricting any software access on its platforms. So when questions began to be raised about whether VideoLAN’s popular VLC Media Player, which is licensed under the GPLv2, could legally be sold on the Apple’s App Store, you knew something had to give. Well, it just did.

The Free Software Foundation (FSF) has just told the VLC developer community that the GPLv2 does, indeed, conflict with Apple’s App Store Terms. In a note to the VLC membership list, Brett Smith, FSF Licensing Compliance Engineer, wrote that because "Apple ‘only’ allows you to do the activities in the list of Usage Rules, if an activity does not appear in this list, you’re not allowed to do it at all."

Smith continued:

"Section 6 of GPLv2 says: Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients’ exercise of the rights granted herein.

When the App Store terms prohibit commercial use, general distribution, and modification, these are exactly the kinds of "further restrictions" that are not allowed thanks to the last sentence here.

This is a crucial part of the GPL’s copyleft. Without this section, it would be trivially easy to keep freedom away from users by putting additional requirements in a separate legal agreement, like Terms of Service or an NDA.

Section 6 is not legal minutia: if you take it away, the license would completely fail to work as designed at all."

This puts VideoLAN’s developers between a rock and a hard place.They knew this problem was coming though

VideoLAN developer Rémi Denis-Courmont, a Linux kernel developer for Nokia and one of VideoLAN’s lead developers, had informed Apple in late October that the VLC media player for iPad, iPhone and iPod Touch GPL is "contradicted by the products usage rules of the App Store."

Denis-Courmont "expected that Apple will cease distribution [of VideoLAN] soon, just like it did with GNU Go earlier this year in strikingly similar circumstances: http://www.fsf.org/news/2010-05-app-store-compliance." So what should mobile users do instead? Denis-Courmont suggested that since "blatant license violation cannot be tolerated at any rate. Concerned users are advised to look for application on more open mobile platforms for the time being." Say, Android?

IPhone, iPad, and iTouch users can, however, continue to use MobileVLC if they’ve already downloaded it according to Smith. The problem is with how Apple licenses the sale of GPLv2 code to users, not with how users use it.

As you might expect, some VideoLAN programmers are very ticked off about all this. In a follow-up VideoLAN mailing list post, developer Jean-Baptiste Kempf wrote, "With ‘friends’ like you, we don’t need any enemies. If I understand correctly, the FSF new policy is to blow up communities?" Smith replied, "My analysis of the current terms talks about how the Usage Rules restrict distribution."

I don’t know what VideoLAN will do next and how this will work out, but I did know that GPLv2 and the Apple App Store licenses could never work together. Until Apple changes its ways, open source and the Apple way of controlling software will continue to clash.

A version of this story first appeared in ComputerWorld.

November 2, 2010
by sjvn01
0 comments

Do open-source projects need strong leaders?

GNOME, the popular Linux desktop interface, took a hit today. Its popular leader Stormy Peters left GNOME for Mozilla to work on the open Web. GNOME, which has been struggling with getting its critical 3.0 release out the door, will be the poorer for her absence.

This got me thinking. How important our “leaders” to open-source projects? We tend to think of open-source projects being lead by top developers. Sometimes that’s true. Without Linux Torvalds, the top developer, would we have Linux, the major operating system or, as is the case the BSD Unix family, a handful of relatively minor operating systems? I don’t think so.

I’m not saying, just to get this out of the way, that FreeBSD, OpenBSD, NetBSD, and the other BSDs are technically great and that they’re not used in many important sites. They are darn good and many top Websites and data centers use them. All that said though there are probably a hundred Linux users to every BSD user.

Without Linus though, I think “Linux” would just be another somewhat obscure Unix-like operating system. But do you have to be a coding wizard to lead an open-source project to success?

More >

November 1, 2010
by sjvn01
0 comments

ITworld review: Fedora 14 is leading-edge Linux

I like Fedora, Red Hat’s community Linux distribution, a lot. But, let me warn you right now, that it’s not a Linux for beginners. That’s not to say that the newest version of Fedora, Fedora 14 Laughlin, is hard to use. It’s not. But, if you need a lot of handholding as you explore Linux, I think you’ll be better off with Ubuntu.

To see what the latest and greatest Fedora could do I put it on my reliable laptop buddy, a Lenovo ThinkPad R61. This 2008-vintage notebook is powered by a 2.2GHz Intel Core 2 Duo processor T7500 and has 2GBs of RAM. I also tried it out on a Dell Inspiron 530S powered by a 2.2-GHz Intel Pentium E2200 dual-core processor with an 800-MHz front-side bus. This box has 4GBs of RAM, a 500GB SATA (Serial ATA) drive, and an Integrated Intel 3100 GMA (Graphics Media Accelerator) chip set.

In addition, I tried, and failed, to get it to install on VirtualBox, Oracle’s desktop virtualization program. This turned out to be a known problem with VirtualBox and Fedora 14 betas. There are ways to work around it, however. I was finally successful in installing Fedora 14 on a VirtualBox virtual machine (VM) using Virtual Network Computing (VNC) to remotely connect to Fedora’s Xserver, but I can’t see many people jumping through this many hoops to get it to run on VirtualBox. I was, I should add, able to run Fedora 14 on VMware Player.

No matter the platform, once it was up, Fedora 14 basically worked fine. I add the qualifier because I did run into a number of small, but annoying, problems.

More >