Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><em>tmux</em> stores its server socket in a directory under the directory specified by the TMPDIR environment variable.</p> <p>In your GUI session you probably end up with a TMPDIR that points to somewhere under <code>/var</code> (e.g. <code>/var/folders/mV/mVip4IQ4EXOriTiLJmeSuk+++Tc/-Tmp-/</code>).</p> <p>When you are logged in through SSH, you probably end up without a TMPDIR set, so <em>tmux</em> looks under <code>/tmp/</code> for its socket.</p> <p>On a 10.6 system, here is my TMPDIR with <em>zsh</em>/&#xfeff;<em>Terminal</em>, and with <em>zsh</em>/SSH:</p> <pre><code>% echo local: ${TMPDIR-unset}; ssh localhost 'echo remote: ${TMPDIR-unset}' local: /var/folders/mV/mVip4IQ4EXOriTiLJmeSuk+++Tc/-Tmp-/ remote: unset </code></pre> <p>If you know the value you need to use for TMPDIR, you can specify it when attaching (or running some other <em>tmux</em> command outside of the session itself):</p> <pre><code>TMPDIR=/var/folders/mV/mVip4IQ4EXOriTiLJmeSuk+++Tc/-Tmp-/ tmux attach </code></pre> <p>If you do not know the directory your GUI session was using you might be able to find it with something like this (the syntax is specific to <em>zsh</em>; it searches under <code>/var/folders/</code> for a directory named <code>-Tmp-</code> that is owned by the current user):</p> <pre><code>echo /var/folders/**/*/-Tmp-(U/) </code></pre> <p>To avoid problems in the future, you might want to unset TMPDIR before starting your server (or set it to something that you can more easily predict).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload