Discussion:
[Xquartz-dev] No window manager redux
Daniel Seagraves
2016-06-23 16:18:02 UTC
Permalink
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.
Jeremy Huddleston Sequoia
2016-06-23 19:48:30 UTC
Permalink
Post by Daniel Seagraves
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?

Thanks,
Jeremy
Post by Daniel Seagraves
_______________________________________________
Xquartz-dev mailing list
https://lists.macosforge.org/mailman/listinfo/xquartz-dev
Daniel Seagraves
2016-06-23 20:28:41 UTC
Permalink
Post by Jeremy Huddleston Sequoia
Post by Daniel Seagraves
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
Jeremy Huddleston Sequoia
2016-06-23 21:32:12 UTC
Permalink
Post by Daniel Seagraves
Post by Jeremy Huddleston Sequoia
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?
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: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?
Daniel Seagraves
2016-06-23 21:57:41 UTC
Permalink
Post by Jeremy Huddleston Sequoia
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{,.sh}
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{.bin,}
No change in log messages or behavior.
Post by Jeremy Huddleston Sequoia
If so, you likely have some shell init script issues. Do you have a ~/.bashrc or ~/.profile that might be causing problems?
My .bashrc was removed earlier in debugging and not replaced because it was the same as .profile. My .profile consists of exactly two lines (prepending /opt/local/ stuff to PATH and MANPATH), both presently commented out.
Merle Reinhart
2016-06-23 22:46:28 UTC
Permalink
Do you have a ~/.xinitrc file or anything in ~/.xinitrc.d ?

Merle
Post by Daniel Seagraves
Post by Jeremy Huddleston Sequoia
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{,.sh}
sudo mv /Applications/Utilities/XQuartz.app/Contents/MacOS/X11{.bin,}
No change in log messages or behavior.
Post by Jeremy Huddleston Sequoia
If so, you likely have some shell init script issues. Do you have a ~/.bashrc or ~/.profile that might be causing problems?
My .bashrc was removed earlier in debugging and not replaced because it was the same as .profile. My .profile consists of exactly two lines (prepending /opt/local/ stuff to PATH and MANPATH), both presently commented out.
_______________________________________________
Xquartz-dev mailing list
https://lists.macosforge.org/mailman/listinfo/xquartz-dev
Daniel Seagraves
2016-06-28 16:08:35 UTC
Permalink
Post by Merle Reinhart
Do you have a ~/.xinitrc file or anything in ~/.xinitrc.d ?
No, neither exists.

Loading...