- Joined
- May 4, 2009
- Messages
- 21
- Reaction score
- 0
- Points
- 1
- Your Mac's Specs
- Model: Macbook; Processor: Intel Core 2 Duo (2.4GHz); RAM: 2GB (DDR3); Video memory: 256MB
Let me try to explain my problem as best as I can. Please bear with me and let me know what other information I need to provide to troubleshoot this.
Machine description:
Macbook 13.3", Mac OSX 10.5.8, Darwin Kernel Version 9.8.0
Problem description:
It all started when darwinport failed to install kdegames4 (and my efforts thereafter to get that installed!). I can no longer launch any x11 applications --e.g., xterm, xpdf, xdvi, inkscape, molden, gnuplot with x11. After the problem had started, if I tried to start any of these, the X icon would begin bouncing in the dock and go away just to come back a few seconds later --- this would keep going on and on --- even if I tried to kill them by finding them in the terminal. Whenever I moused-over the X icon on the dock it would just freeze everything --- and I had to kill the dock to get my computer responding again (luckily I could use spotlight and terminal to get this done). Before this problem, everything used to work flawlessly.
Disgusted, I installed the Xquartz from
XQuartz
but that did not help me much. The same problem comes back while launching (by directly clicking or from terminal) any x11 application, only this time it does not cause everything to freeze up when I mouse over the bouncing X icon.
Funny that I can access x11 applications from another account on the same machine. This is why I believe that the X11 installation on my machine is OK and it's an OSX specific problem caused by messing up some config files on the problematic account.
I didn't find any reasonable differences between the settings in the two accounts -- except for the fact that the problematic account is my main account and it has lots of other applications installed. Grrrrrrrrrr!
Now it's time for some output:
Result of running startx:
Then it puts dots for a while and at the end says:
Trying it again gives:
Looks like it's setting the DISPLAY to localhost:1 ("kousiks-apple" is the hostname). But I don't see where and how since the output of "echo $DISPLAY" is the same as above!
It spits out the PATH variable at the top because I put "echo $PATH" in the script /Applications/Utilities/X11.app/Contents/MacOS/X11.
I followed the instructions on this page
Leopard and X11
but that too did not help me.
Output of running xinit
I installed the package xkeyboard-config-1.7 to fix the problem with xkb as told somewhere else -- without any visible effect.
In the following link you can find a snapshot of my ~/Library/Prefereces/org.x.X11.plist file
Picasa Web Albums - kousik - Technical
Please please pleeeeease............. help me solve this problem!
Machine description:
Macbook 13.3", Mac OSX 10.5.8, Darwin Kernel Version 9.8.0
Problem description:
It all started when darwinport failed to install kdegames4 (and my efforts thereafter to get that installed!). I can no longer launch any x11 applications --e.g., xterm, xpdf, xdvi, inkscape, molden, gnuplot with x11. After the problem had started, if I tried to start any of these, the X icon would begin bouncing in the dock and go away just to come back a few seconds later --- this would keep going on and on --- even if I tried to kill them by finding them in the terminal. Whenever I moused-over the X icon on the dock it would just freeze everything --- and I had to kill the dock to get my computer responding again (luckily I could use spotlight and terminal to get this done). Before this problem, everything used to work flawlessly.
Disgusted, I installed the Xquartz from
XQuartz
but that did not help me much. The same problem comes back while launching (by directly clicking or from terminal) any x11 application, only this time it does not cause everything to freeze up when I mouse over the bouncing X icon.
Funny that I can access x11 applications from another account on the same machine. This is why I believe that the X11 installation on my machine is OK and it's an OSX specific problem caused by messing up some config files on the problematic account.
I didn't find any reasonable differences between the settings in the two accounts -- except for the fact that the problematic account is my main account and it has lots of other applications installed. Grrrrrrrrrr!
Now it's time for some output:
Code:
18:05:57 [438]$ echo $DISPLAY
/tmp/launch-Cy3Z7G/:0
Result of running startx:
Code:
font_cache: Updating FC cache
xauth: creating new authority file /Users/kousik/.serverauth.13609
xauth: (argv):1: bad display name "kousiks-apple:1" in "list" command
xauth: (stdin):1: bad display name "kousiks-apple:1" in "add" command
font_cache: Done
waiting for X server to begin accepting connections .
..
..
Then it puts dots for a while and at the end says:
Code:
..Quitting Xquartz...
Xquartz: start_x11_server: (ipc/send) invalid destination port
giving up.
/usr/X11/bin/xinit: Connection refused (errno 61): unable to connect to X server
/usr/X11/bin/xinit: No such process (errno 3): unexpected signal 2.
xauth: (argv):1: bad display name "kousiks-apple:1" in "remove" command
Trying it again gives:
Code:
font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth: creating new authority file /Users/kousik/.serverauth.20610
xauth: (argv):1: bad display name "kousiks-apple:1" in "list" command
xauth: (stdin):1: bad display name "kousiks-apple:1" in "add" command
Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
/opt/local/bin:/opt/local/sbin:/Users/kousik/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin
X11.app: main(): argc=2
argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
argv[1] = --listenonly
Waiting for startup parameters via Mach IPC.
X11.app: do_start_x11_server(): argc=6
argv[0] = /usr/X11/bin/X
argv[1] = :1
argv[2] = -nolisten
argv[3] = tcp
argv[4] = -auth
argv[5] = /Users/kousik/.serverauth.20610
Fatal server error:
Server is already active for display 1
If this server is no longer running, remove /tmp/.X1-lock
and start again.
AbortDDX
Quitting Xquartz...
Xquartz: start_x11_server: (ipc/mig) server died
font_cache: Done
giving up.
/usr/X11/bin/xinit: Connection refused (errno 61): unable to connect to X server
/usr/X11/bin/xinit: No such process (errno 3): Server error.
xauth: (argv):1: bad display name "kousiks-apple:1" in "remove" command
Looks like it's setting the DISPLAY to localhost:1 ("kousiks-apple" is the hostname). But I don't see where and how since the output of "echo $DISPLAY" is the same as above!
It spits out the PATH variable at the top because I put "echo $PATH" in the script /Applications/Utilities/X11.app/Contents/MacOS/X11.
I followed the instructions on this page
Leopard and X11
but that too did not help me.
Output of running xinit
Code:
Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
/opt/local/bin:/opt/local/sbin:/Users/kousik/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
X11.app: main(): argc=2
argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
argv[1] = --listenonly
Waiting for startup parameters via Mach IPC.
X11.app: do_start_x11_server(): argc=2
argv[0] = X
argv[1] = :0
Xquartz starting:
X.Org X Server 1.5.3-apple14
Build Date: 20090812
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
(EE) XKB: No components provided for device keyboard
waiting for X server to shut down
I installed the package xkeyboard-config-1.7 to fix the problem with xkb as told somewhere else -- without any visible effect.
In the following link you can find a snapshot of my ~/Library/Prefereces/org.x.X11.plist file
Picasa Web Albums - kousik - Technical
Please please pleeeeease............. help me solve this problem!