title: tmux server does not use /tmp/tmux-<userid>/defaut, can't list nor attach session
body: <p>When doing the following</p>
  
  <ol>
  <li>launch a tmux session named "x11"</li>
  </ol>
  
  <blockquote>
  <pre><code>tmux -S x11
  </code></pre>
  </blockquote>
  
  <p>Detach</p>
  
  <blockquote>
  <pre><code>CTRL-B d
  </code></pre>
  </blockquote>
  
  <p>List available sessions:</p>
  
  <blockquote>
  <pre><code>tmux list-sessions
  </code></pre>
  </blockquote>
  
  <p>I get the following error</p>
  
  <blockquote>
  <pre><code>kalou@shinwey:~$ tmux list-session
  no server running on /tmp/tmux-1000/default
  </code></pre>
  </blockquote>
  
  <p>May someone explain what is happening here ?</p>
  
  <p>tmux server is running</p>
  
  <blockquote>
  <pre><code>kalou@shinwey:~$ ps -efa | grep tmux
  kalou     2172     1  0 17:40 ?        00:00:00 tmux -S x11
  </code></pre>
  </blockquote>
  
  <p>tmux is using a "pipe", not a socket</p>
  
  <blockquote>
  <pre><code>tmux:\x20 2172  kalou 3r  FIFO               0,12  0t0 32527 pipe
  tmux:\x20 2172  kalou 4w  FIFO               0,12  0t0 32527 pipe
  tmux:\x20 2172  kalou 6u  unix 0x00000000c2777ccb  0t0 32528 x11 type=STREAM
  </code></pre>
  </blockquote>
  
  <p></p>
  
  <p>How may I force tmux server to use a "socket" ? </p>
  
  <p>How may I force tmux server to use a "pipe" ?</p>
  
  <p>The doc talks about a /tmp/tmux-/default socket ...</p>
  
  <p>Would be very happy about any feedback on this question</p>
  
  <p>Best Regards
  </p>