<html><head></head><body class="ApplePlainTextBody" dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><blockquote type="cite">Hi<br>A while back I asked if anyone could shed any light:<br><br>Intermittently all my macports that use X fail to start. This from syslog.<br><br><blockquote type="cite">Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xauth: &nbsp;file /Users/jam/.serverauth.700 does not exist<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xinit: unable to run server "/opt/local/bin/X": No such file or directory<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Use the -- option, or make sure that /opt/local/bin is in your path and<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: that "/opt/local/bin/X" is a program or a link to the right type of server<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: for your display. &nbsp;Possible server names include:<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xquartz &nbsp;&nbsp;&nbsp;&nbsp;Mac OSX Quartz displays.<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xvfb &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Virtual frame buffer<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xfake &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kdrive-based virtual frame buffer<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xnest &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X server nested in a window on another X server<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xephyr &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kdrive-based nested X server<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xvnc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X server accessed over VNC's RFB protocol<br>Dec 14 09:50:59 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;&nbsp;&nbsp;Xdmx &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distributed Multi-head X server<br>Dec 14 09:51:01 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;xinit: giving up<br>Dec 14 09:51:01 haycorn.home org.macports.startx[699]: xinit: unable to connect to X server: Connection refused<br>Dec 14 09:51:01 haycorn.home org.macports.startx[699]: &nbsp;&nbsp;xinit: server error<br>Dec 14 09:51:01 haycorn.home org.macports.startx[699]:<br>Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx[699]): FairPlay decryption failed on binary.<br>Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.<br></blockquote><br>Irritated by the contiual nagging to update I broke rule #1 and updated. Now X will never start and nothing is logged.<br><br>I removed all trace of macports and of Xquartz, then reinstalled. Voila everything works. Nextday after after reboot NO X.<br>Nothing whatsoever logged.<br><br>Previously startx started an undecorated xterm.Now<br><br><br><blockquote type="cite">[haycorn] /Users/jam [521]% startx<br>font_cache: Scanning user font directories to generate X11 font caches<br>font_cache: Updating FC cache<br>expr: syntax error<br>expr: syntax error<br>xauth: &nbsp;file /Users/jam/.serverauth.1323 does not exist<br><br>font_cache: Done<br><br>waiting for X server to begin accepting connections .<br>..<br></blockquote><br><br>until timeout after 5 min or so.<br>There are no .serverauth files.<br><br>I?m somewhat lost. I fiddle my linux boxes very technically but this is all a bit alien. Can anyone help me please?<br>There is no /opt/local/bin/X but there was none yesterday when all was working (only /opt/X11/bin/X)<br></blockquote><br>First thanks for all the wise words.<br>My *biggest* problem is that one login all works the next login it does not!<br><br>Trying desperate measures I upgraded to el Capitan installed the correct macports dmg.<br>Many ports eg wget do build. qt5 fails to build. gnuplot fails to build (the latest ticket says do selfupdate all is fixed, but it is not)<br><br>Many tries later so the peamble is done:<br><br><blockquote type="cite">[Haycorn] /Users/jam [502]% sudo &nbsp;&nbsp;&nbsp;&nbsp;port install gnuplot<br>Password:<br>---&gt; &nbsp;Computing dependencies for gnuplot<br>---&gt; &nbsp;Dependencies to be installed: aquaterm gd2 libvpx yasm xpm xorg-libXt xorg-libsm xorg-libice libcaca freeglut libGLU mesa bison bison-runtime m4 flex indent py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXdamage xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 giflib libid3tag libcerf lua pango Xft2 gobject-introspection py27-mako py27-beaker py27-setuptools py27-markupsafe wxWidgets-3.0 wxWidgets_select<br>---&gt; &nbsp;Building aquaterm<br>Error: org.macports.build for port aquaterm returned: command execution failed<br>Error: Failed to install aquaterm<br>Please see the log file for port aquaterm for details:<br> &nbsp;&nbsp;&nbsp;/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log<br>Error: The following dependencies were not installed: aquaterm gd2 libvpx yasm xpm xorg-libXt xorg-libsm xorg-libice libcaca freeglut libGLU mesa bison bison-runtime m4 flex indent py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXdamage xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 giflib libid3tag libcerf lua pango Xft2 gobject-introspection py27-mako py27-beaker py27-setuptools py27-markupsafe wxWidgets-3.0 wxWidgets_select<br>To report a bug, follow the instructions in the guide:<br> &nbsp;&nbsp;&nbsp;http://guide.macports.org/#project.tickets<br>Error: Processing of port gnuplot failed<br></blockquote><br>I executed the command that was logged as failed, everything worked perfectly.<br><br>Now I need advise from people here please:<br><br>I’ll format the disk and start from scratch (I do have a time machine backup)<br>If people have made qt5 and gnuplot work with el Capitan I will install that else I’ll do yosemite.<br><br>The reply about the SDKs looks right and I will do that (thanks). <br><br>Cheers<br>James</body></html>