linux:tmux
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:tmux [2016/12/25 09:30] – [Siehe auch] move | linux:tmux [2020/04/06 12:13] (aktuell) – [Panes (splits)] move | ||
|---|---|---|---|
| Zeile 145: | Zeile 145: | ||
| < | < | ||
| < | < | ||
| + | < | ||
| </ | </ | ||
| | | ||
| - | ==== Sharing | + | ===== Sharing |
| - | For different users, you have to set the permissions on the tmux socket so that both users can read and write it. There is only one prerequiste, that there be a group in common between the two users. If such a group does not exist it will be necessary to create one. | + | Für unterschiedliche Benutzer erstellen wir einenen |
| - | In the first terminal, start tmux where shared is the session name and shareds is the name of the socket: | + | Zuerst |
| < | < | ||
| Zeile 157: | Zeile 158: | ||
| </ | </ | ||
| - | Then chgrp the socket to a group that both users share in common. In this example, joint is the group that both users share. If there are other users in the group, then they also have access. So it might be recommended that the group have only the two members. | + | Dann den Socket |
| < | < | ||
| chgrp joint / | chgrp joint / | ||
| </ | </ | ||
| - | In the second terminal attach using that socket and session. | + | Nun kann sich der andere User verbinden: |
| < | < | ||
| Zeile 169: | Zeile 169: | ||
| </ | </ | ||
| - | That's it. The session can be made read-only | + | Es geht auch read-only: |
| < | < | ||
linux/tmux.1482658235.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
