X11 will not start

Hi,

I have a PowerMac G5 (quad processor). When I double-click on /Applications/Utilities/X11.app, nothing happens. I checked the activity monitor and there is nothing for X11.

It has worked in the past. I tried deleting the files: .xinitrc, .xsession and .xtermrc and it doesn't help.

Thanks,
SyB

G5 Quad and MacBook (late 2008), Mac OS X (10.5.8), 4GB memory

Posted on Dec 16, 2010 3:50 PM

Reply
11 replies

Dec 18, 2010 9:40 AM in response to baltwo

Hi,

Thanks for the reply.

I tried deleting both preferences (Xcode and X11). X11.app still would not start. I came across something to the effect that X11 must be reinstalled if there is an operating system upgrade or Xcode upgrade. I downloaded and installed X11-2.5.3.dmg. X11 still won't start.

Thanks again,

SyB

Dec 19, 2010 6:45 PM in response to baltwo

Hi,

I couldn't get X11 to start using

/Applications/Utilities/X11.app

I right-clicked on X11.app and selected "Show Package Contents."

I tried the following and it works:

From an OSX Terminal:

/Applications/Utilities/X11.app/Contents/MacOS/X11.bin &

X11 starts and runs fine.

I don't think that this is the correct way, however it seems to work.

Thanks to everyone for their help.

SyB

Dec 19, 2010 7:10 PM in response to Sy B

Something's amiss with your installation. Boot with your Leopard install disc, launch DIsk Utility from the Utilities menu after selecting your language, select the disk, and repair it. When no errors show up, quit DU, and reinstall the OS, selecting the Archive & Install, saving user and network settings option. After restarting, ensure that X11 can start normally. If so, run Software Update and bring everything up to the latest version.

Feb 3, 2011 10:16 AM in response to Jeffrey Jones2

I have been having the same problem as described above, but the solutions presented have not fixed the problem. I have three problems, all of which give the "/usr/x11/bin/xterm Xt error: Can't open display: 0.0" error:
1) I have to manually launch X11 (using the version from the Snow Leopard disk, or XQuartz) from the dock. Otherwise, I get the display error.
2) If an X11 program crashes (which happens regularly) I receive the "display 0.0" error and can't launch X11 again without logging out/in. This is unacceptable to me.
3) After my computer awakens from hibernation or sleep, X11 will launch from the dock, but will not give the display error if invoked.

Is there something terribly wrong in my system?
Thanks in advance.

Message was edited by: schrodingers_dog

Feb 3, 2011 11:43 AM in response to schrodingers_dog

Terminal, Unix, X11, and command line command questions are best asked in the Mac OS X Technologies > Unix Forum
<http://discussions.apple.com/forum.jspa?forumID=735>

This sounds very much like you have a hard coded DISPLAY environment variable. You DISPLAY environment variable should look more along the lines of:

/tmp/launch-iEh81s/org.x:0

which is created as your Mac OS X GUI session is started, and will be automatically inherited by any processes you start during your Mac OS X GUI session.

But you are reporting 0.0, which has NOT been the case since the days of Tiger 10.4.

I would suggest looking in your shell initialize files to make sure you DO NOT define your own DISPLAY environment variable.

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 will not start

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