Changes for page Matrix

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

From version 17.1
edited by Aysegül Omus
on 2023/08/23 00:14
Change comment: There is no comment for this version
To version 40.1
edited by Stefan Schwalb
on 2023/08/28 20:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kahraman
1 +XWiki.schwalb
Content
... ... @@ -1,170 +1,99 @@
1 -= Establishing a Matrix Chat =
1 +{{toc/}}
2 2  
3 -~{~{toc/}}
4 4  
5 -There are two Matrix-Servers:
6 - 1 matrix.tum.de (LRZ-ID)
7 - 1 matrix.cit.tum.de (ITO-ID)
4 += What is Matrix? =
8 8  
9 -You can log in any of them with the appropriate ID and password.
10 -The Matrix Server is available as web but also as client. It can be found as web interface under the following links:
11 11  
12 -[[matrix.cit.tum.de (ITO- ID)>>url:https://matrix.cit.tum.de/#/welcome]]
7 +[[image:matrix-element-uidemo.png||alt="Matrix user interface demo" height="641" width="892"]]
13 13  
14 -[[matrix.tum.de (LRZ-TUM-ID)>>url:https://matrix.tum.de/#/welcome]]
15 15  
10 +[[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure.
16 16  
17 -[[ Here>>url:https://element.io/get-started]] you can find installation for IOS, Android, Mac, Linux and Windows.
18 -
19 -
20 -[[image:matrixdownload.png]]
21 -
22 -
23 -== Log in ==
24 -
25 -
26 -=== Log in to the web interface with TUM login data ===
27 -
28 -
29 -
30 -(% class="box" %)
31 -(((
32 -webpage: https:~/~/matrix.tum.de
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}}!
33 33  )))
34 -
35 -(% class="box" %)
36 -(((
37 -ID: LRZ-ID (without @mytum.de or @tum.de)
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.
38 38  )))
39 39  
40 -(% class="box" %)
41 -(((
42 -Password: LRZ/TUM Password
43 -)))
44 -
45 -(% class="box" %)
46 -(((
22 +So people have their **account on one server** but can write messages **to anyone on other servers**.
47 47  
48 -)))
49 49  
50 -[[image:tumaccountlogineng1.png]]
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.
51 51  
29 +== Home Server ==
52 52  
31 +Messages are stored and synced between home servers.
53 53  
33 +A user typically has **one account** on one homeserver.
34 +You can use any homeserver of your choice - however **for TUM**, [[ITO>>doc:CIT.ITO.WebHome]] offers two homeservers:
54 54  
55 -[[image:tumaccountlogineng2n.png]]
36 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
37 +* **matrix.tum.de** for TUM accounts: @username:tum.de
56 56  
57 -=== Log in to the web interface with cit.tum login data ===
39 +You only need to use one account and can communicate with any other homeserver of the world.
58 58  
59 -(% class="box" %)
60 -(((
61 -webpage: https:~/~/matrix.cit.tum.de
62 -)))
41 +If you don't have a CIT or TUM account, you can use a **public** homeserver instead:
63 63  
64 -(% class="box" %)
65 -(((
66 -ID: ITO-ID (without @cit.tum.de)
67 -)))
43 +* matrix.org: [[https:~~/~~/app.element.io/#/register>>https://app.element.io/#/register]]
44 +* or any other homeserver [[https:~~/~~/joinmatrix.org/servers/>>https://joinmatrix.org/servers/]]
45 +* or, [[host your own homeserver>>https://matrix-org.github.io/synapse/latest/]] 🤩
68 68  
69 -(% class="box" %)
70 -(((
71 -Password: cit.tum Password
72 -)))
47 +To use your home server, you have to **use a client** that communicates with your homeserver.
73 73  
49 +== Clients ==
74 74  
75 -== [[image:rbgaccountlogineng1.png]] ==
51 +[[Element>>https://element.io/]] is our client of choice.
76 76  
77 -== [[image:rbgaccountlogineng2.png]] ==
53 +* [[Desktop Client>>https://element.io/download]] (easily provided in [[your Linux distribution of choice>>https://repology.org/project/element-desktop]])
54 +* In your web browser:
55 +** [[matrix.cit.tum.de>>https://matrix.cit.tum.de]]
56 +** [[matrix.tum.de>>https://matrix.tum.de]]
57 +* [[On your smartphone>>https://element.io/download]]
78 78  
79 -== Create new chat room ==
59 +(% class="wikigeneratedid" %)
60 +Make sure the **home server is set correctly** to your provider!
80 80  
81 -
82 -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. You can also block users on other servers from joining the room or enable encryption. You can't change these settings later.
83 -
84 -
85 -[[image:addroom1.png]]
86 -
87 -
88 -
89 -[[image:addroom3.png]]
90 -
91 -
92 -
93 -
94 -
95 -The chat room **TestRoom** is private, so it is not visible to others and participants can only join the room by invitation.
96 -
97 -
98 -
99 -== Invite into the chat room ==
100 -
101 -
102 -**Requirement**: The member which is been invited has registered once on the Matrix Server.
103 -
104 -**Note**: if you have only released the room for the cit.tum or tum user, only people who are registered on the cit.tum or tum server can access this room.
105 -
106 -If you want to invite new members to the room, click the button **Invite to this room**.
107 -
108 -[[image:addroom4.png]]
109 -
110 -
111 -Enter followings in the opened window:
112 -
113 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
114 -
115 115  (% class="box infomessage" %)
116 116  (((
117 -@ITO-ID:cit.tum.de
64 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
118 118  )))
119 119  
120 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
121 -
122 122  (% class="box infomessage" %)
123 123  (((
124 - @lrz-ID:tum.de
69 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
125 125  )))
126 126  
127 -**For other Accounts: ** e.g. @musterma:matrix.org
128 128  
129 -(% class="box infomessage" %)
130 -(((
131 - name, email address, username  @username:domain
132 -)))
73 +== Using Element for Matrix ==
133 133  
134 -and send the invitation to the e-mail address of the person to be invited.
135 135  
76 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
136 136  
137 -[[image:invitetotestroom.png]]
78 +You can create **personal chats**, **group chats**, and **spaces** for bundling multiple chatrooms to communicate with any other Matrix user in the world.
138 138  
139 -The invitation will appear in the matrix chat window and must be accepted.
140 140  
81 += Invitation of TUM Users =
141 141  
83 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
142 142  
143 -=== invite to the private chat ===
85 +**For CIT Accounts**:
144 144  
145 -
146 -**Requirement**: The member which is been invited has registered once on the Matrix Server.
147 -
148 -
149 -You can also privatly chat with other in Matrix. If you want to chat with a member privatly, click on the **+-Button** beside **People** in the program or on the web interface.
150 -
151 -[[image:startchat1.png||width="1000"]]
152 -
153 -
154 -Enter followings in the opened window:
155 -
156 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
157 -
158 158  (% class="box infomessage" %)
159 159  (((
160 -@ITO-ID:cit.tum.de
89 +@CIT-ID:cit.tum.de     (e.g. @cooluser:cit.tum.de)
161 161  )))
162 162  
163 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
92 +**For TUM Accounts:**
164 164  
165 165  (% class="box infomessage" %)
166 166  (((
167 - @lrz-ID:tum.de
96 + @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
168 168  )))
169 169  
170 170  **For other Accounts: ** e.g. @musterma:matrix.org
... ... @@ -171,19 +171,21 @@
171 171  
172 172  (% class="box infomessage" %)
173 173  (((
174 - name, email address, username  @username:homeserver
103 + @username:domain
175 175  )))
176 176  
177 -and send the invitation to the e-mail address of the person to be invited.
106 +The invitation will then appear in the Matrix client of the just-added user and must be accepted.
178 178  
108 +**Search for User Names**
179 179  
180 -[[image:invitepeople1.png||width="1000"]]
110 +To add a user to the user directory, he must become a member of a public chat room on the server, e.g. [[https:~~/~~/matrix.to/#/#announcements:tum.de>>https://matrix.to/#/#announcements:tum.de]] on matrix.tum.de, or share a private chat. Only after that his name will be displayed in the search field for persons.
181 181  
112 += Secure Backup =
182 182  
183 -[[image:invitepeople2.png||width="1000"]]
114 +Since end-to-end encryption stores decryption **keys only on clients** (the "end"), logging out of the last client would mean loosing all messages.
184 184  
116 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
185 185  
186 -The invitation will appear in the element chat window and must be accepted.
118 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
187 187  
188 -
189 -----
120 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓