Bug 102112 - Xquartz still keep on restarting on Macos Sierra over and over although I have commented all the lines of my ~/.xinitrc file
Summary: Xquartz still keep on restarting on Macos Sierra over and over although I hav...
Status: RESOLVED INVALID
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 2.7.11 (xserver-1.18.4)
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium major
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 11:06 UTC by sebmansfeld@yahoo.fr
Modified: 2017-08-08 17:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My ~/.xinitrc (282 bytes, text/plain)
2017-08-08 11:06 UTC, sebmansfeld@yahoo.fr
Details

Description sebmansfeld@yahoo.fr 2017-08-08 11:06:19 UTC
Created attachment 133377 [details]
My ~/.xinitrc

Hi,

I'm using Macos Sierra 10.12.6 and XQuartz 2.7.11 on a MacBook Air (Intel Core i7).

XQuartz still keep on restarting over and over although I have commented all the lines of my ~/.xinitrc file.

I have a few questions: 

Where is (are) the Xquartz log(s) ?

What are the rules to respect when writing an ~/.xinitrc script ?

How can I solve my problem without having to remove my ~/.xinitrc ?

N.B.: I have set the Severity to major because I do need XQuartz to work but this does not mean this issue is not already fixed, you can lower that if you want :-)
Comment 1 sebmansfeld@yahoo.fr 2017-08-08 13:54:47 UTC
What is the proper way to launch XQuartz from the CLI ?

I use that command on Macosx : 

$ open -a XQuartz
Comment 2 Jeremy Huddleston Sequoia 2017-08-08 17:56:59 UTC
If you comment out all the lines in your .xinitrc, then this is exactly what is expected to happen.  xinit terminates when either the server or client terminates.  Commenting out all lines in your ~/.xinitrc means that the client immediately terminates.

You should *delete* your .xinitrc

After logging out and back in after the install, you should be able to just launch your X11 clients directly from Terminal.  You can also use open to launch XQuartz.
Comment 3 Jeremy Huddleston Sequoia 2017-08-08 17:57:47 UTC
You should ask for support on the mailing list (https://www.xquartz.org/Mailing-Lists.html).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.