Maybe you shall specify the socket with the right permission.
I'm doing something like that :
user1 $ tmux -S ~/my_socket
user1 $ chmod 777 ~/my_socket
user2 $ tmux -S ~/my_socket ls
user2 $ tmux -S ~/mysocket attach -t 0
I hope this will help you.
On Mon, 7 May 2012, Todd Ames wrote:
> Good day!
> A friend of mine are trying to use tmux to see the same terminal window. He has a Ubuntu machine with tmux installed, and we are on
> the same VPN using Hamachi. I can SSH into his machine and run all the CLI commands I want. He has put me me in the admin group
> along with my own group. He starts up the tmux terminal and I SSH in.
>
> tmux -V returns:
>
> tmux 1.6
>
> When I type tmux attach I get the following error:
>
> no sessions.
>
> when I type tmux list-sessions I receive:
>
> failed to connect to server: connection refused
>
> My best guess is a permissions problem. Does he need to grnt permissions to other users? I have searched Google for hours and can
> not find this exactly. Maybe I am not reading enough but I would appreciate any help you could give.
>
> Thank you in advance
> Todd
>
>
--
Alain Leufroy
LOGILAB, Paris (France)
http://www.logilab.fr
Informatique scientifique & gestion de connaissances
|