is what it says, not even with a newline after (how rude!), in my terminal when i try to launch tmux (at least the first time. multiple attempts eventually make it stop saying that, n seemingly does no more than as if i had just pressed enter on a blank line.
i tried installing dvtm in the interim, but it seems to fail me too. it launches (something i think at least) where terminal content is replaced by a solid static block cursor in the top left, and becomes unresponsive.
just tried screen now too, and it seems to be behaving exactly as dvtm.
i checked a couple ncurses apps, n they seem happy.
further info n backstory:
all of this is in xterm on slackware 14.1 in xmonad using terminal scratchpads (not that those last two points will likely be at all relevant).
tmux was running fine for a while, then one day with half a dozen sessions, one of which loaded with dozens of panes, including lots of precious chroots, one session decided to go a bit wonky n wouldnt let me make new panes. after a (presumably) unrelated X lock-up (thanks flash) and killing x, i found i was unable to start tmux for the first time. i killed all the running instances, still no joy in launching a fresh one.
does any of this sound familiar n give a clue to the problem?
ps,
just tried tmux in tty.
similar fail. it cleared the screen presenting only "4m" after my regular prompt. o_O
pps,
can launch tmux as root.
output from an strace command copied from serverfault.com
as user:
Code:
20150504 15:40:52 digit@generay ~ $ strace -f -e trace=file tmux
execve("/usr/bin/tmux", ["tmux"], [/* 38 vars */]) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libevent-2.0.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
access("/bin/bash", X_OK) = 0
access("/home/digit/.tmux.conf", R_OK) = -1 ENOENT (No such file or directory)
mkdir("/tmp//tmux-1000", 0700) = -1 EEXIST (File exists)
lstat("/tmp//tmux-1000", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/tmux-1000", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/tmux-1000/default.lock", O_WRONLY|O_CREAT, 0600) = 6
unlink("/tmp/tmux-1000/default") = 0
Process 32577 attached
Process 32578 attached
[pid 32577] +++ exited with 0 +++
[pid 32576] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32577, si_status=0, si_utime=0, si_stime=0} ---
[pid 32578] open("/dev/null", O_RDWR) = 7
[pid 32576] getcwd("/home/digit", 4096) = 12
[pid 32578] unlink("/tmp/tmux-1000/default") = -1 ENOENT (No such file or directory)
[pid 32578] stat("/tmp/tmux-1000/default", {st_mode=S_IFSOCK|0660, st_size=0, ...}) = 0
[pid 32578] chmod("/tmp/tmux-1000/default", 0140660) = 0
[pid 32578] unlink("/tmp/tmux-1000/default.lock") = 0
[pid 32578] access("/etc/tmux.conf", R_OK) = -1 ENOENT (No such file or directory)
[pid 32578] readlink("/proc/self/fd/6", "/dev/pts/0", 4095) = 10
[pid 32578] stat("/dev/pts/0", {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
[pid 32578] stat("/home/digit/.terminfo", 0x215cc70) = -1 ENOENT (No such file or directory)
[pid 32578] stat("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 32578] access("/usr/share/terminfo/x/xterm", R_OK) = 0
[pid 32578] open("/usr/share/terminfo/x/xterm", O_RDONLY) = 9
[pid 32578] open("/dev/ptmx", O_RDWR) = 9
[pid 32578] statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
[pid 32578] stat("/dev/pts/1", {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
[pid 32578] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] open("/etc/group", O_RDONLY|O_CLOEXEC) = 10
[pid 32578] chown("/dev/pts/1", 1000, 5) = -1 EPERM (Operation not permitted)
^[[?64;1;2;6;9;15;18;21;22c+++ exited with 0 +++
20150504 15:40:56 digit@generay ~ $ 64;1;2;6;9;15;18;21;22c
and a quick n dirty one tried as root when already in tmux:
Code:
root@generay:~# strace -f -e trace=file tmux
execve("/usr/bin/tmux", ["tmux"], [/* 47 vars */]) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libevent-2.0.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
access("/bin/bash", X_OK) = 0
access("/root/.tmux.conf", R_OK) = -1 ENOENT (No such file or directory)
sessions should be nested with care, unset $TMUX to force
+++ exited with 1 +++
~:chat pastes n revelations n progress:~
curious. just launched xfce-terminal (to see in a different terminal), n it complained "Failed to execute child. grantpt failed: Operation not permitted." in a warning dialog box, and then up pops xfce-terminal with a similarly frozen prompt character in the top left.
upon discovering tmux still runs as root, i began to headspin, wondering if perms, config (no tmux.conf here), passwd, uid, something something something.
... ok. i'm gonna leave this for a bit, clear some space n get some quiet in my headspace. leave it to the linuxquestions wishing well. :]