[MacPorts] #37775: x-server does not start
#37775: x-server does not start --------------------------------+-------------------------------- Reporter: johan.mattsson.m@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------------+-------------------------------- Xorg builds but I get runtime errors when I try to start x on Leopard: {{{ m90-129-67-92:~ johanmattsson$ startx font_cache: Scanning user font directories to generate X11 font caches font_cache: Updating FC cache font_cache: Done xauth: file /Users/johanmattsson/.serverauth.2042 does not exist xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error }}} syslog; {{{ Thu Jan 24 15:38:11 m90-129-67-92 org.macports.X11.stub[2121] <Warning>: Xquartz: Unable to locate waiting server: org.macports.X11 Thu Jan 24 15:38:11 m90-129-67-92 org.macports.X11.stub[2121] <Error>: Xquartz: Unable to find application for org.macports.X11 }}} -- Ticket URL: <https://trac.macports.org/ticket/37775> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | ---------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… Comment: Has duplicate #37776. -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => invalid Comment: Don't use startx directly. Just run your application (gimp, xterm, etc), and it should run X11.app for you. Alternatively, open X11.app directly from /Applications/MacPorts/X11.app -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------ Comment (by johan.mattsson.m@…): Replying to [comment:2 jeremyhu@…]:
Don't use startx directly. Just run your application (gimp, xterm, etc), and it should run X11.app for you.
They do start an instance of xorg but it seems like all applications launches the Mac OS default x-server and not the MacPorts version. How do I force application to use MacPorts server? -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------ Comment (by jeremyhu@…): Enable the MacPorts LaunchAgent and disable the OS X one. Instructions are printed during activation of xinit, so you can just read it out of the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------ Comment (by sean@…): Replying to [comment:4 jeremyhu@…]:
Enable the MacPorts LaunchAgent and disable the OS X one. Instructions are printed during activation of xinit, so you can just read it out of the Portfile.
There's got to be a better way than this. I've run into this at least two or three times before and googling is difficult due to the common keywords. The instructions that are printed for xinit fly by the screen too fast and it's easily forgotten … especially when most instructions talk about the xorg-server port. Could these instructions also be added to xorg-server? Or, at the very least, the FAQ / Xquartz / whatever sites be updated to have (in large, blinking, red letters) "launchctl load -w /Library/LaunchAgents/org.macports.startx.plist"? By the way, I've experienced this when upgrading to Mountain Lion (and needing a way to get X working) so it's not like this is a really old problem. -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37775: x-server does not start ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------ Comment (by macsforever2000@…): The instructions for the xinit port should be converted to use "notes" instead of "ui_msg" like they are now so they are more easily retrievable. I looked into it and gave up because it depends on OS X version. I wasn't sure of the best way to handle it. -- Ticket URL: <https://trac.macports.org/ticket/37775#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts