New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing works: error connecting to /tmp/tmux-1000/default (No such file or directory) #2377
Comments
Do this:
Then show me the strace.out file. |
Here you go, thanks for helping! .out files are not supported so made it a .txt |
Can you attach the file to the issue instead of pasting it?
|
I've updated the previous comment, sorry about that |
Looks like your default-command doesn't work. |
I don't understand, zsh works fine. Could you elaborate on the issue or suggest a fix? I'm new to all this so please bear with me |
It looks like you're still using the |
I removed my .tmux.conf file which had this, still no change. Also, I tried tmux in bash, it's throwing the same error |
Okay, but you seem to be saying your ~/.tmux.conf file contained code that was obsolete at least three years ago. That you also think reinstalling the entire OS was an appropriate debugging step makes me question anything you say.
That doesn't tell us what you actually did. If you simply started tmux in a bash shell by typing Also, looking at the strace you provided there is nothing suggesting a problem accessing /tmp/tmux-1000/default. Every single syscall that uses that path is successful (with the exception of those expected to fail). Whereas tmux does report the failure to run the |
You probably didn't restart tmux properly after removing .tmux.conf. Run |
So now when I run these commands:
It runs tmux, but when I try to run @krader1961 here are a few lines(total 13) where it suggests the problem with "/tmp/tmux-1000/default"
|
@13point5 You've misinterpreted the syscall trace. In the most recent trace pid 22602 is the interactive zsh shell launched by tmux. Line 126209 is
That's the shell enabling bracketed paste mode. It then does
The
What do you mean "it's the same"? There is something wrong with your configuration. Whether it's the tmux, zsh, or both configs is hard to say at this point. |
I reinstalled it and used the tmux plugin in oh-my-zsh and it now works. I honestly don't know what went wrong. Thank you for your help and time; I apologize if I seemed stupid or annoyed you |
In my experience many oh-my-zsh extensions tend to have problems. I used zsh for many years as my interactive shell. I tried using oh-my-zsh but stopped using it because the few extensions I tried were broken or were of low quality. The most important thing you should take away from this experience is the importance of including all relevant details when reporting a problem. In this case that would include
And vague statements like "it's the same" should be replaced by "I did X and observed Y" type statements. |
Yup, I understand that now 👍🏽 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue description
I tried installed tmux from
apt
and from source(2.5, 3.0 and 3.1) but didn't seem to work. I even reinstalled my OS(Ubuntu 18.04). Nothing seems to work.No matter what I try to do with tmux I get the error message:
error connecting to /tmp/tmux-1000/default (No such file or directory)
Required information
tmux -V
). 2.6-3ubuntu0.2uname -sp
). Linux x86_64echo $TERM
). xterm-256colortmux kill-server; tmux -vv new
).error connecting to /tmp/tmux-1000/default (No such file or directory)
error connecting to /tmp/tmux-1000/default (No such file or directory)
The text was updated successfully, but these errors were encountered: