-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-05-22 19:18, Andrei Borzenkov wrote:
В Fri, 22 May 2015 19:06:22 +0200 Marcus Rueckert <> пишет:
On 2015-05-22 19:44:52 +0300, Andrei Borzenkov wrote:
I would expect you know how to use grep :)
Of course I do, but I wouldn't know what to grep for and where :-)
/etc/X11/xdm/Xsession:: ${TMPDIR=/tmp} /etc/X11/xdm/Xsession:export OPENWINHOME TMPDIR /etc/X11/xdm/Xsession: "${TMPDIR:-/tmp}/xerr-${USER}-${DISPLAY}"
But no TMPDIR should really mean /tmp by default. Use strace to check what tmux tries to open.
Done. There is no appearance of the word "tmp" or "tmpdir" anywhere in the trace. I see this: socket(PF_LOCAL, SOCK_STREAM, 0) = 5 connect(5, {sa_family=AF_LOCAL, sun_path="/run/tmux/1000/default"}, 24) = -1 ECONNREFUSED (Connection refused) close(5) = 0 open("/run/tmux/1000/default.lock", O_WRONLY|O_CREAT, 0600) = 5 fcntl(5, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0}) = 0 unlink("/run/tmux/1000/default") = 0 socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 The full trace is here: <http://susepaste.org/26498787>
https://build.opensuse.org/package/view_file/openSUSE:Factory/tmux/tmux-sock...
I bet if you build tmux without the patch it would just work.
Well ... arguably Xseesion has no business setting TMPDIR either. At least exporting it. TMPDIR should be set by user and then it is user responsibility to ensure it is set consistently.
Both laptop (client) and desktop (server) have TMPDIR set to /tmp (and not my doing). But when I ssh from laptop to desktop, the variable is unset (and not by me, either - at least to my knowledge). Running: TMPDIR=/tmp tmux attach runs just fine. So at least I have a workaround... - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlVfcEUACgkQtTMYHG2NR9Xb9QCaA3NGPAxD1lnNs4zmYrJv+kwi MIUAn3X1EEXlHxzVgxbeU4vTlsWQK2dH =sFp8 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org