x11 woes :(

Hi there,

I installed x11 on my iMac from the Tiger disk yesterday. I then tried to open Gimp 2.2.1. I got the message, Failed to start x11Gimp.app requires Apple's x11

I looked in the Utilities folder and x11 was there. However, if I clicked on it to start it, it appeared to start and then just went away. Today, I put in my Tiger disk again and reinstalled x11. Got the message, "The software was successfully installed," but the app file in the Utilities folder still shows yesterday's date and when I try to open Gimp, I get the same failed to start x11 message. If I double click on x11 to start it, it seems as if it's starting and then quits and disappears.

A weird thing: even though when I open a Finder window and look at the x11 app and see yesterday's date, when I do a search in Spotlight for x11 the application is shown with today's date. Maybe that has nothing to do with the problem, but it sure is odd.

Help!

Thanks!

Christina

Powerbook G4; Intel iMac Mac OS X (10.4.5)

Posted on Mar 29, 2006 3:20 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Mar 29, 2006 4:15 PM

goto your utilites folder and open your console and observe the messages it displays when you try and launch X11. Can you post them back here if they look relevant.
19 replies
Sort By: 

Mar 29, 2006 8:36 PM in response to Tim Haigh

Hi Tim,

(I didn't even know there WAS a console.) Here's what happened:

XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[DRI] screen 0 installation complete
Screen 0 added: 1680x1050 @ (0,0)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
X connection to 😮.0 broken (explicit kill or server shutdown).

What does that mean?

Christina
Reply

Mar 30, 2006 11:34 AM in response to Christina M.

FWIW, when I launch X11, which works fine, as does the GIMP, I get this in Console:

XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
[DRI] screen 0 installation complete
Screen 0 added: 2624x1024 @ (-1024,0)
Screen 0 placed at X11 coordinate (0,0).
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

And I took a look at the man entry for "fc-cache"--which exists, but has no options (I use the bash shell). Here's the synopsis:

NAME
fc-cache, fonts.cache - create an index of FreeType font files in a
directory

SYNOPSIS
fc-cache [directory-name ... ]

DESCRIPTION
If directory arguments are not given, fc-cache uses each directory in
the current font configuration. Each directory is scanned for font
files readable by FreeType. A cache is created which contains proper-
ties of each font and the associated filename. This cache is used to
speed application startup when using the fontconfig library.

FILES
fonts.cache Maps file names to font properties. Read by the font-
config library at application startup to locate appro-
priate fonts.

You might try launching Disk Utility and Repair Permissions. Then delete the x11 pref file:

"/Users/yourname/Library/Preferences/com.apple.x11.plist"

and try launching X11 again. Also, you might check in the Console Logs for a crash report. Click the Logs icons, expand ~/Library/Logs and then the CrashReporter and see if there is a report for X11.

Finally, you might try reposting your problem to the UNIX forum:

http://discussions.apple.com/forum.jspa?forumID=735

I did a quick search there but didn't really find anything relevant.
Francine

User uploaded file
Francine
Schwieder
Reply

Mar 30, 2006 2:55 PM in response to Francine Schwieder

Hi Francine,

I followed your instructions and it still crashes. One thing that happened after I threw out the preferences file was I got this message when starting x11:

Alert

You have an existing ~/.xinitrc file.
Windows displayed by x11 applications may not have titlebars, or may look different to windows displayed by native applications.
Would you like to move aside the existing file and use the standard x11 environment?

The yes button was highlighted, so I clicked it, then x11 crashed.

There is a lot in the x11 crash log. Including:

Exception: EXC BADACCESS (0x0001)
Codes: KERN PROTECTIONFAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 com.apple.x11 0xb807b0c1 0xb8000000 + 504001
1 com.apple.x11 0xb808f402 0xb8000000 + 586754
2 com.apple.x11 0xb80e46ca spin lockwrapper + 5140
3 com.apple.x11 0xb8005208 0xb8000000 + 21000

and then later:

Translated Code Information:

Rosetta Version: 14.05
Args: /Applications/Utilities/X11.app/Contents/MacOS/X11 -psn 02883585
Exception: EXC BADACCESS (0x0001)

Thread 0: Crashed (0x8085aa00, 0xb807b0c1)
Bad Stack


Does any of that mean anything to you?

Thanks!

Christina

Powerbook G4; Intel iMac Mac OS X (10.4.5)
Reply

Mar 30, 2006 2:57 PM in response to Tim Haigh

Hi Tim,

I don't remember. I have a PowerBook that I connected to the iMac and it copied over everything from there. I probably didn't install BSD subsystem or Developer tools. Is there an easy way to check? Are these things I would need to run x11 and use Gimp?

Thanks!

Christina
Reply

Mar 30, 2006 3:29 PM in response to Christina M.

You would would need the bsd system to run X11 and some unix programs you want to compile yourself would need the developer tools.

You can check to see if the BSD subsystem was installed on your mac by opening a finder window and navigating to

/Library/Receipts

and in the list you should see

BSD.pkg

If it is not there you can install it from your Tiger install disk by going to

/Volumes/'Mac OS X Install Disk 1"/System/Installation/Packages/BSD.pkg
Reply

Mar 30, 2006 4:27 PM in response to Christina M.

OK when you use the command i posted did you copy paste it into your terminal.

here it is again just in case.

sudo fc-cache -f -v



the command fc-cache is part of X11 so just to make sure you have it do these commands in your terminal press enter after each line

cd /usr/X11R6/bin



This will change directory, so your moving into the X11 directory.

ls



this command will list all the files in that directory , fc-cache should be in there. if it is try this command

sudo ./fc-cache -f -v




It just occured to me that if you just copied the X11 application itself from one mac to another then you don't have a full installtion of X11. You would need to install it from your tiger install disk but you said you had done that already.
Reply

Mar 30, 2006 10:13 PM in response to Christina M.

I have a PowerBook that I connected to the iMac and it copied over everything from there.


I'm afraid I'm confused by this (and so may be your system). When you say you copied everything, just what do you mean? I'm also confused about what you have--do you have an old PowerBook and a new intel iMac? If that is the case the only things you should copy over would be your own data files. I'm concerned about the message that mentions Rosetta. It may be that if you did NOT install X11 from the install disk that came with the iMac, and also simply copied your user folder from the PowerBook to the iMac you could have a strange mix of incompatible files.
Francine

User uploaded file
Francine
Schwieder
Reply

Mar 31, 2006 9:39 AM in response to Tim Haigh

Hi again Tim,

Yes, I pasted it into my terminal. This is what happened:

Last login: Thu Mar 30 11:08:54 on ttyp1
Welcome to Darwin!
You have new mail.
[blank-blanks-Computer-2:~] ckm% sudo fc-cache -f -v
Password:
sudo: fc-cache: command not found
[blank-blanks-Computer-2:~] ckm%

I didn't copy the x11 from the PowerBook because it's an older one without x11. I did install it from the Tiger disk. I actually tried reinstalling from the disk three times, following Francine's directions, after it didn't work the first time.

Christina
Reply

Mar 31, 2006 9:43 AM in response to Francine Schwieder

Hi again Francine,

When I said I copied "everything," I meant, when I first started up the new iMac, it gave me the choice to connect by firewire to the PB and copy over. So, I firewired the two and all my stuff was copied over automatically. Not x11 though, because it's an older PB. I installed that from the Tiger disk (three times, actually, following your instruction to delete the preferences file).

This probably isn't the problem, I don't see how it could possibly be, but I was installing from the Tiger DVD I bought about six months ago for the PB. I will try again, using the disk that came with the iMac.

Christina
Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

x11 woes :(

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.