Opened 11 years ago

Closed 11 years ago

#39859 closed defect (worksforme)

X11.app won't start on 10.8.3

Reported by: watsodw Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port:

Description

I installed xorg-server on 10.8.3, but using the X11.app won't start the x-server. Using startx from the terminal works, though.

Change History (7)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Have you logged out and back in to set xorg-server as the default X11?

comment:2 Changed 11 years ago by watsodw

I've done that twice, but no effect.

comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Don't use startx.

What happens if you do 'echo $DISPLAY' from Terminal?

What happens if you run 'xterm' from Terminal?

What is the output of 'sudo launchctl list org.macports.privileged_startx'?

What is the output of 'sudo launchctl list org.macports.startx'?

What do you see in /var/log/system.log when you try to run X11.app?

comment:4 Changed 11 years ago by watsodw

echo $DISPLAY: /tmp/launch-m1He1U/org.macosforge.xquartz:0

sudo launchctl list org.macports.startx: launchctl list returned unknown response

sudo launchctl list org.macports.privileged_startx: {

"Label" = "org.macports.privileged_startx"; "LimitLoadToSessionType" = "System"; "OnDemand" = true; "LastExitStatus" = 0; "TimeOut" = 120; "ProgramArguments" = (

"/opt/macports/lib/X11/xinit/privileged_startx"; "-d"; "/opt/macports/lib/X11/xinit/privileged_startx.d";

); "EnableTransactions" = true; "MachServices" = {

"org.macports.privileged_startx" = mach-port-object;

};

};

running xterm starts XQuartz.app

There is nothing in the log.

comment:5 in reply to:  4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Replying to david.w.watson@…:

echo $DISPLAY: /tmp/launch-m1He1U/org.macosforge.xquartz:0

You will need to disable the XQuartz LaunchAgent if you want to use MacPorts'

sudo launchctl list org.macports.startx: launchctl list returned unknown response

It looks like your per user launchd did not restart between your logout and login... possibly because something was persistent and kept it up. Please reboot.

That being said, the configuration looks find, and starting X11.app should launch it.

There is nothing in the log.

Please show me. There shouldn't ever be nothing.

comment:6 Changed 11 years ago by watsodw

Unloading org.macosforge.xquartz.startx.plist and logging out and back in worked. X11.app works fine now.

comment:7 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.