Ticket #258 (closed crash: invalid)

Opened 4 years ago

Last modified 3 years ago

X11.app does not start from its icon

Reported by: slabrosse@… Owned by: jeremyhu@…
Priority: Important Milestone:
Component: X11.pkg Version: 2.3.2 (xserver-1.4.2-apple31)
Keywords: Cc:

Description

Hello,

I installed the latest version of X11 (2.3.2) and when I try to launch it by double clicking on the icon, it bounces a minute and stops, never giving access to its menu. The icon appears in the dock but right clicking on says the "application does not answer". Nothing happen on the console and in the terminal I checked pstree and DISPLAY:

echo $DISPLAY ; pstree -s X11

/tmp/launch-aVyaO1/:0

-+= 00001 root /sbin/launchd

+= 00284 stephane /sbin/launchd

| \-+= 01299 stephane -/bin/bash --login -c exec "${@}" - /Applications/Utilit

| \-+- 01302 stephane -/bin/bash --login -c exec "${@}" - /Applications/Util

| \-+- 01303 stephane /bin/sh /usr/libexec/path_helper -s

| \--- 01304 stephane /bin/sh /usr/libexec/path_helper -s

+- 00336 stephane -/bin/bash --login -c exec "${@}" - /Applications/Utilitie

| \-+- 00337 stephane /bin/sh /usr/libexec/path_helper -s

| \--- 00338 stephane /bin/sh /usr/libexec/path_helper -s

+- 01200 stephane -/bin/bash --login -c exec "${@}" - /Applications/Utilitie

| \-+- 01205 stephane -/bin/bash --login -c exec "${@}" - /Applications/Utilit

| \-+- 01206 stephane /bin/sh /usr/libexec/path_helper -s

| \--- 01207 stephane /bin/sh /usr/libexec/path_helper -s

\-+- 01258 stephane -/bin/bash --login -c exec "${@}" - /Applications/Utilitie

\-+- 01259 stephane /bin/sh /usr/libexec/path_helper -s

\--- 01260 stephane /bin/sh /usr/libexec/path_helper -s

Then, I can start X11 by typing startx in the terminal and I get :

startx &

[1] 1592

-bash-3.2$ font_cache: Scanning user font directories to generate X11 font caches

font_cache: Updating FC cache

xauth: creating new authority file /Users/stephane/.serverauth.1592

Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11

Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly

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] = :0

argv[2] = -nolisten

argv[3] = tcp

argv[4] = -auth

argv[5] = /Users/stephane/.serverauth.1592

font_cache: Done

2009-04-20 13:31:21.430 X11.bin[1668:717] Could not connect the action apps_table_cancel: to target of class X11Controller

InitConnectionLimits: MaxClients = 255

Xquartz starting:

X.Org X Server 1.4.2-apple31

Build Date: 20090102

Sync Extension 3.0

(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base

(dix) initialising device 0

(dix) initialising device 1

(dix) initialising device 2

(EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base

(dix) initialising device 3

(dix) initialising device 4

(dix) initialising device 5

(dix) initialising device 6

(dix) enabling device 0

(dix) enabling device 1

(dix) enabling device 2

(dix) enabling device 3

(dix) enabling device 4

(dix) enabling device 5

(dix) enabling device 6

AllocNewConnection: client index = 1, socket fd = 6

AllocNewConnection: client index = 2, socket fd = 8

AllocNewConnection: client index = 3, socket fd = 11

AllocNewConnection: client index = 3, socket fd = 11

AllocNewConnection: client index = 3, socket fd = 11

AllocNewConnection: client index = 4, socket fd = 14

And in the console:

20/04/09 13:31:19 org.x.privileged_startx[1599] font_cache: Scanning system font directories to generate X11 font caches

20/04/09 13:31:19 defaults[1624]

The domain/default pair of (org.x.X11, dpi) does not exist

20/04/09 13:31:19 defaults[1624]

The domain/default pair of (org.x.X11, dpi) does not exist

20/04/09 13:31:20 org.x.privileged_startx[1599] font_cache: Updating FC cache

20/04/09 13:31:21 X11.bin[1668] Could not connect the action apps_table_cancel: to target of class X11Controller

20/04/09 13:31:21 X11.bin[1668] Could not connect the action apps_table_cancel: to target of class X11Controller

20/04/09 13:31:23 org.x.privileged_startx[1599] font_cache: Done

X11 then works properly but with two icons in the dock if the one oppened before was not forced to quit.

Some additionnal informations that could be related

  • when I launch a terminal, it hangs without giving me the prompt. I have to Ctrl-c to get it. I tried removing all init files (.bashrc, .profile, etc) without any effect on any of the story above.
  • I have both fink and macport installed.

Any help would be appreciated.

Change History

comment:1 Changed 4 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to invalid
  • when I launch a terminal, it hangs without giving me the prompt. I have to Ctrl-c to get it

Well that is the heart of your problem. Try removing ALL of your init files: ~/.profile ~/.bashrd ~/.bash_profile /etc/profile /etc/bashrc

Join the x11-users mailing list (see the link on the left) as that's a more appropriate venue to discuss this issue since you'll get more eyes and possibly help others as well.

Note: See TracTickets for help on using tickets.