Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:tmux

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux:tmux [2016/12/25 09:30] – [Siehe auch] movelinux:tmux [2020/04/06 12:13] (aktuell) – [Panes (splits)] move
Zeile 145: Zeile 145:
 <prefix> } (Move the current pane right) <prefix> } (Move the current pane right)
 <prefix> z toggle pane zoom <prefix> z toggle pane zoom
 +<prefix> alt-Pfeiltasten Pane vergrößern/verkleinern
 </Code> </Code>
      
-==== Sharing between two different accounts ====+===== Sharing Terminal-Sessions zwischen 2 verschiedenen Accounts =====
  
-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 prerequistethat there be a group in common between the two usersIf such a group does not exist it will be necessary to create one.+Für unterschiedliche Benutzer erstellen wir einenen tmux-Socketder die Gruppenrechte beider User enthält (ggfmuss die Gruppe vorher erzeugt werden).
  
-In the first terminal, start tmux where shared is the session name and shareds is the name of the socket:+Zuerst tmux mit dem Socket starten:
  
 <Code:bash> <Code:bash>
Zeile 157: Zeile 158:
 </Code> </Code>
  
-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-en:
 <Code:bash> <Code:bash>
 chgrp joint /tmp/shareds chgrp joint /tmp/shareds
 </Code> </Code>
  
-In the second terminal attach using that socket and session.+Nun kann sich der andere User verbinden:
  
 <Code:bash> <Code:bash>
Zeile 169: Zeile 169:
 </Code> </Code>
  
-That's it. The session can be made read-only for the second user, but only on a voluntary basis. The decision to work read-only is made when the second user attaches to the session.+Es geht auch read-only:
  
 <Code:bash> <Code:bash>
linux/tmux.1482658235.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki