Changes for page Matrix

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

From version 16.1
edited by Aysegül Omus
on 2023/08/23 00:07
Change comment: There is no comment for this version
To version 36.1
edited by Jonas Jelten
on 2023/08/28 17:06
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,156 +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="https://element.io/images/Ui-grad-homepage.png" height="677" width="942"]]
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.
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 +)))
18 18  
22 +So people have their **account on one server** but can write messages **to anyone on other servers**.
23 +
19 19  
20 -[[image:matrixdownload.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.
21 21  
29 +== Home Server ==
22 22  
23 -== Log in ==
31 +Messages are stored and synced between home servers.
24 24  
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:
25 25  
26 -=== Log in to the web interface with TUM login data ===
36 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
37 +* **matrix.tum.de** for TUM accounts: @username:tum.de
27 27  
39 +You only need to use one account and can communicate with any other homeserver of the world.
28 28  
41 +If you don't have a CIT or TUM account, you can use a **public** homeserver instead:
29 29  
30 -{{{webpage: https://matrix.tum.de
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/]] 🤩
31 31  
32 -ID: LRZ-ID (without @mytum.de or @tum.de)
47 +To use your home server, you have to **use a client** that communicates with your homeserver.
33 33  
34 -Password: LRZ/TUM Password
49 +== Clients ==
35 35  
51 +[[Element>>https://element.io/]] is our client of choice.
36 36  
37 -}}}
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]]
38 38  
39 -[[image:tumaccountlogineng1.png]]
59 +(% class="wikigeneratedid" %)
60 +Make sure the **home server is set correctly** to your provider!
40 40  
41 -
42 -
43 -
44 -[[image:tumaccountlogineng2n.png]]
45 -
46 -=== Log in to the web interface with cit.tum login data ===
47 -
48 -{{{webpage: https://matrix.cit.tum.de
49 -
50 -ID: ITO(cit.tum)-ID (without @cit.tum.de)
51 -
52 -Password: cit.tum Password
53 -
54 -}}}
55 -
56 -
57 -
58 -== [[image:rbgaccountlogineng1.png]] ==
59 -
60 -== [[image:rbgaccountlogineng2.png]] ==
61 -
62 -== Create new chat room ==
63 -
64 -
65 -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.
66 -
67 -
68 -[[image:addroom1.png]]
69 -
70 -
71 -
72 -[[image:addroom3.png]]
73 -
74 -
75 -
76 -
77 -
78 -The chat room **TestRoom** is private, so it is not visible to others and participants can only join the room by invitation.
79 -
80 -
81 -
82 -== Invite into the chat room ==
83 -
84 -
85 -**Requirement**: The member which is been invited has registered once on the Matrix Server.
86 -
87 -
88 -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.
89 -
90 -
91 -If you want to invite new members to the room, click the button **Invite to this room**.
92 -
93 -[[image:addroom4.png]]
94 -
95 -
96 -Enter followings in the opened window:
97 -
98 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
99 -
100 100  (% class="box infomessage" %)
101 101  (((
102 -@ITO-ID:cit.tum.de
64 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
103 103  )))
104 104  
105 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
106 -
107 107  (% class="box infomessage" %)
108 108  (((
109 - @lrz-ID:tum.de
69 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
110 110  )))
111 111  
112 -**For other Accounts: ** e.g. @musterma:matrix.org
113 113  
114 -(% class="box infomessage" %)
115 -(((
116 - name, email address, username  @username:homeserver
117 -)))
73 +== Using Element for Matrix ==
118 118  
119 -and send the invitation to the e-mail address of the person to be invited.
120 120  
76 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
121 121  
122 -[[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.
123 123  
124 -The invitation will appear in the matrix chat window and must be accepted.
125 125  
81 +== Invitation of TUM Users ==
126 126  
83 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
127 127  
128 -=== invite to the private chat ===
85 +**For CIT Accounts**:
129 129  
130 -
131 -**Requirement**: The member which is been invited has registered once on the same TUM/ITO Matrix Server
132 -
133 -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.
134 -
135 -
136 -
137 -[[image:startchat1.png||width="1000"]]
138 -
139 -
140 -Enter followings in the opened window:
141 -
142 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
143 -
144 144  (% class="box infomessage" %)
145 145  (((
146 -@ITO-ID:cit.tum.de
89 +@CIT-ID:cit.tum.de     (e.g. @cooluser:tum.de)
147 147  )))
148 148  
149 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
92 +**For TUM Accounts:**
150 150  
151 151  (% class="box infomessage" %)
152 152  (((
153 - @lrz-ID:tum.de
96 + @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
154 154  )))
155 155  
156 156  **For other Accounts: ** e.g. @musterma:matrix.org
... ... @@ -157,19 +157,18 @@
157 157  
158 158  (% class="box infomessage" %)
159 159  (((
160 - name, email address, username  @username:homeserver
103 + @username:domain
161 161  )))
162 162  
163 -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.
164 164  
165 165  
166 -[[image:invitepeople1.png||width="1000"]]
109 +== Secure Backup ==
167 167  
111 +Since end-to-end encryption stores decryption **keys only on clients** (the "end"), logging out of the last client would mean loosing all messages.
168 168  
169 -[[image:invitepeople2.png||width="1000"]]
113 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
170 170  
115 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
171 171  
172 -The invitation will appear in the element chat window and must be accepted.
173 -
174 -
175 -----
117 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓