XQuartz is not starting from within tmux
Try moving [[ $TERM != "screen" ]] &amp;&amp; exec tmux to your .zshrc file. That way the command will only be run in interactive shells.

An interactive shell is simply any shell process that you use to type commands, and get back output from those commands. That is, a shell with which you interact.