Mac Os X X11 Download

  • Client Index

IMPORTANT: If you are running Mac OS X 10.4 (Tiger) or older, then the following instructions can work for you. Otherwise, for Mac OS X (all versions), the JX Client is the recommended client option.

The Mac OS X - X11 (Intel) client is available through three methods

X11 Update for Mac OS X 10.7.5 is a software package designed to improve the performance of X11 applications. X11 Update for Mac OS X 10.7.5 will also fix an issue that caused some applications that use X11 to quit and is recommended to all X11 users. It come with the Mac OS X 10.8 Mountain Lion installer. INSTEAD Apple are going to direct Mac users to download exactly what we have here: XQuartz, the source project for X11. So if you like X11, download the latest stable XQuartz and get to work with it! Be sure to read ALL the documentation at the source website BEFORE you download.

Any updates or corrections to this page can be made or discussed on the Crossfire Wiki, http://wiki.cross-fire.org/dokuwiki/doku.php/client:osx

Fink

Description:

Mac OS X package for crossfire-client in the Fink package manager

Installation Instructions:

Follow the install instructions found at the Fink website, http://www.finkproject.org/download/index.php

IMPORTANT: By default, Fink contains v1.7.0 of the client - see further down the page to learn how to upgrade the client installation

  1. Download the installer disk image
  2. Double-click the .dmg to mount the disk image
  3. Double-click the 'Fink Installer.pkg' package inside. Follow the instructions on screen.
  4. Open a new Terminal.app window and run the following: fink scanpackages; fink index
  5. Once that is finished, install any updates available for Fink. In the same Terminal.app window enter the following: sudo apt-get update ; sudo apt-get install fink
    1. Another option for updating: fink selfupdate;fink update-all

X11 Osx

Mac

Note: Leopard Users will need to compile from source as there is binary release available

Screen Shot:

A screen shot of the GTK-v1 Client is here.

A screen shot of the GTK-v2 Client is here.

Location:

Precompiled Upgrade Package

IMPORTANT: The packages are considered Experimental, which means it has limited testing - but the results have been successful.

Once the client has been successfully installed, there is a .dmg file available for download that will let you run any of the three clients (crossfire-client-x11, crossfire-client-gtk and crossfire-client-gtk2)

Mac

Location:

  • Download Mirror: http://crossfire.real-time.com/download/macosx/crossfire-client1.10.dmg

Installation Instructions:

  1. Wait for the file to download and follow the screen prompts
  2. Accept the prompts about installing the package
  3. In a new window, click on the client you wish to run
    1. For crossfire-client-x11 client: cfclient
    2. For crossfire-client-gtk: gcfclient
    3. For crossfire-client-gtk2: gcfclient2

Note: With the GTKv2 client, after first launching click on the green “+” which will then let you resize the client window.

Note: The binary files where compiled on OS X 10.5, they are untested on earlier or on past versions.

Compile from Source Code

Compiling from source code requires some additional files to be downloaded.

  1. You should have Subversion installed by default.
    1. You can check with this command in a Terminal.app window: svn –help
  2. Run Subversion to download the latest snapshot of the client source code.
    1. For trunk: svn co https://svn.code.sf.net/p/crossfire/code/client/trunk client.svn
    2. For branch/1.x: svn co https://svn.code.sf.net/p/crossfire/code/client/branches/1.x client.svn
    3. For 1.10.0 release: svn co https://svn.code.sf.net/p/crossfire/code/client/tags/1.10/ client.svn
  3. You will need libpng to compile the client
    1. Download http://ethan.tira-thompson.com/Mac OS X Ports_files/libpng (universal).dmg the libpng individual installer
    2. Double click the .dmg package and follow the on screen prompts and instructions
  4. Change directories to client.svn and run the following commands:
    1. ./configure
      1. Just about all of your errors from ./configure can be fixed by installing the fink packages for them, not including the libpng.

GTKv1 Client

  1. Change directories to the gtk directory
    1. Make sure you are in the correct directory by using the pwd command - it should be: /Users/<user_name>/client.svn/gtk
    2. Run this command: ./crossfire-client-gtk &

GTKv2 Client

  1. Change directories to the gtk directory
    1. Make sure you are in the correct directory by using the pwd command - it should be: /Users/<user_name>/client.svn/gtk-v2/src
    2. Run this command: ./crossfire-client-gtk2 &

Source Code

If you’ve ever thought about running Unix programs on your Mac, you might have assumed that meant you were stuck with the command-line interface. But you aren’t. Go to Leopard’s Applications: Utilities folder and double-click on X11.app. That will open xterm. At first, you might think it’s just another command-line tool like Mac OS X’s Terminal. But xterm is actually a gateway to something much bigger: the X11 graphical computing environment.

From X11 (which runs side by side with Mac OS X’s native Aqua environment), you can run a host of graphical Unix programs—applications that haven’t been fully ported to Mac OS X—as well as applications on remote Linux or Unix systems. Here’s a quick look at X11 and a few of the things you can do with it.

(Note: If you’re still running Tiger, you won’t find X11 installed by default; you’ll have to insert your Mac OS X install discs, run the Optional Installs package, and install it from there.)

X11

Where to Get X11 Programs

The OS X install of X11 comes with a few programs of its own. For example, type /usr/X11/bin/xeyes & at the X11 command-line prompt, and you’ll open xeyes, a little program that puts a pair of animated eyes on your X11 desktop; move your cursor, and the eyes will follow it. Type /usr/X11/bin/xcalc &, and you’ll get an X11-based calculator. To get a list of the X11 programs that come with OS X, type ls /usr/X11/bin. You can then get more information about any of the programs listed there by typing man program name. That will summon the Unix manpage viewer and the text-only documentation for that program.

To be honest, the X11 applications that come with OS X aren’t all that exciting. To get more interesting ones, you have to download them.

The X11 program that I most highly recommend is GIMP (GNU Image Manipulation Program). It’s a great image editor that’s actually comparable in some ways to Adobe Photoshop. If you download it from gimp.org, you’ll get a huge pile of source code that you’ll then have to build into an operable program. It’s far easier to download the GIMP binary from Wilbur Loves Apple. There, you’ll find GIMP 2.4.5 for both OS X 10.5 and 10.4 (Intel and PowerPC). Once you download that, you can just open the disk image and copy Gimp.app to your Applications folder.

While GIMP may be the best-known X11 program that will run on the Mac, there are hundreds of others worth checking out: Inkscape is a free vector-drawing program similar to Adobe Illustrator. If you want to run Microsoft Internet Explorer on your Intel Mac, you can do so with ies4osx, an X11-based application that uses the Wine Windows emulator to run any of four different versions of Explorer. (ies4osx uses a Mac-specific variant of Wine called Darwine, which is provided as a download on the ies4osx site along with ies4osx itself.)

Finally, if you really want to explore the world of X11 software, you can download and install either MacPorts or Fink. Both are open-source applications that attempt to catalog and help you install dozens of different X11 programs. But be warned: If you’re not familiar with the command line and Unix file management, don’t bother with either of them.

Different Interfaces

Whatever applications you want to try, you’ll notice immediately that they have their own look-and-feel, and it’s different from OS X’s.

For example, if you open GIMP, xcalc, and xeyes at the same time and then switch between them, you’ll notice that the X11 menu bar at the top of the screen remains the same no matter which application has the focus. If you can get used to not zipping up to the top of the screen to find a program’s menus, you should do just fine with X11.

Individual X11 programs often have menus and other interface elements of their own in addition to that overall X11 menu bar, and those elements aren’t consistent from one program to the next. For example, to open a menu in xterm, you control-click; other programs display their menus at the top of their own windows.

Other interface conventions vary in X11. For instance, most of the time you can highlight a text selection in an X11 application, and select Edit: Copy or press command-C to copy it. However, when you switch to another X11 program to paste in that selection, you’ll notice that the Edit: Paste menu item in X11’s global menu is grayed out; command-V won’t do anything. Instead, each X11 application uses its own pasting command. Most commonly, you’ll press the middle mouse button to paste; if your mouse doesn’t have three buttons, go to Preferences: Input, select Emulate Three Button Mouse, and follow the instructions.

Running X11 Remotely

Mac Os X X11 Download

If you have access to a remote Unix or Linux system (either in your office or on the Internet), you can connect to it via Secure Shell (SSH) and then run remote X11 applications that will display on your Mac’s desktop.

For this to work, the remote computer needs to be configured to permit SSH logins and to allow X11 to run over SSH. To do this, open xterm and type ssh -X username@hostname (replacing username with your remote user name and hostname with the host name or IP address of the remote computer). Log in with your password.

Mac Os X X11

That done, try running an X11 application: xterm, xeyes, Firefox, or anything else that’s installed on the remote system. Depending on the speed of the connection, that application should open fairly quickly. If you get the message “error: Can’t open display: DISPLAY is not set,” this usually means the administrator of the remote computer needs to enable the X11 Forwarding option in the sshd_config file before you log in.

Mac Os X11

Brian Jepson is the executive editor of Make magazine’s book series and the coauthor of Mac OS X for Unix Geeks, fourth edition (O’Reilly, 2008).

Comments are closed.