Changes for page Matrix

Last modified by Stefan Schwalb on 2023/08/28 20:39

From version 33.1
edited by Aysegül Omus
on 2023/08/28 00:42
Change comment: There is no comment for this version
To version 34.2
edited by Jonas Jelten
on 2023/08/28 16:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kahraman
1 +XWiki.jelten
Content
... ... @@ -1,139 +1,98 @@
1 1  {{toc/}}
2 2  
3 -= Establishing a Matrix Chat =
4 4  
5 -
6 6  == What is Matrix? ==
7 7  
8 8  
9 -Matrix is a chat system very similar to E-Mail. People have their account on one server but can write messages to anyone on other servers. For example @someprofessor:tum.de can communicate with @someresearcher:lmu.de.
7 +[[image:https://element.io/images/Ui-grad-homepage.png||height="677" width="942"]]
10 10  
11 -You can create end-to-end encrypted personal or group chats that are not stored and dependent on a central authority like most other tools (ms teams, whatsapp, zoom, ...). All your messages are synced between all your devices - web clients, desktop clients, smartphone apps. For additional security, encryption keys of contacts can be verified and then stored as trusted. 
12 12  
13 -You can use either the desktop version or the web interface of matrix.
10 +[[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure.
14 14  
15 -== Sign in ==
12 +* You need to register an account at a provider (e.g. tum.de, or lmu.de)
13 +* Whatever your provider is, you can talk to people using other providers
14 +** (((
15 +For example {{code language="none"}}@someprofessor:tum.de{{/code}} can communicate with {{code language="none"}}@someresearcher:lmu.de{{/code}}!
16 +)))
17 +* (((
18 +In the same way you can use Outlook or Thunderbird with the same email account, you can use different Matrix apps for the same Matrix account!
19 +Several apps exist, but we're going to go with "[[Element>>https://element.io/]]" for the sake of simplicity, as it's among the most fully-featured Matrix apps on the market.
20 +)))
16 16  
17 -=== Sign in to the desktop version ===
22 +So people have their **account on one server** but can write messages **to anyone on other servers**.
23 +
18 18  
25 +**Personal or group chats** are[[ end-to-end encrypted>>https://en.wikipedia.org/wiki/End-to-end_encryption]] and **not dependent on a central authority** like most other tools (MS Teams, WhatsApp, Zoom, ...) - anyone can host a Matrix server.
26 +All your messages are **synced** between all your devices - web clients, desktop clients, smartphone apps.
27 +For additional security, encryption keys of contacts can be verified and then stored as trusted.
19 19  
20 -[[ Here>>url:https://element.io/get-started]] you can find installation for IOS, Android, Mac, Linux and Windows.
29 +== Home Server ==
21 21  
22 -[[image:matrixdownload.png||height="284" width="575"]]
31 +Messages are stored and synced between home servers.
23 23  
33 +A user typically has **one account** on one homeserver. You can use any homeserver of your choice - however [[ITO>>doc:CIT.ITO.WebHome]] offers two homeservers:
24 24  
35 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
36 +* **matrix.tum.de** for TUM accounts: @username:tum.de
25 25  
26 -If you have an Account you can sign in otherwise you can create a matrix account freely on [[https:~~/~~/app.element.io>>https://app.element.io]] .
38 +You only need to use one account and can communicate with any other homeserver of the world.
27 27  
28 -(% class="wikigeneratedid" %)
29 -[[image:elementdesktopversionlogineng.png||height="745" width="558"]]
40 +If you don't have a CIT or TUM account, you can use a public homeserver instead:
30 30  
42 +* matrix.org: [[https:~~/~~/app.element.io/#/register>>https://app.element.io/#/register]]
43 +* or any other homeserver [[https:~~/~~/joinmatrix.org/servers/>>https://joinmatrix.org/servers/]]
44 +* or, [[host your own homeserver>>https://matrix-org.github.io/synapse/latest/]] 🤩
31 31  
46 +To use your home server, you have to **use a client** that communicates with your homeserver.
32 32  
48 +== Clients ==
49 +
50 +[[Element>>https://element.io/]] is our client of choice.
51 +
52 +* [[Desktop Client>>https://element.io/download]] (easily provided in [[your Linux distribution of choice>>https://repology.org/project/element-desktop]])
53 +* In your web browser:
54 +** [[matrix.cit.tum.de>>https://matrix.cit.tum.de]]
55 +** [[matrix.tum.de>>https://matrix.tum.de]]
56 +* [[On your smartphone>>https://element.io/download]]
57 +
33 33  (% class="wikigeneratedid" %)
34 -If you have a CIT or TUM Account, you can sign in wit your login data. For this you need the following home server and login data:
59 +Make sure the **home server is set correctly** to your provider!
35 35  
36 36  (% class="box infomessage" %)
37 37  (((
38 -**CIT : Homeserver**: matrix.cit.tum.de , **Username**: CIT-ID (without @cit.tum.de), **Password**: CIT Password
63 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
39 39  )))
40 40  
41 41  (% class="box infomessage" %)
42 42  (((
43 -**TUM : Homeserver**: matrix.tum.de , **Username**: LRZ-ID (without @mytum.de or @tum.de), **Password**: LRZ/TUM Password
68 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
44 44  )))
45 45  
46 46  
47 -(% class="wikigeneratedid" %)
48 -[[image:signinediteng.png||height="606" width="557"]]
72 +== Using Element for Matrix ==
49 49  
50 -(% class="wikigeneratedid" %)
51 -[[image:desktopelementengcit2.png||height="609" width="556"]]
52 52  
75 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
53 53  
54 -(% class="wikigeneratedid" %)
55 -[[image:desktopelementengcit3.png||height="497" width="555"]]
77 +You can create personal chats, group chats, and spaces for bundling multiple chatrooms to communicate with any other Matrix user in the world.
56 56  
57 57  
80 +== Invitation of TUM Users ==
58 58  
59 -=== Sign in to the web interface ===
82 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
60 60  
84 +**For CIT Accounts**:
61 61  
62 - If you have a CIT or TUM account you can sign in to the web interface of the CIT or TUM otherwise you can create a matrix account freely on [[https:~~/~~/app.element.io>>https://app.element.io]] .
63 -
64 -
65 -==== With TUM login data ====
66 -
67 -
68 -**Webpage**: [[https:~~/~~/matrix.tum.de>>https://matrix.tum.de]]
69 -
70 -**Username**: LRZ-ID (without @mytum.de or @tum.de)
71 -
72 -**Password**: LRZ/TUM Password
73 -
74 -[[image:tumaccountlogineng1.png||height="329" width="582"]]
75 -
76 -
77 -[[image:tumaccountlogineng2n.png||height="357" width="581"]]
78 -
79 -
80 -
81 -==== With CIT login data ====
82 -
83 -**Webpage**: [[https:~~/~~/matrix.cit.tum.de>>https://matrix.cit.tum.de]]
84 -
85 -**Username**: CIT-ID (without @cit.tum.de)
86 -
87 -**Password**: CIT Password
88 -
89 -
90 -[[image:Screenshot 2023-08-23 at 18.16.21.png||height="446" width="573"]]
91 -
92 -
93 -[[image:rbgaccountlogineng2.png||height="353" width="569"]]
94 -
95 -== Create a new chat room ==
96 -
97 -If you want to create a new chat room, first click the **+**-Button next to **Rooms** in the program or on the web inferface and then enter the name of the chat room.
98 -
99 -[[image:addroom1new.png||height="284" width="567"]]
100 -
101 -
102 -You can also block users on other servers from joining the room or enable encryption. You can't change these settings later. The chat room **TestRoom** is private, so it is not visible to others and participants can only join the room by invitation. If you create a public room, anyone will be able to find and join this room. You can change this at any time from room settings.
103 -
104 -[[image:addroom3.png||height="673" width="563"]]
105 -
106 -
107 -== Invite People into the chat ==
108 -
109 -You can create either private or group chats and invite other people to the chat room. You can also join to these group chats to participate in existing conversations. If they are already on Matrix, enter their Matrix ID (like @musterma:cit.tum.de). If they are not, enter their email address and they will be invited to join.
110 -
111 -**Note**: If you have only released the room for the CIT or TUM user, only people who are registered on the CIT or TUM server can access this room.
112 -
113 -
114 -Click the button **Invite to this room** to invite people to the group chat. 
115 -
116 -[[image:addroom4new.png||height="571" width="553"]]
117 -
118 -
119 -If you want to chat with a member privatly, click on the **+-Button** beside **People** in the program or on the web interface.
120 -
121 -[[image:startchat1.png||height="177" width="555"]]
122 -
123 -Enter the following Matrix ID's in the opened window:
124 -
125 -**For CIT Accounts**: e.g. @musterma:cit.tum.de
126 -
127 127  (% class="box infomessage" %)
128 128  (((
129 -@CIT-ID:cit.tum.de
88 +@CIT-ID:cit.tum.de     (e.g. @cooluser:tum.de)
130 130  )))
131 131  
132 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
91 +**For TUM Accounts:**
133 133  
134 134  (% class="box infomessage" %)
135 135  (((
136 - @LRZ-ID:tum.de
95 + @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
137 137  )))
138 138  
139 139  **For other Accounts: ** e.g. @musterma:matrix.org
... ... @@ -143,6 +143,15 @@
143 143   @username:domain
144 144  )))
145 145  
146 -and send the invitation to the e-mail address of the person to be invited. The invitation will appear in the Matrix chat window and must be accepted.
105 +The invitation will then appear in the Matrix client of the just-added user and must be accepted.
147 147  
148 -[[image:invitetotestraum.png||height="309" width="548"]]
107 +
108 +== Secure Backup ==
109 +
110 +Since end-to-end encryption stores decryption keys only on clients (the "end"), logging out of the last client would mean loosing all messages.
111 +
112 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
113 +
114 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
115 +
116 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓