zolrath / wemux

Multi-User Tmux Made Easy
MIT License
3.63k stars 139 forks source link

client options not available for hosts #6

Closed relet closed 11 years ago

relet commented 12 years ago

Once I add my user to the host list, the wemux script will only accept host options. Thus, I am no longer able to join a session in rogue mode. I would like to share some sessions with other terminals or machines from where I am logged in, and keep some separate.

zolrath commented 12 years ago

Can you go into further detail on the separate sessions requirements? As-is as a host you can still make a new-session from within tmux and switch between them as the same user, but wemux keeps the hosts primary wemux session standard to ensure the clients can connect properly.

perigrin commented 12 years ago

I'm not sure what the original poster was exactly asking, but if I read it right I ran into an example tonight. I have a box with a few users kermit, fozzie, and beaker. The user beaker is a monitoring account that is shared by several developers, basically it's "root without root privs", and it runs several things (top, tail -f of various logs etc) in a wemux screen ... as well as having shells open for when you're doing general debugging.

As long as I don't want fozzie or kermit to also be able to host sessions I'm okay, but as it stands unless I edit the wemux.conf file to add and remove host status from those accounts I cannot set up any shared sessions from them. This means I can't do ad-hoc pairing unless I route it through the beaker account which may not always be desirable.

relet commented 12 years ago

Sorry, I missed the first reply. Perigrin described it pretty accurately.

kayila commented 11 years ago

Is there any progress on this? I just ran into the same problem with a slightly different scenario.

I'm trying to use one tmux(wemux) session on a server, but I want to get two putty windows working (one for each monitor) and each connect to the same session but open different windows in it, therefore I need to use rogue mode. Since I'm a host, I can't seem to connect to anything other than myself in pair mode. This has actually caused me to switch to tmx for a while. If this could be fixed, wemux seems like an awesome option for me!

kayila commented 11 years ago

Well.. Looking through the closed bugs, I just found the answer to my problem... apparently it's "wemux client"

zolrath commented 11 years ago

I'll add notes about this to the readme, sorry for not already including it!