[MacPorts] #49394: xorg-server @1.17.2_0 on Snow Leopard, Mac OS X 10.6.8, launches the X clients when launched the second time

MacPorts noreply at macports.org
Sun Dec 27 09:35:24 PST 2015


#49394: xorg-server @1.17.2_0 on Snow Leopard, Mac OS X 10.6.8, launches the X
clients when launched the second time
------------------------------+------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  jeremyhu@…
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:  worksforme       |   Keywords:
      Port:  xorg-server      |
------------------------------+------------------------

Comment (by Peter_Dyballa@…):

 Now using xorg-server-devel @1.17.99.902_0, which as well needs two
 launches to open all X clients, I performed after the first launch:

 {{{
 pete 211 /\ pstree -w -p 51293
 -+= 00001 root /sbin/launchd
  \-+- 51237 pete /bin/tcsh -c /opt/local/bin/startx
    \-+- 51246 pete /bin/sh /opt/local/bin/startx
      \-+- 51291 pete xinit /Users/pete/.xinitrc -- /Users/pete/.xserverrc
 :1 -dpi 133 -auth /Users/pete/.serverauth.51246
        \-+= 51292 pete sh /Users/pete/.xserverrc :1 -dpi 133 -auth
 /Users/pete/.serverauth.51246
          \--- 51293 pete X -dpi 133 -nolisten tcp
 }}}

 and later:

 {{{
 pete 223 /\ pstree -w -p 51730
 -+= 00001 root /sbin/launchd
  \-+- 51670 pete /bin/tcsh -c /opt/local/bin/startx
    \-+- 51679 pete /bin/sh /opt/local/bin/startx
      \-+- 51728 pete xinit /Users/pete/.xinitrc -- /Users/pete/.xserverrc
 :0 -dpi 133 -auth /Users/pete/.serverauth.51679
        \-+= 51729 pete sh /Users/pete/.xserverrc :0 -dpi 133 -auth
 /Users/pete/.serverauth.51679
          \--- 51730 pete X -dpi 133 -nolisten tcp
 }}}

 So it's obvious that the first time the wrong X display, :1, is used. In
 that case the execution of my .xinitrc seems to stall because of this
 line:

 {{{
 xrdb -all -merge ${HOME}/.Xresources
 }}}

 so that no X client is started on any display.

 The question is: What causes the use of the wrong display?

-- 
Ticket URL: <https://trac.macports.org/ticket/49394#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list