Re: Using X11?

Michael <[email protected]> Tue, 5 Jan 2021 10:59:38 -0800
Newsgroups gmane.comp.macosx.general
Message-ID <[email protected]>
On 2021-01-05, at 4:37 AM, George N. White III <[email protected]> wrote:

> On Tue, 5 Jan 2021 at 03:41, Michael <[email protected]> wrote:
> 
> On 2021-01-04, at 5:07 AM, George N. White III <[email protected]> wrote:
> 
> > Both X.org and  macOS have been adding measures to beef up security, which was not 
> > much of an issue years ago.    You need to start XQuartz "by the book" so that it runs 
> > with the needed  privileges.   
> > 
> 
> Ok, what is starting XQuartz "by the book"? What's the proper way to start it up?
> 
> Just launch XQuartz from the Applications folder or run “open -a XQuartz”.  By default, 
> this should open an X terminal.  The FAQ tells you how to change that behaviour, and 
> has some other information about related scripts   

Hey, that works :-)

System log has this interesting info after startup:

Jan  5 10:53:38 keybounceMBP org.macosforge.xquartz.startx[19935]: expr: syntax error
Jan  5 10:53:38 --- last message repeated 2 times ---
Jan  5 10:53:38 keybounceMBP org.macosforge.xquartz.startx[19935]: xauth:  file /Users/michael/.serverauth.19936 does not exist
Jan  5 10:53:39 keybounceMBP org.macosforge.xquartz.startx[19935]: xauth: (argv):1:  bad display name "keybounceMBP:0" in "list" command
Jan  5 10:53:39 keybounceMBP org.macosforge.xquartz.startx[19935]: xauth: (stdin):1:  bad display name "keybounceMBP:0" in "add" command
Jan  5 10:53:40 keybounceMBP X11.bin[19926]: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9807)
Jan  5 10:53:41 keybounceMBP org.macosforge.xquartz.startx[19935]: /opt/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1


Seeing math errors in the startup script (expr), and then seeing the "obvious" display name not work makes me concerned.
$DISPLAY is, even under that xterm window, /tmp/launch-4XSd5t/org.macosforge.xquartz:0

Also, I thought this was how you got a window to show up on the second monitor:
bash-3.2$ xterm -display :1
xterm: Xt error: Can't open display: :1

And ... oh dear lord, can you please tell me how to make the default font size 24 point for normal text and 18 point for fixed-width? Or at least tell me which help command to start with?

(Bonus if you tell me how to set font face/family as well :-)


> 
> Are you using a fresh install of Mavericks?   
> 
> There is a collection of old bug reports that may be helpful:
> 
> Try google with "site:https://github.com/XQuartz IPC failure: Operation not permitted"
> 
> Have you (or some application) set DYDL_LIBRARY_PATH "(without understanding how it works)"?
> Another bug report was traced to someone (or some application) replacing a system utility with an "unsigned" 
> 3rd party program.   Messing with the PATH variable could also result in attempting to use an "unsigned"
> utility.
> 
> -- 
> George N. White III

---
Entertaining minecraft videos
http://YouTube.com/keybounce