Re: Using X11?

Michael <[email protected]> Sun, 3 Jan 2021 21:36:22 -0800
Newsgroups gmane.comp.macosx.general
Message-ID <[email protected]>
On 2021-01-03, at 5:21 AM, George N. White III <[email protected]> wrote:

> On Sat, 2 Jan 2021 at 22:05, Michael <[email protected]> wrote:
> 
>> On 2021-01-02, at 7:07 AM, George N. White III <[email protected]> wrote:
>> 
>> > On Fri, 1 Jan 2021 at 23:47, Michael <[email protected]> wrote:
>> >> I'm having trouble with X windows. I have 10.9.5, and I have downloaded X from https://www.xquartz.org/releases/XQuartz-2.7.11.html.
>> >> 
>> >> I not only logged out, I restarted my computer.
>> >> 
>> >> I still cannot get it to start up. Running xinit gave this in the log:
>> >> Jan  1 19:39:57 keybounceMBP org.macosforge.xquartz.X11.stub[28817]: launch_msg("CheckIn") IPC failure: Operation not permitted
>> >> 
>> > This error has been seen before: 
>> > 
>> > https://superuser.com/questions/429426/fink-hangs-with-ipc-failure-operation-not-permitted
>> > 
>> > https://lists.apple.com/archives/x11-users/2012/Jan/msg00004.htm
>> > 
>> [...]
>>  
>> >> I am in need of the X11 from xquartz, and not the one from macports, because I have an old commercial program I'm trying to run that is linked against the stuff in /opt/X11 specifically.
>> >>  
>> >> 
>> >> How do I make this work?
>> >> 
>> > Is the commercial developer still active?  Have you been able to run xquartz in the past?   You may need a different startup script or some permission tweaks.
>> 
>> I have never needed X in the past, this is my first time. In theory they are still around, but the program in question is no longer maintained, and the mac version never got the frame rate of the windows/linux versions, so it was never a big focus. The company's focus has shifted -- apparently their engine is more valuable for simulation companies than being used for a game engine. But: This program is not the issue. This is a plain X issue.
>> 
> If it was a "plain X issue" you wouldn't be tied to the longer supported XQuartz implementation and could try the macports version.   It might, however, be worth installing the macports version to see if it will run, and if so to compare with the startup scripts and permissions for the XQuartz version.

xinit is now a binary, not a script, so I can't do any comparisons.
I do need to get the XQuartz version running for this commercial program.
But the point is, XQuartz should be able to launch itself. Right? This version of X should still run, even if it is 4 years old, right?

>> How do I get X to start up? Keep in mind -- this is just the STOCK, UNMODIFIED xinit and the corresponding X server. So this is just some sort of installation / configuration issue with the basic xquartz.
>> 
> Are you starting XQuartz from the command line or using the icon?
> https://lists.apple.com/archives/x11-users/2014/Sep/msg00002.html 

I am starting X by running "xinit" (from the command line), and expecting it to do all the stuff needed to start up the X server.

The last time I used X was on sun nodes back at UCLA, and that was all it took there.

> 
> Did you check for the "-iokit" flag mentioned in the Fink links?    

Never heard of it.

> 
> -- 
> George N. White III
>