[Xquartz-dev] No window manager redux

Jeremy Huddleston Sequoia jeremyhu at apple.com
Thu Jun 23 14:32:12 PDT 2016


> On Jun 23, 2016, at 13:28, Daniel Seagraves <dseagrav at humancapitaldev.com> wrote:
> 
> 
>> On Jun 23, 2016, at 2:48 PM, Jeremy Huddleston Sequoia <jeremyhu at apple.com> wrote:
>> 
>> 
>>> On Jun 23, 2016, at 9:18 AM, Daniel Seagraves <dseagrav at humancapitaldev.com> wrote:
>>> 
>>> I made more attempts to figure out what’s going on with no success.
>>> 
>>> First, I removed all login-time shell scripts, no change. Then I uninstalled XQuartz, rebooted, reinstalled it, and it worked as expected only once. After another reboot it now fails as it did before.
>>> 
>>> Observed behavior is that xquartz will start, launch an xterm with no decoration (there is no window manager), wait several minutes, then terminate with no warning.
>>> 
>>> At launch it logs messages saying “syntax error”, “expr: syntax error”, “unable to write ‘random state’”, and then starts repeating “waiting for X server to begin accepting connections”. After several minutes it logs “/opt/X11/bin/xinit: giving up” and terminates.
>> 
>> Can you please provide the exact log lines instead of summarizing?
> 
> On launch:
> 
> 6/23/16 3:21:47.745 PM org.macosforge.xquartz.startx[1596]: expr: syntax error
> 6/23/16 3:21:47.748 PM org.macosforge.xquartz.startx[1596]: expr: syntax error
> 6/23/16 3:21:48.157 PM org.macosforge.xquartz.startx[1596]: unable to write 'random state'
> 6/23/16 3:21:48.428 PM org.macosforge.xquartz.startx[1596]: xauth:  file /Users/dseagrav/.serverauth.1597 does not exist
> 6/23/16 3:21:51.544 PM org.macosforge.xquartz.startx[1596]: 
> 6/23/16 3:21:53.554 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:21:55.563 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:21:57.567 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:21:59.575 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 
> (this repeats every two seconds until…)
> 
> 6/23/16 3:25:48.492 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:25:50.503 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:25:52.510 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:25:52.511 PM org.macosforge.xquartz.startx[1596]: /opt/X11/bin/xinit: giving up
> 6/23/16 3:25:52.511 PM org.macosforge.xquartz.startx[1596]: /opt/X11/bin/xinit: unable to connect to X server: Operation timed out
> 6/23/16 3:25:52.511 PM org.macosforge.xquartz.startx[1596]: waiting for X server to begin accepting connections 
> 6/23/16 3:25:53.516 PM org.macosforge.xquartz.startx[1596]: waiting for X server to shut down 
> 6/23/16 3:25:53.516 PM org.macosforge.xquartz.startx[1596]: /opt/X11/bin/xinit: server error
> 6/23/16 3:25:53.869 PM org.macosforge.xquartz.startx[1596]: waiting for X server to shut down 

If you do this, do things start to work for you:
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{,.sh}
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{.bin,}

If so, you likely have some shell init script issues.  Do you have a ~/.bashrc or ~/.profile that might be causing problems?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/xquartz-dev/attachments/20160623/a34879e2/attachment.p7s>


More information about the Xquartz-dev mailing list