> On Aug 28, 2015, at 21:47, Kenneth Reid Beesley <[email protected]> wrote: > > >> On 28Aug2015, at 17:07, Jeremy Huddleston Sequoia <[email protected]> wrote: >> >> >>> On Aug 28, 2015, at 14:36, Kenneth Reid Beesley <[email protected]> wrote: >>> >>> Newbie: XQuartz installation for FontForge questions >>> >>> **************************** >>> >>> Here’s the background: >>> >>> I’m running Yosemite 10.10.5 on a Macbook Pro (late 2013) >>> >>> I see that I currently have >>> /opt/X11/ >>> /usr/X11R6/ >>> /usr/X11 (a symlink to /opt/X11) >>> >>> /usr/X11R6/bin is on my PATH, so >>> >>> $ which xterm >>> >>> returns /usr/X11R6/bin/xterm >>> >>> Question 1: Is there anything wrong with this current setup? (I suspect >>> that >>> there might be.) >> >> >> I suggest /usr/X11R6 is also a symlink, so that should be fine. > > Jeremy, thank you very much for your response. > > Sigh. Yes. /usr/X11R6 is also a symlink to /opt/X11 > > >> >> >>> ******** FontForge ********* >>> >>> I want to run FontForge on OS X, and there’s a webpage >>> >>> fontforge.github.io/en-US/downloads/mac/ >>> >>> with installation instructions for OS X. They tell me that I need to >>> download the X11/XQuartz app >>> (2.7.7) and install it in /Applications/Utilities/ >>> >>> So I did it. If I open /Applications/Utilities in the finder, I now see X11 >>> >>> But (mysteriously) if I >>> >>> $ cd /Applications/Utilities >>> $ ls >>> >>> I see XQuartz.app (rather than X11 or X11.app). >> >> Yeah, there should only be XQuartz. I suspect Finder has a caching bug. > > > > What’s the relationship between /opt/X11 and the XQuartz.app in > /Applications/Utilities/?
XQuartz.app is the OS X Application and X11 Server. The libraries, classic X11 applications, fonts, man pages, config files, etc all live in /opt/X11. There's also a launchd.plist in /Library/LaunchDaemons and another in /Library/LaunchAgents. >>> Question 2: What’s going on here? >>> >>> >>> *********** Trying to change Preferences in XQuartz ****** >>> >>> The FontForge instructions tell me to launch >>> /Applications/Utilities/XQuartz.app, >>> open the Preferences, and change one value. >>> >>> However, when I launch /Applications/Utilities/XQuartz.app, >>> it seems to launch but then come and go. The icon appears and disappears >>> in the doc. >>> And in the listing of applications in Force Quit, it also appears and >>> disappears. >> >> Check /var/log/system.log to see why it's quitting. This often happens when >> users delete /tmp or set it up with invalid permissions. > > > My /tmp is > > lrwxr-xr-x@ 1 root wheel 11 Feb 25 2015 tmp@ -> private/tmp > > /private is > > drwxr-xr-x@ 7 root wheel 238 Feb 25 2015 private > > and if I > > cd /private > ls -l > > I see > > drwxr-xr-x 110 root wheel 3740 Aug 28 16:35 etc/ > drwxr-xr-x+ 3 root wheel 102 Jan 19 2009 opt/ > drwxr-xr-x 2 root wheel 68 Sep 9 2014 tftpboot/ > drwxrwxrwt 7 root wheel 238 Aug 28 22:03 tmp/ > drwxr-xr-x 27 root wheel 918 Apr 23 22:40 var/ > > I have no idea why /tmp is a symlink to /private/tmp It's a symlink to /private/tmp due to OS X's roots in NEXT. The permissions look fine. > When I launch /Applications/Utilities/XQuartz.app, in /var/log/system.log I > see > > Aug 28 22:15:08 chantal com.apple.xpc.launchd[1] > (org.macosforge.xquartz.privileged_startx[573]): Endpoint has been activated > through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): > org.macosforge.xquartz.privileged_startx > Aug 28 22:15:08 chantal.local org.macosforge.xquartz.startx[563]: xauth: > file /Users/beesley/.serverauth.564 does not exist > Aug 28 22:15:10 chantal.local org.macosforge.xquartz.startx[563]: > /opt/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1 > Aug 28 22:15:10 chantal.local org.macosforge.xquartz.startx[563]: > /Users/beesley/.xinitrc: line 5: /Users/beesley/.profile: No such file or > directory I suggest you move aside your /Users/beesley/.xinitrc file. It's likely the cause of the problem. > I won’t pretend to understand all this, but “Service only ran for X seconds.” > and then “respawn” is consistent with what I see. That's the LaunchAgent constantly retrying the launch when it fails. > The system.log refers to ~/.xinitrc, which tries to > > source ~/.profile > > These seem to be relics of the olden days when I was using tcsh. I now use > bash. > > Here’s what my ~/.xinitrc looks like. I vaguely remember editing this file > years ago. > > #!/bin/sh > > # this 'source' line is added, compared to > # the default /usr/X11/lib/X11/xinit/xinitrc > source ~/.profile > > userresources=$HOME/.Xresources > usermodmap=$HOME/.Xmodmap > sysresources=/etc/X11/xinit/.Xresources > sysmodmap=/etc/X11/xinit/.Xmodmap > > # merge in defaults and keymaps > > if [ -f "$sysresources" ]; then > xrdb -merge "$sysresources" > fi > > if [ -f "$sysmodmap" ]; then > xmodmap "$sysmodmap" > fi > > if [ -f "$userresources" ]; then > xrdb -merge "$userresources" > fi > > if [ -f "$usermodmap" ]; then > xmodmap "$usermodmap" > fi > > # start some nice programs > xterm -ls -geometry 80x40+200+100 -rightbar -sb -sl 1000 -name xterm_1 & > # OLD xterm -geometry 80x40+1172+500 -rightbar -sb -sl 1000 -name xterm_1 & > > # -leftbar alternative to -rightbar > # -sb indicates that some number of lines, scrolled off the top, should be > # saved, and that a scrollbar should be displayed > # -sl 1000 indicates that 1000 scrolled-off lines should be saved > # use -iconic to make the terminal come up as an icon > # use -ls to launch a "login shell" > > # start the window manager > exec quartz-wm I suggest you just move it aside. If you want to do things, drop scripts into ~/.xinitrc.d and set them executable. >>> Question 3: What’s going on here? > > > Does that give you a better picture of the problem? > > Thanks, > > Ken > > > > > ******************************** > Kenneth R. Beesley, D.Phil. > PO Box 540475 > North Salt Lake UT 84054 > USA > > > > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > X11-users mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
