Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18310 closed defect (invalid)

xorg's X11.app does not succeed at startup

Reported by: yves@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: xorg startx x11 Cc:
Port: xorg-libXfont

Description (last modified by yves@…)

Clicking Macports installed X11.app make the app start and stop before anything happen.

Using "startx" does not really help

~ yves$ which startx
/opt/local/bin/startx
~ yves$ startx
bootstrap_look_up(): Unknown service name
font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth:  creating new authority file /Users/yves/.serverauth.27466

Xquartz: Could not find a new enough X11.app LSFindApplicationForInfo() returned
         X11.app = /Applications/Utilities/X11.app
         Version = 2.1.5 (2158000), Expected Version > 2.3.0
font_cache: Done
giving up.
xinit:  Connection refused (errno 61):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

of course, X11.app is in /Applications/MacPorts

Change History (7)

comment:1 Changed 15 years ago by yves@…

Description: modified (diff)
Summary: xorg's X11.app does not succeed at statupxorg's X11.app does not succeed at startup

comment:2 Changed 15 years ago by yves@…

Description: modified (diff)

Here is some maybe more useful output :

~ yves$ /Applications/MacPorts/X11.app/Contents/MacOS/X11
X11.app: main(): argc=1
	argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin
Waiting for startup parameters via Mach IPC.
X11.app: Could not connect to server (DISPLAY is not set).  Starting X server.
X11.app: Launching /opt/local/bin/startx:
	argv[0] = /bin/sh
	argv[1] = -c
	argv[2] = /opt/local/bin/startx
font_cache: Scanning user font directories to generate X11 font caches
bootstrap_look_up(): Unknown service name
font_cache: Updating FC cache
xauth:  creating new authority file /Users/yves/.serverauth.92814

X11.app: do_start_x11_server(): argc=6
	argv[0] = /opt/local/bin/X
	argv[1] = :4
	argv[2] = -nolisten
	argv[3] = tcp
	argv[4] = -auth
	argv[5] = /Users/yves/.serverauth.92814
2009-02-01 21:01:27.932 X11.bin[92803:717] Could not connect the action apps_table_cancel: to target of class X11Controller
Xquartz starting:
X.Org X Server 1.4.2-apple32
Build Date: 20090201
(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
(EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base
Could not init font path element /opt/local/share/fonts/misc/, removing from list!
Could not init font path element /opt/local/share/fonts/TTF/, removing from list!
Could not init font path element /opt/local/share/fonts/OTF, removing from list!
Could not init font path element /opt/local/share/fonts/Type1/, removing from list!
Could not init font path element /opt/local/share/fonts/100dpi/, removing from list!
Could not init font path element /opt/local/share/fonts/75dpi/, removing from list!
Could not init font path element /Library/Fonts, removing from list!
Could not init font path element /System/Library/Fonts, removing from list!

Fatal server error:
could not open default font 'fixed'
   AbortDDX
Quitting Xquartz...
Xquartz: start_x11_server: (ipc/mig) server died
Gandalf:~ yves$ giving up.
xinit:  Connection refused (errno 61):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
font_cache: Done

comment:3 Changed 15 years ago by yves@…

more info

~ yves$ port installed xorg-*font*
The following ports are currently installed:
  xorg-font-util @1.0.1_0 (active)
  xorg-fontcacheproto @0.1.2_0 (active)
  xorg-fonts @20090102_1 (active)
  xorg-fontsproto @2.0.2_0 (active)
  xorg-libfontenc @1.0.4_0 (active)
  xorg-libXfont @1.3.4_0 (active)
  xorg-libXfontcache @1.0.4_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)

comment:4 Changed 15 years ago by yves@…

Owner: changed from jeremyhu@… to jeremyhu@…

comment:5 Changed 15 years ago by yves@…

Maybe I did not get your point, but I don't have this -Wl,single_module in my build, but it still does not work :

/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libXfont.1.4.1.dylib  .libs/dummy.o  [ ... ] .libs/libXfont.lax/libspeedo.a/spinfo.o   
-L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/local/lib/libz.dylib -lz -lbz2 -lm /opt/local/lib/libfontenc.dylib  
-install_name  /opt/local/lib/libXfont.1.dylib -Wl,-compatibility_version -Wl,6 -Wl,-current_version -Wl,6.1

I use MP's glibtool and 10.5.6

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: xorg-libXfont added; xorg removed
Resolution: invalid
Status: newclosed

1) Your error is different that the libXfont issue (which I should have a fix for soon). You're just not starting it correctly. Don't use the startx script. It won't work (see how it's trying to start your /Applications/Utilities/X11.app instead of /Applications/MacPorts/X11.app)

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.