Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

OpenSolaris 2008.05, and other places the sun don't shine

OpenSolaris Screen shot. A hard fought thing to achieve


Way back in the dark ages of 1993, we were introduced to this thing called email. Email in the olden days was not like email now. All the packets traveled uphill no matter where they were going, and usually there was a good three or four feet of snow on the internet backbone. We used these big hulking things called VAX/VMS nodes that were attached to some pretty sweet fourteen inch monochrome VT 100 terminals. There were also these machines that ran something called UNIX, which sounded to us like something that should have been found in the college health center, not the computer lab.
Eons passed, and things changed. Though there were many more email packets flying around, plate tectonics had changed the course of things so that now they traveled downhill, really really fast. The internet backbone became a series of tubes. All the VT 100 terminals banded together and created an archipelago in the South Pacific. And UNIX...
UNIX evolved. Mutated. It trickled down into various UNIX brands and distributions. There were things like BSD UNIX, HP-UX, and AT&T Bell Labs UNIX. There were other branches, too, rogue sprouts on the evolutionary tree: FreeBSD, and OpenBSD. Slightly alien but vaguely reminiscent life forms injected their DNA into the gene pool: Linux, and this weird little UNIX-esque animal called Solaris.
Sun recently let Solaris go open source. OpenSolaris is more a traditional UNIX environment than a Linux type environment, but the appeal of taking a peek at the 2008.05 OpenSolaris release was too great for us to resist. The folks at OpenSolaris knew this, and baked some goodies into the OS that no Linux user could refuse.
We were given a no-strings attached liveCD, so our Linux install would never know we cheated. We had a bash shell, and the GNOME desktop environment, so our eye candy and commands would feel familiar and easy.
Sometimes, though, evolution goes horribly, horribly wrong.We eagerly booted into our OpenSolaris environment on our Athlon64 X2 system. We selected our keyboard layout and language, and OpenSolaris graciously presented us with the X server and GNOME. It was pretty, and we could even activate Compiz, of all things. Yes, it was very pretty. And for a reason we'll discuss a little later, we thought it would be really beneficial to stop what we were doing with the liveCD, and reboot.

OpenSolaris desktop. Pretty. A really, really pretty paperweight.




OpenSolaris had other ideas. It just didn't want to tell us what those other ideas were.
GRUB would launch, and we could select the standard OpenSolaris boot option. The splash screen showed its mug, and we'd be dumped on to a screen with the standard trademark and legal disclaimers. And the cursor would blink, and blink, and blink. We waited. Patiently.
But it was clear that the optical drive was no longer reading, and the hard drive was inactive. Keyboard presses did nothing. Trying the whole process again with a text console GRUB selection played out the same way.
Certain things disturb us much more than they probably should. Humanoid puppets, hyper-intelligent birds, and when our computers behave irrationally for no apparent reason are the big three. OpenSolaris had thrown down the first gauntlet, and by honor, we could not walk away. We had to know not only why it booted once, but why it didn't seem to want to again.
The condensed version of the next 21,600 seconds (six hours, for those not wanting to do the math) went something like this:
It's a 64-bit versus 32-bit problem. We'll edit our GRUB boot lines so we boot into 64-bit no matter what.
It's a 64-bit versus 32-bit problem. We'll edit our GRUB boot lines so we boot into 32-bit no matter what, then.
Does this piece of crap have an issue with SATA drives? How can it? That makes no sense!
Take out a stick of RAM? Are they kidding? This is based on Solaris. How can it freak at 2 gigs of RAM?
Let's disable PnP in the BIOS. Oh. It already is.
Let's mess with our memory timing. Reduce by half, they say. We laugh in the face of unstable systems.
We have got to be crazy. We've got to. Why is it so damn important if this thing ever boots again?
Why is our IDE controller on in the BIOS anyway? We don't have any IDE drives. Not that it affects anything anyway.
Let's try every ACPI setting there is. Twice. Let's disable ACPI APIC. Let's enable it again.
Who would realistically ever go through this to boot an operating system? What is wrong with us?
Oh, hey, there is a switch for kernel debugging and a verbose switch in GRUB! Edit kernel line with -k -v and boot.
At the six hour mark, we approached the solution:
ehci is having an issue. That's... USB stuff? Why does it say it is ignoring the error? Duh. Obviously it isn't.
Hey, BIOS! It's us again. Bye, auto legacy support.
That didn't work. Do we have any USB devices even attached? The printer. The printer isn't on. Or plugged in.
Let's boot with -k -v again. There, it's talking about the keyboard, and then ehci freezes--
They have got to be kidding. Seriously. Our mouse? It is a USB mouse. Fine. We'll put a PS/2 adapter on it. If this works, we will renounce the idea that technology operates on any sort of logic. Let's reboot 'er.
Dear readers, all that technology you see on the desk in front of you today? Apparently, it is a collection of happy accidents. Putting a PS/2 adapter on our mouse allowed us to reliably boot into OpenSolaris.
This confounds us on a few levels. Solaris is a UNIX derivative. UNIX is (at heart) a command line that has the ability to run a GUI. It doesn't have to. We could have booted without a mouse. But booting with a mouse that wasn't necessarily fully recognized as such is apparently disastrous. Is it an input device issue? A USB issue?
Linux, which is also at heart a command line that is able to run a GUI, does on occasion have issues with various mouse types. USB support on Linux has also been historically buggy, though it is much better than it was even two years ago. However, we've never had a Linux machine hang indefinitely because the pointer device was somewhere the OS didn't want it. We've had plenty of experiences with non-working mice.
Non-working mice are a lot easier to troubleshoot than non-working systems.
We tried out a Zen outlook (we've learned so much through this agonizing enlightening process!) and began playing with OpenSolaris in earnest.
Remember the history of email we touched on at the beginning of this post? Slow, uphill both ways? Snow on the backbone? Migraine inducing VT100 terminals? They are all still more effective than trying to connect an OpenSolaris machine to the internet.
We admit that Linux has a long way to go with wireless support. However, we can not remember the last time we had a modern, full-bodied distribution have any real issues with a wired connection. The most we might have to do in Linux is activate the appropriate device, or point it at the right gateway.

Schrodinger's Driver in the Device Driver Utility. It works. It doesn't work.

OpenSolaris does have this nice Device Driver Utility. Utility is a bit of a misnomer. Unless you write device drivers, it doesn't really do much, except tell where on the system the device driver is located and whether the driver is supported and working.
Our ethernet connection is located at nge0 (as opposed to the Linux eth0). Good to know. Our driver is working for the ethernet card. Awesome. Er, so why can't we get online?

nge0 is active in Network Settings. Lies! All lies!

We can't reconfigure our card. OpenSolaris knows best. It uses this little Network Auto-Magic daemon. It thinks it is connected. It clearly isn't. Disabling the Magic is just different enough for a seasoned Linux user to feel a bit like they're in a bizarro universe, but at least the command line concepts between UNIX and Linux aren't horribly different.

Network Auto-magic dialog. It is neither a network, or magical.

On a liveCD such as OpenSolaris, manually configuring the ethernet device isn't a walk in the park either. There's that whole root password thing. Where it seemed we should be able to manually enter nameserver information, and our gateway, and all sorts of things, it didn't let us. We are not root, or remotely worthy.
We finally dug up the "pfexec su" command, and tried to get online that way. We could add our nameservers, and gateway, and we could activate it all, now that we were disguised as root. Apparently, though, OpenSolaris has a problem with our router, and the way it assigns various addresses. We may be activated. We are not connected. Where is VAX/VMS when you need it?
We'd just spent six hours getting OpenSolaris to boot. To hell with the internet connection. We are determined to the point of amazing stupidity, but even stupidity has limits. At least ours does.
Don't get us entirely wrong, there are some nice things about OpenSolaris. It is very light on pre-installed applications. There are the applications that come with GNOME, like gedit, some games, and system administration tools. There are a few multimedia apps, GIMP, and gtkam. That's about it. It's a nice way to build a system that does exactly what you'd like. (We are puzzled by the inclusion of Compiz, frankly, because it's a feature that doesn't contribute a whole lot of function to the desktop. It seems illogical to be there by default given what else is and isn't included.)
Despite our USB mouse woes, flash drives mount automatically and work as expected. Our audio drivers exist and supposedly function, but they've gone to ground with our network connection. So system sounds won't play through GNOME's esd. Because there are some gstreamer plugins that require installation via the packaging system, we couldn't try out any media files.
If we were hardcore software developers with a keen interest in UNIX-type environments, we'd go ahead and install OpenSolaris on our computers. We'd just rely heavily on the ol' VAX/VMS set up and the cutting edge Mosaic browser for our networking needs.
For the desktop Linux user who is simply curious about UNIX derivatives, we'd have to advise taking a pass on this release, anyway. We'd probably tell you to check out OpenBSD, or FreeBSD, for a shot at a more successful change of pace.


[Via: Download Squad ]
[Tag: ]

Flipping the Linux switch: Xfce, the hidden gem of desktop environments

Xfce DesktopIn the beginning, we talked a bit about the holy war that wages onward between KDE and GNOME. Some of you aptly pointed out that there is a third desktop environment out there. It was never our intention to slight this desktop (we actually use it regularly). Like a mouse dodging to avoid the crashing footsteps of the desktop environment giants, Xfce is often included in discussions as an afterthought.

So apologies if the fact our current discussion of Xfce supports the "afterthought" theory. It wasn't our intention, and hey, we offer the consolation that if it really is an afterthought, and least it's going to be detailed.

Xfce indeed, is the third major desktop environment. It's kind of like the fifth Beatle. People know it's there, but... What's it called again? What's it do?

That, friends, is totally unfair. Xfce is one of the fastest and easiest desktops out there. It balances pretty and functional without any extraneous annoyance getting in the way. It isn't most people's first Linux desktop environment. But it very well could be.There are a lot of reasons to love Xfce. It's a cross platform sort of desktop. This means that you can use it in Linux, or Solaris, or FreeBSD or even OS X. It's modular. If you don't need some of the modules, they can be excluded from the installation. There are also quite a few cool little features, like a kiosk mode, neat little widgets, and a built-in compositor. The compositor is particularly nice for those who don't like or can't get their machines to run Compiz well.

But just because we're total nerds, and because we've found ourselves in other desktop environments wishing for its presence, let's begin by talking about Thunar. Thunar is Xfce's file management system. It's the equivalent to Dolphin, or Nautilus, or Windows Explorer.


Thunar File Manager

In the grand scheme of things, it seems fairly unremarkable. It doesn't have a split view like Dolphin, for instance. It's extensible and has plugins, much like Nautilus. But what makes it stand out is how clean, how well integrated, and how fast it is.

There are nice features like bulk renaming, as well. Honestly, though, even if we never used that sort of feature, we prefer Thunar to the other file managers. It's that much faster, and requires less configuration for (what seems to us, anyway) logical file manipulation.

Xfce is based on the GTK+ library. This is nice, because not only are there some native "Xfce-flavored" applications out there for the desktop, but GNOME apps play quite nicely and don't look terribly out of place. KDE applications, of course, also translate quite well, but we've still found the look a little incongruent. For our favorite KDE applications, though, that's not a deal breaker.


Right clicking fun

It's the little things that have made Xfce really work for us. It seems sort of ridiculous, but we have to come to adore that right clicking the mouse anywhere on the desktop, by default, brings up the main menu. Stupid? Yes. And wait till you get used to it, and are dropped in either a desktop environment or operating system that doesn't have this handy little tweak enabled. That's when you'll realize just how often you use it.

The visual flexibility of the desktop is appreciated. With the release of Hardy Heron, it seemed as though Xubuntu went for the "GNOME-esque" look with the Xfce layout. Not at all a problem, really, and it could even be an advantage if you're making the switch from GNOME to Xfce. But it didn't really float our boat. We actually liked that Xfce looked... well, the way it looked before. It was sort of an OS X feel.


Xfce desktop

Every desktop can be made to look a certain way, but some just lend themselves to it better than others. Xfce is so understated in terms of customizations, but the customizations offered change the look so much. We only want one panel? Xfce can do that. We've totally lost our minds and would like several hundred panels? Xfce leads us down the road to that insanity. Do the panel widgets and icons send us in to a homicidal rage, and the only thing that can quiet us is to remove, move, or substitute images? Absolutely no problem.

Though we are running our current install of Xfce with Compiz-Fusion and Emerald, there is, as previously mentioned, a nice little compositor built right in to Xfce. It's not quite as dramatic as Compiz, but it's also a lot less likely to make your older machines scream in agony. It's also endlessly easier to make work than Compiz, which still requires, in some cases, the customary sacrifice of two Little Debbie snack cakes to the Composite Gods.

This kinder, gentler compositor can be found on the Settings Manager panel by clicking the Windows Manager Tweaks icon. You won't be able to get a passing virtual rainstorm to put out e-fires you've lit on your desktop, but you will get some nifty transparent windows and drop shadows.

We mentioned native Xfce applications earlier. Some of them are pretty nice. We particularly like Orage, the calendar application. When added to a panel, it displays the date and time. Clicking on the date and time launches the Orage calendar. Clicking the selected date launches yet another dialog that allows for the addition of events, to-do lists, and journals ("Dear Diary, Xfce is dreamy but doesn't know I exist!"). A search function lets us find those events we so painstakingly wrote down, were reminded of, and totally forgot to attend anyway.


Orage calendar

Orage also allows for the exchange, export, and import of calendar data in the .ics format. Entries can be archived, so we can look back at our youth and try to convince ourselves we didn't squander it. It may not be the most powerful calendar application out there, we'd still say that for most purposes, it's more than sufficient.

Xfce may not be the best dressed desktop environment (well, not right out of the box, anyway). We can say without reservation that it is the fastest, and most utilitarian desktop environment from the moment it's launched till the time we log off. The menu is always just a right click away, and well placed panels make easy work of finding applications. The plug-ins and widgets are imminently useful.

Xfce hit the sweet spot in desktop environments: easy enough for a newbie to get started and feel comfortable quickly, powerful and extensible enough for an experienced user to get it all done.
[Via: Download Squad ]
[Tag: ]