X11: Your Window for Using Unix Apps on the Mac
Low End Mac Reader Specials
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: LA Computer Company: Specials on AppleCare, Apple Displays, MacBooks, iMac's, MacBook Pros, Laptop and iPod accessories and more. Apple A/C Adapters for laptops starting at $25.00 Call 1-800-941-7654 or Click Here.
OWC: OWC Mercury On-The-Go FW400/800/USB2/eSATA Portables High Performance A/V Rated, **Bus Powered** **Up to 500GB in the Palm of your Hand** Macworld Editor's Choice, CNET 'Very Good' - from $75.99!
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
MacPro Memory 667Mhz With Apple Spec Heat Sink 2GB $90 / 4GB $134 / 8GB $264. Click to Maximize your Macs...
- 2006.05.17
Everyone already knows that Mac OS X is a "Unix variant" and that it can run "Unix software". Many just leave it at that, assuming that "Unix software" means things that run in the Terminal - but there's also a whole wide world of graphical apps in the Unix world that run in what's known as the X11 environment.
The problem is that not many in the Mac community - beyond the übergeeks - seem to know or understand what X11 is.
Fortunately, Apple has made it easy to install and use X11 in a near seamless fashion on your Mac. With a little guidance, it's pretty easy to be up and running with a bunch of free apps that are well-known to those in the Linux and Unix world.
X11 is the flagship product of X.Org Foundation and simply provides a method for Unix systems to draw windows, mouse pointers, and other standard elements of a graphical user interface (GUI).
Without X11, using a Unix or Linux system is totally a command-line affair.
What Is X11?
X, as it was originally known, was first developed at MIT in 1984. (Probably not coincidentally, this is the same year the first Mac debuted, starting the GUI revolution.) By 1987, it had developed into X11, and it hasn't changed a whole lot since, beyond being updated for newer video cards and the like.
X11 operates on a client-server methodology. Basically, the X server serves up graphical content and an X client draws the windows and accepts mouse and keyboard input. For nearly all its uses these days, the server and the client are running on the machine, providing Linux distributions everywhere with a fully graphical environment.
After the Mac OS transitioned to a Unix base when OS X debuted in 2001, it was only a matter of time before X11 was up and running on the Mac. But X11 had actually been there long before. X11 clients for the Mac have existed since the late 1980s. Tenon's MachTen provided a full Unix environment for 680x0 and early PowerPC Macs, including a bundled X client and server. (Tenon later morphed this product into iTools, which provides a nice graphical front end for the Unix/server parts of OS X.)
Apple's mid-1990s Unix, A/UX, also shipped with an X11 client and server.
X11 on OS X
Getting X11 up and running with Mac OS X 10.0 meant compiling it from source code. Although this was a snap for veteran Unix admins, it would take a while before the idea took off on the Mac. Flash-forward 18 months, and the process got a lot easier in the era of Mac OS X 10.2. A package installer for X11 surfaced from X.Org, and a new third-party app named XDarwin made it easy to run X11 apps alongside OS X's Aqua ones (or run X11 in its full-screen "rootless" mode).
Not long after, Apple started shipping a beta of its own package simply named "X11". Combining both the X11 framework and a client very similar to XDarwin.
Since OS X 10.3, X11 has been quick and easy to get up and running, and thus there's been a lot more interest in the Mac community.
Is it worth downloading X11 for 10.3 (or installing from your Tiger install disc for 10.4 users)?
There a few good reasons, and since we're in the realm of free software, it won't cost you anything but some time.
Reason #1: Free software
There's a ton of free, open source software that runs under X11 on Unix/Linux systems, and with a little bit of recompiling they can easily run on OS X, too. If compiling software is a deal-killer for you, don't worry, because somebody else has already done the work for you.
Fink and DarwinPorts are two incredible projects with the common goal of porting Unix software to Mac OS X. Installing either one of these makes it a breeze to get a ton of free software on your system.
For newcomers, I'd recommend Fink, if only because of it's wonderful bundled GUI companion, FinkCommander. With FinkCommander in hand, it's a point-and-click affair to find the type of software you're looking for and get it installed on your Mac.
Although Fink has a package installer and is really easy to get up and running, follow the instructions closely. In particular, make sure you download the Fink that's right for your OS and install the X11 SDK from your X11 installer (either downloaded or on the Tiger DVD).
Once you have your software installed, type the program's full path in X11's terminal window. For example, to open the Bluefish editor I installed with Fink, I type:
/sw/bin/bluefish &
(The "&" backgrounds the bluefish process, so that I don't have to leave the terminal window open to keep Bluefish up and running.)
The downside to this is having to know the full path of an application's command. Fortunately, fink installs almost everything in /sw/bin/. You can use X11's built-in menu editor to add shortcuts to the the Application menu and not have to type the commands every time.
It's also possible to download packages that utilize X11 but require no typing of commands to launch. One such fantastic package is Gimp.app, which makes installing and running the popular open-source image editor a snap. Just double-click its icon, X11 opens, and then Gimp opens up.
Reason #2: Run Apps on Other Systems
Going back to its client-server methodology, X11 can serve apps over the network using a standard SSH connection.
In a typical SSH connection, you would type something like the following to get a remote terminal connection:
ssh <username>@<host or ip address>
To forward X11 from that SSH connection, use the following for OS X 10.3:
ssh -x <username>@<host or ip address>
Or, for OS X 10.4:
ssh -Y <username>@<host or ip address>
Now you will have a session opened on the remote machine. Just type in an X11 application's command, and it will open in your Mac's X11 environment.
In my day job, I work with an assortment of Linux systems, and running these apps quickly and securely over the network on my PowerBook is a real joy. It beats using a VNC (virtual network computing) client or standing at the console in the server room any day.
This also opens up possibilities for the home user who'd like to try Linux. Linux can run on an old box in your closet while you try out the apps on the laptop from your couch.
Reason #3: Run a Different Desktop Environment
A little bored with OS X and Aqua? With X11, it's possible to run an entirely different desktop environment on your Mac. This includes the ever-popular K Desktop Environment (KDE), which along with Gnome is one of the leaders in Linux graphical environments.
Fink can get you a working KDE installation, and there are quite
a few other methods to get to the same place. Googling for "KDE Mac
OS X install" will bring up quite a few pages for research, but
those actually inclined to run KDE on their Mac will probably enjoy
the challenge (and master it quite easily).
Further Reading
- Link: Preparing for Scribus: Working with X11 and FinkCommander, Jason Walsh, Low End Designer
Recent Plays Well with Others articles
- End of G4 models points to unprecedented value for used G4 Macs, 06.02. The PowerPC G4 may no longer have a place in Apple's product line, but that's a far cry from saying G4-based Macs are obsolete. If anything, there value is going to increase.
- X11: Your window for using Unix apps on the Mac, 05.17. Mac OS X is a Unix variant. X11 is the tool that lets you access Unix applications using a graphical interface with mouse support.
- 6 extensions to make Firefox even better, 03.29. Improve Firefox with everything from web developer tools to nuking unwanted ads, from faster page loads to knowing the weather.
- More in the Plays Well with Others index.
Recent Content on Low End Mac
- Time Machine can now backup to a shard hard drive, Alan Zisman, Zis Mac, 07.08. Earlier versions of Leopard didn't seem to allow backup to a shared drive on another Mac, but the 10.5.4 update allows it.
- More air: Expectations for future MacBook and MacBook Pro models, Dan Knight, Mac Musings, 07.08. Next generation 'Books are expected to include Intel's next generation Montevino processor, but wireless power and wireless USB could give Apple a leg up on the competition.
- Safari 3.1 Is the best browser for Macs and for Windows, Carl Nygren, Classic Macs in the Intel Age, 07.08. Apple's Safari browser is fast, lightweight, and compatible with pretty much any website that doesn't require users to run Windows and Internet Explorer 5.5 or later.
- Best iBook G3 deals, Low End Mac Deals, 07.08. Used clamshell, $100; 500 MHz CD, $169; 700, $279; 600 CD-RW, $240; 900 Combo, $299; 14" 700, $300; 900, $449.
- Best Power Mac G4 deals, Low End Mac Deals, 07.08. Used 450 MHz ACP, $79; 533 DA, $100; 867 QS, $200; 1.25 GHz MDD Combo, $375; 867 dual, $325; 1 GHz, $395; 1.25, $529; 1.42, $619.
- Best classic iPod deals, Low End Mac Deals, 07.08. Used 20 GB, $100; 30, $120; 40, $150; 60 color, $175; 30 video, $160; 80, $200; refurb 80 classic, $209; new, $229; refurb 160, $299; new, $319.
- Mac of the Day: Motorola StarMax 3000 inexpensive clone used lots of off-the-shelf parts.
- List of the Day: PowerList for those using Power Computing Mac clones.
- July 9 in LEM history: 01: Anti-spam measures marginalize low-end Macs - Color Classics on eBay - DSL diary - The 25th Anniversary Mac - 02: eMac test drive - Women in IT - 03: A week with an eMac - Are Apple's applications helping or hurting? - 04: Hardware failure, that rare Mac headache - Radeon Enabler unlocks video features
- Macintosh reliability improving since the shift to Intel, Kev Kitchens, Kitchens Sync, 07.07. For a while in the G3 and G4 era, Apple was plagued with logic board failures and analog board problems, but they seem to be a thing of the past.
- 1.8 GHz, SSD MacBook Air price cuts; Samsung vs. Hitachi notebook drives; Centrino 2 preorders; and more, The 'Book Review, 07.07. Also MacBook shipments up 61% over Q1 2007, Apple notebook redesign rumored, Santa Rosa MacBook Pro video failure, Mopar in-vehicle wireless Internet, bargain 'Books from $150 to $2,749, and m
- iPhone 3G service more costly in States, outrageous in Canada, and more, iNews Review, 07.07. Also long fingernails and the iPhone, future iPhone may include keyboard and Intel Atom CPU, voice control for iPods, Ringtons Studio for the iPhone, and more.
- Best MacBook deals, Low End Mac Deals, 07.07. Used 1.83 GHz Combo, $819; 2.0 SD, $975; refurb 2.1 GHz Combo, $949; 2.4 SD, $1,099; black, $1,299; new 2.1 Combo, $1,005 a/r; 2.2 SD, $1,205 a/r; more.
- Best eMac deals, Low End Mac Deals, 07.07. Used 700 MHz CD, $140; CD-RW, $150; Combo, $170; 1 GHz, $200; 1.25 GHz SD, $230; 1.42 GHz Combo, $300; SuperDrive, $439.
- Best Mac OS X 10.0-10.3 deals, Low End Mac Deals, 07.07. Mac OS X 10.0.3, $40; 10.1, $49; 10.2, $60; 10.3 DVD, $80; CD, $160; 10.1 Server, unlimited users, $80; 10.3 Server, unlimited, $130.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts


