You are not logged in.
I'm presently unable to run tmux on a new and up-to-date Arch x86_64 CLI install, via ssh as well as on the box's (yeap, has a screen).
$ tmux [new-session -s ssh]
can't create socket: Not a directory$TMUX_TMPDIR is /run/user/1000//tmux
$XDG_RUNTIME_DIR is /run/user/1000/
$TMPDIR is unset
Nevermind man tmux:
tmux stores the server socket in a directory under TMUX_TMPDIR, TMPDIR if it is unset, or /tmp if both are unset.
I also
TMPDIR=/tmp
$ tmux
can't create socket: Not a directorySetting the socket-path manualy does work
$ tmux -S /run/user/1000/tmuxI presume one normaly shouldn't have to manualy set tmux socket for simple/normal use unless: I read nothing related on the wiki. And the single related post I found on the forum is systemd-related, but there's no tmux service on my box. So I suspect something's wrong in my user's environnement vars. Would appreciate your views!
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
You probably have no /run/user/1000/tmux directory, yet you tell tmux to put its sockets there.
Last edited by lucke (2015-12-23 22:14:54)
Offline
You mean one has to manualy create '/run/user/UID/tmux' (or $TMPDIR/tmuxif $TMUX_TMPDIR is not set)?
Checking, as I have tmux recently installed on an other system and do not remember having created the $TMPDIR/tmux-UID/ that is there. Same for any of the dirs that are in '/run/user/UID/' on these systems.
`$ ll /run/user/1000/` after I run `$ tmux -S /run/user/1000/tmux`
total 0
drwxr-xr-x 2 kozaki 80 22 déc. 10:44 systemd/
srw-rw-rw- 1 kozaki 0 22 déc. 10:44 bus
srwxrwx--- 1 kozaki 0 23 déc. 20:25 tmuxLast edited by kozaki (2015-12-24 13:03:53)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline