tmux insists that no server is running when it is

965 views
Skip to first unread message

Sean Hammond

unread,
Aug 7, 2023, 6:10:50 AM8/7/23
to tmux-...@googlegroups.com
Hi, I'm getting this problem:

1. Run `tmux` in one console window

2. Open up another console window and run `tmux ls` or `tmux attach` etc

3. `tmux ls` etc all report: "no server running on /tmp/tmux-48659/default"

4. But I can see that tmux is still running (connected and working) in the other console

I tried using the -S argument to force the socket location in both the original `tmux` command and the subsequent `tmux ls` or `tmux attach` commands but it didn't help. I can see that the socket file does exist but it still says "no server running".

I'm connected over SSH in case that's important

Nicholas Marriott

unread,
Aug 7, 2023, 6:21:38 AM8/7/23
to Sean Hammond, tmux-...@googlegroups.com
Did something delete your socket and replace with a new one? Try "pkill -USR1 tmux".



--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/ed6082b3-a408-4249-8133-d4ee71ff97c0%40app.fastmail.com.

Sean Hammond

unread,
Aug 8, 2023, 4:44:20 PM8/8/23
to tmux-...@googlegroups.com

Did something delete your socket and replace with a new one? Try "pkill -USR1 tmux".

I had tried that but it didn't work.

It's working again now after various tmux restarts and messing around, unfortunately I don't know what if anything I did to fix it.

Thanks!
Reply all
Reply to author
Forward
0 new messages