Slashdot Log In
Apple Explains How to Run X11 on Mac OS X
Posted by
michael
on Fri Jan 21, 2005 03:30 PM
from the having-it-your-way dept.
from the having-it-your-way dept.
tuc writes "In this document posted on its Developer Connection, Apple explains how to install X11R6 on Mac OS X, details of the default quartz-wm window manager, how to compile X11 code on Mac OS X, how to install OpenOffice, and the like."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Weird (Score:5, Interesting)
I think I'll wait to RTFA until after I've tried everything on my own first. Nothing like thrashing randomly to help you learn about a system :-)
Why? (Score:3, Interesting)
Re:Why? (Score:5, Insightful)
Like I said, I'm in the middle of the project right now, so I don't know if it will be easy or hard. But I think you're jumping to the conclusion that it'll be a piece of cake just a LITTLE too soon...
Parent
Re:Why? (Score:3, Informative)
On the other hand, it requires your end users to have X11 already installed and configured, which might be more of an issue for you, depending on your target audience.
Re:Why? (Score:3, Insightful)
Actually, the X11 version provided by Apple can run rootless OR fullscreen. Personally I use it mainly fullscreen with WindowMaker as WM -- it's quite puzzling for people that see me using WM on my ibook, thinking I'm under linux, when with a mouse stroke I reveal the OSX desktop ;-)
I also used it in Xnest, that can be useful too. Here is the small script I have to run it in Xnest:
Re:Trash your mac? (Score:5, Informative)
It's much less work than, say, porting a UNIX project to run on Windows, but it's definitely much more complicated than just copying the source code to the Mac and typing "make."
Parent
The real question (Score:5, Funny)
Re:The real question (Score:5, Funny)
Parent
Re:The real question (Score:5, Funny)
KeS
Parent
Step 1: Double click X11.app (Score:5, Insightful)
Re:Step 1: Double click X11.app (Score:3, Interesting)
I should try submitting "Apple posts technical Q&A on variable arguments in Objective-C methods" as a slashdot article, if every update to the ADC website needs its own story.
Re:Step 1: Double click X11.app (Score:5, Funny)
Parent
Re:Step 1: Double click X11.app (Score:3, Informative)
Depends. If you're running anything in KDE or Gnome, there's quite a few steps that Apple doesn't go into. I was quite perturbed to install KDE, have it start up successful, and get the Quartz WM trying to take it over (imagine KDE dialogs with Quartz close buttons). It took me a long time to figure out exactly what needed to be added to the
Re:Step 1: Double click X11.app (Score:3, Informative)
Re:Step 1: Double click X11.app (Score:3, Informative)
X on windows (Score:3, Funny)
Reaction to OpenOffice (Score:4, Insightful)
Apple doesn't want people to think they are locked into MS Office (hope it continues to support Mac OS X).
This way, Apple can say commercial grade alternatives do exist.
Apple's products aren't bad... but lets face it, they target home and educational use. Not a business person who wants to occasionally work from home. Microsoft does have powerful software, despite being buggy and insecure.
IMHO Open Office rocks. Wish Apple would invest in an aquafied port.
Re:Reaction to OpenOffice (Score:5, Insightful)
Apple doesn't want people to think they are locked into MS Office (hope it continues to support Mac OS X).
This way, Apple can say commercial grade alternatives do exist.
No, this is. [apple.com]
Parent
Re:Reaction to OpenOffice (Score:3, Insightful)
Oh, there isn't one? Guess I'll have to wait for version 2, since iWork with spreadsheets every day and I haven't found a decent Mac spreadsheet app besides Excel. OpenOffice's spreadsheet program is non-native, ass-slow, and supports half as many rows as Excel does (32,000 versus 65,536). Gnumeric is even worse than OpenOffice at reading or writing Excel files, and it too is not Mac native.
Re:Reaction to OpenOffice (Score:5, Informative)
Parent
Re:Reaction to OpenOffice (Score:4, Interesting)
As of OS-X, there is a *LOT* of interest in Apple systems as engineering workstations. That's what I'm using, as are many people I know. This mac replaced my linux box at work.
The big interest in Macs as engineering workstations isn't exactly a big secret.... anyway not to anyone in the engineering field.
Yes, there are also plenty of other platforms used. Still a lot of Sun/Linux/other boxes here as engineering workstations, and that isn't about to change in the near future. The Macs aren't suddenly taking over it all - but they are certainly now a significant player in that market.
Parent
eWeek article on "cancelation" with clarification (Score:5, Informative)
Well, as it turns out my update to the timeline was grossly misquoted in a couple of places. The update was really just to put things in perspective as to what was really going on in the various projects as well as to reinforce the importance of the X11 work. It was never intended to "cancel" anything since, well, there wasn't really anything to cancel. The update was just stating how things really are within the project.
Today's article on eWeek [eweek.com] has some much better reporting on the progress towards 2.0 X11 and other issues that had been raised by my update. I highly recommend giving it a read as it's a bit more informative then the old
ed
Parent
Remote Applications (Score:5, Insightful)
Re:Remote Applications (Score:5, Informative)
In all seriousness, I guess the deal here is that it's a newer version than what ships as X11.app? 'About' says 'X11 1.0 - XFree86 4.3.0'. I know the '1.0' refer's to the fact that it's *Apple's* 1.0, but can someone who spends more time with X than I do explain the significance of X11R6?
[later]
OK, I just looked at TFA. The title of this summary is a bit misleading--this title is "Apple Explains How to Run X11 on MacOS" but the actual article's title is "Configuring and Running X11 Applications on Mac OS X" and in goes on to say "X11 for Mac OS X... includes the full X11R6.6 technology including an X11 window server, Quartz window manager, libraries, and basic utilities such as xterm." OK, got it. I think. Still not sure how R6 and 4.3.0 relate, but the main thing is, there is nothing new here. They're talking about the X11 that OS X ships with.
Parent
Re:Remote Applications (Score:5, Informative)
4.3.0 is the version of the Xfree86 software that Apple ships with OS X, which implements X11R6.6.
Parent
Re:Remote Applications (Score:4, Informative)
X11 is two things, a standard for windowing systems, and a series of implementations of that standard. X11, the standard, is developed by the X.org foundation, at www.x.org. The current base version of that is version 11, release 6, X11R6. Don't let the version 11 thing fool you though, X has been at version 11 since 1987, and likely will never get to version 12, which is why everyone just calls it X11.
As for the implementations
Parent
FINK (Score:3, Informative)
Re:FINK (Score:4, Funny)
Parent
XFree86? Why not X.org? (Score:3, Interesting)
Is apple going to switch to X.org, since most everyone else has already? or are they sticking with XFree86 for the long run? What kinds of compatibility issues will develop as a result of that?
For the security guys (Score:5, Interesting)
2 points to Apple for doing that, and making my coworkers jobs a little harder (they're penetration testers).
I found Abiword to be much easier than OO (Score:5, Informative)
http://www.abisource.com/ [abisource.com]
I could never get OO to work on OS X, though I use it on my Windows Machine.
Minor OpenOffice.org corrections (Score:5, Informative)
I happily noticed this myself earlier on in the week and was impressed to find the OpenOffice.org related section. Unfortunately there are some inaccuracies in the section, but I couldn't find any address to which corrections should be submitted.
Perhaps the most major omission is that the OpenOffice.org Mac OS X (X11) installer is not limited to 10.3 only. In fact, it supports both 10.2 and 10.3. For 10.2 users it also will automatically install XFree86 and a window manager if the system does not have XFree86 on it. Since Apple X11 is not redistributable under its license, 10.3 users are required ot manually install Apple X11. Ironically, that makes installation on 10.3 more inconvenient then 10.2!
On the trinity forums [neooffice.org] Smokey also noticed the file format "incompatibility" line in the article. It isn't actually true since OpenOffice.org is 100% compatible with StarOffice which, last I checked, is a commercial office suite even if it doesn't run on Mac OS X
Even with the little foibles, it's great to see support from Apple for X11 applications in general as well as a basic introduction that can help open up the entire world of X11 OSS applications for users, not just OpenOffice.org.
ed
Dumb explanation of X 'client' / 'server' (Score:3, Informative)
Re:Dumb explanation of X 'client' / 'server' (Score:3, Insightful)
Please don't use X11 OpenOffice on OS X (Score:5, Insightful)
I realize we're stuck with X11 on Unix, but if you're sitting on top of Quartz, might as well use it, no?
XDarwin forums still the best place to get advice (Score:4, Informative)
Re:unix? (Score:5, Interesting)
Believe me, you do not want to see what the Makefiles for a piece of software like that look like. We're talking about the era before GNU-style "configure" scripts and Makefile modularity. It's hideous. But it works. And it makes the differences between the various UNIX platforms as clear as day.
Right now, I'm in the middle of porting our main project to run on OS X, so this article is very timely. To be honest, I anticipate that the majority of the difficulty will be in getting the make system to run correctly, and possibly fixing a number of linker issues. I expect that the code itself will work almost unmodified.
Parent
Re:unix? (Score:3, Funny)
Re:unix? (Score:4, Interesting)
My solution was to have the top-level Makefile set a variable based on running the 'uname' command, and then 'include' the definitions that worked for the platform, based on the variable name (we were running gcc and gmake on all the platforms, although the windows one was cross-compiled under Linux. Believe it or not, this was easier!)
So, CC, CXX, JAVA, LD, RM, AR, RANLIB
etc. etc were all defined within the platform-specific file, and the main Makefile looked pretty clean. All you have then are the #ifdef statements in the source code. It did get to the point where for one project we simply had different source code for the Windows variant, and the platform-specific Makefiles copied the correct file into place before trying to compile the module in question...
Looking back at the posts I'm making on
Simon.
Parent
Re:atleast its good to see.. (Score:3, Insightful)
I don't think Apple is embracing it. They're providing compatibility to a clunkier interface but that opens them up to the zillions of unix/linux apps available. Most of the software that runs in X11 wouldn't be considered competing packages.
Re:Slow news day? (Score:4, Informative)
Parent
Re:Wow, really? (Score:3, Interesting)
Apple committed to XFree86 long before they changed the license. They may move to X.org as that implementation gets better features.
Re:Wow, really? (Score:3, Informative)
Re:Wow, really? (Score:3, Insightful)
Re:Wow, really? (Score:3, Informative)
But seriously, thanks for clearing that up. All 12 of you.
Re:Do they really need a step by step.. (Score:4, Informative)
Parent
Re:Do they really need a step by step.. (Score:3, Insightful)
Why shouldn't they? Macs appealed to all different types of users including the lowly n00b that didn't want to know anything about their machines.
A step by step guide (including how to do it all over SSH) is a great way to bring the information to ALL their users.
OS X has been running X11 for quite some time. It's just now that there might be a need for all their users to get access to it.
Re:Apple should... (Score:3, Informative)
If the X11 server was preloaded onto all Apple systems, it would also solve quite a number of distribution problems for OpenOffice.org and other X11 applications. The license for Apple X11 doesn't allow third parties to bundle it and redistribute it. That makes it really frustrating from an installation perspective. Instead of being able to automatically install the X11 server (like we do using XFree86 for 1
Re:Interesting move. (Score:5, Interesting)
Of course, they compete with eachother, but what you describe doesn't sound like my interpretation of Apple and MS's behaviour.
The Macintosh Business Unit at Microsoft have a very close relationship with Apple. They're not just some MS developers who've been told to bash out some Mac knock-offs of Windows software. They're all long-time Mac developers who want to make the best Mac software they can. The spin-off of the MacBU to a separate division meant that they could work on making Mac software, not Windows ports. As this [macworld.com] article explains, before the creation of the MacBU, the Win & Mac versions of Office shared 80% of the same technology. The result? Shoddy, un-Maclike software which no-one liked and few bought. The MacBU now works every bit as closely with Apple's technologies as it does with MS's.
Office:Mac (both v.X and 2004) are very nice programs. They're not perfect, but they bring a very usable, feature-rich, Mac-specific Office suite to the platform.
Apple would not benefit one single bit from making the MacBU's software unprofitable for Microsoft. iWork is not a replacement for Office. Keynote's a very nice alternative to PowerPoint, sure. But one app does not an Office-suite make. Pages is clearly not in the same space as Word. If you need Word, you won't buy/use Pages. If you don't need Word or can't afford Office, Pages is a sensible choice. If Pages is aimed at those who don't need or won't buy Office, it's hardly a competitor, is it?
Just as Pages is not a drop-in replacement for those who need Word, any rumoured spreadsheet app will not be a drop-in replacement for those who need Excel.
Apple aren't in the business of making 'temporary, difficult alternatives'. They're about fulfilling user's needs (with the caveat that, like all corps., they don't always get that right!).
Parent
Re:Funny, I read this article earlier today (Score:4, Informative)
By the way, if you're new to OS X, I'd recommend checking out Fink [sourceforge.net]. It's basically a package manager for UNIX software that is known to compile on OS X; it works somewhat like Debian's apt-get (it uses the
Parent