---

** [tickets:#66] TMUX_TMPDIR not being used**

**Status:** open
**Created:** Wed Sep 25, 2013 03:08 PM UTC by Geoffrey Fairchild
**Last Updated:** Wed Sep 25, 2013 03:08 PM UTC
**Owner:** nobody

I have tmux 1.8 built on a cluster I use at work. There are 2 front end nodes, 
and I'd like for both of them to see the same tmux sessions. Reading the man 
pages, I see that I should be able to set an environment variable, 
`TMUX_TMPDIR`, that directs tmux where to place its temporary files. However, 
this isn't working for me.

    gfairchild@mp-fe2 ~> tmux -V
    tmux 1.8
    gfairchild@mp-fe2 ~> echo $TMUX_TMPDIR
    /turquoise/users/gfairchild/tmux
    gfairchild@mp-fe2 ~> tmux #use tmux and detach
    [detached]
    gfairchild@mp-fe2 ~> tmux ls
    0: 1 windows (created Wed Sep 25 09:00:22 2013) [316x74]
    gfairchild@mp-fe2 ~> cd tmux/
    gfairchild@mp-fe2 ~/tmux> ls -la
    total 8
    drwxrwxr-x 2 gfairchild gfairchild 4096 Sep 25 08:40 .
    drwx------ 6 gfairchild gfairchild 4096 Sep 25 09:00 ..
    gfairchild@mp-fe2 ~> cd /tmp/
    gfairchild@mp-fe2 /tmp> ls -la | grep gfairchild
    drwx------  2 gfairchild gfairchild    4096 Sep 25 09:00 tmux-22383

So, `TMUX_TMPDIR` is set to a subdirectory of my home directory. I open tmux, 
do some stuff, detach it, but tmux isn't using the directory specified to store 
the session. Is there some other setting I need to set for tmux to use 
`TMUX_TMPDIR`? If so, that should be clarified in the man page.


---

Sent from sourceforge.net because tmux-users@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/tmux/admin/tickets/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to