Re: Uninstall X11 on Leopard Completely
Re: Uninstall X11 on Leopard Completely
- Subject: Re: Uninstall X11 on Leopard Completely
- From: Toby Curl <email@hidden>
- Date: Mon, 19 Nov 2007 09:33:49 +0000
Ben Byer wrote:
On Nov 18, 2007, at 5:17 PM, Toby Curl wrote:
Toby Curl wrote:
I have broken my X11 installation.
I was doing this:
http://lists.apple.com/archives/x11-users/2007/Nov/msg00005.html and
I am not entirely sure what went wrong, but something has and now I
have no X11.
How can I remove all traces (of both Leopard and the Tiger X11) and
reinstall the Leopard one?
I have now got X11 to run from /usr/X11/X11.app (removed using the
commands here: http://aaroniba.net/articles/x11-leopard.html and
reinstalled from Leopard disk) but the X11.app (launcher) in
/Applications/Utilities/ won't actually load up xterm and hence X11.
I think this might be something to do with the X11 Launch Agent, but
I have no idea how to fix it.
What command would I need to run to set the launch agent back to its
original settings?
Any other ideas?
Am I anywhere near right?
We should be able to fix this, but I need a bit more information.
If you want to start poking around in Terminal, I'd be interested in
seeing the output of these commands:
$ ls -l /usr /usr/X11 /System/Library/LaunchAgents/org.x.X11.plist
(we want to see that all of the files look like they're in the right
place)
$ echo $DISPLAY
(we need to make sure your DISPLAY variable is being correctly set by
launchd; it should be something like "/tmp/launch-xxxxx/:0")
If all of that works, just try running "xterm &" from Terminal.
You also might try running "/usr/X11/X11.app/Contents/MacOS/X11 &"
from Terminal; that should manually start up the X server.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
Sure thing:
$ ls -l /usr /usr/X11 /System/Library/LaunchAgents/org.x.X11.plist
-rw-r--r-- 1 root wheel 474 Nov 19 00:52
/System/Library/LaunchAgents/org.x.X11.plist
/usr:
total 8
drwxr-xr-x 9 root wheel 306 Nov 19 00:45 X11
lrwxr-xr-x 1 root wheel 3 Nov 19 00:44 X11R6 -> X11
drwxr-xr-x 8 root wheel 272 Nov 18 19:48 X11R6OLD
drwxr-xr-x 901 root wheel 30634 Nov 18 23:14 bin
drwxr-xr-x 266 root wheel 9044 Nov 18 00:09 include
drwxr-xr-x 390 root wheel 13260 Nov 18 23:14 lib
drwxr-xr-x 92 root wheel 3128 Nov 15 19:51 libexec
drwxr-xr-x 6 root wheel 204 Nov 12 13:20 local
drwxr-xr-x@ 241 root wheel 8194 Nov 15 19:51 sbin
drwxr-xr-x 70 root wheel 2380 Nov 12 20:32 share
drwxr-xr-x 5 root wheel 170 Oct 26 06:40 standalone
/usr/X11:
total 0
drwxr-xr-x 3 root wheel 102 Nov 19 00:45 X11.app
drwxr-xr-x 113 root wheel 3842 Nov 19 00:44 bin
drwxr-xr-x 3 root wheel 102 Sep 24 06:28 include
drwxr-xr-x 233 root wheel 7922 Nov 19 00:44 lib
drwxr-xr-x 4 root wheel 136 Nov 19 00:44 man
drwxr-xr-x 6 root wheel 204 Nov 19 00:44 share
drwxr-xr-x 3 root wheel 102 Sep 24 01:53 var
and:
$ echo $DISPLAY
:0.0
Running "xterm &" gives this (no xterm is opened or X11):
$ xterm &
[1] 218
$ xterm Xt error: Can't open display: :0.0
[1]+ Exit 1 xterm
and finally running "/usr/X11/X11.app/Contents/MacOS/X11 &" opens X11
and allows me to open and use xterm from its applications menu.
This is the output it gives. "Quiting Xquartz" is where I quit X11 from
the Dock.
$ /usr/X11/X11.app/Contents/MacOS/X11 &
[1] 233
$ X11.app starting:
Xquartz server based on X.org Release 7.2, built on 2007924
Check-in failed: Permission denied
meta mod is 4
Quitting Xquartz...
[1]+ Done /usr/X11/X11.app/Contents/MacOS/X11
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden