Changes for page Matrix

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

From version 12.1
edited by Aysegül Omus
on 2023/08/22 00:06
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,159 +1,120 @@
1 -= Establishing a Matrix Chat =
1 +{{toc/}}
2 2  
3 3  
4 -There are two Matrix-Servers:
5 - 1 matrix.tum.de (LRZ-ID)
6 - 1 matrix.cit.tum.de (ITO-ID)
4 += What is Matrix? =
7 7  
8 -You can log in any of them with the appropriate ID and password.
9 -The Matrix Server is available as web but also as client. It can be found as web interface under the following links:
10 10  
11 -[[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"]]
12 12  
13 -[[matrix.tum.de (LRZ-TUM-ID)>>url:https://matrix.tum.de/#/welcome]]
14 14  
10 +[[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure.
15 15  
16 -[[ 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 +)))
17 17  
18 -[[image:elementdriver.png||width="1000"]]
22 +So people have their **account on one server** but can write messages **to anyone on other servers**.
23 +
19 19  
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.
20 20  
21 -== Log in ==
29 +== Home Server ==
22 22  
31 +Messages are stored and synced between home servers.
23 23  
24 -=== Log in to the web interface with TUM login data ===
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  
36 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
37 +* **matrix.tum.de** for TUM accounts: @username:tum.de
26 26  
39 +You only need to use one account and can communicate with any other homeserver of the world.
27 27  
28 -{{{webpage: https://matrix.tum.de
41 +If you don't have a CIT or TUM account, you can use a **public** homeserver instead:
29 29  
30 -ID: LRZ-ID (without @mytum.de or @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 -Password: LRZ/TUM Password
47 +To use your home server, you have to **use a client** that communicates with your homeserver.
33 33  
49 +== Clients ==
34 34  
35 -}}}
51 +[[Element>>https://element.io/]] is our client of choice.
36 36  
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]]
37 37  
59 +(% class="wikigeneratedid" %)
60 +Make sure the **home server is set correctly** to your provider!
38 38  
39 -[[image:matrixrbgTUM.png||width="1000"]]
62 +(% class="box infomessage" %)
63 +(((
64 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
65 +)))
40 40  
67 +(% class="box infomessage" %)
68 +(((
69 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
70 +)))
41 41  
42 42  
43 -[[image:matrixanmeldentum.png]]
73 +== Using Element for Matrix ==
44 44  
45 45  
76 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
46 46  
47 -=== Log in to the web interface with cit.tum login data ===
78 +You can create **personal chats**, **group chats**, and **spaces** for bundling multiple chatrooms to communicate with any other Matrix user in the world.
48 48  
49 -{{{Webseite: https://matrix.cit.tum.de
50 50  
51 -ID: ITO(cit.tum)-ID (without @cit.tum.de)
81 += Invitation of TUM Users =
52 52  
53 -Password: cit.tum Password
83 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
54 54  
55 -}}}
85 +**For CIT Accounts**:
56 56  
87 +(% class="box infomessage" %)
88 +(((
89 +@CIT-ID:cit.tum.de     (e.g. @cooluser:cit.tum.de)
90 +)))
57 57  
58 -[[image:elemtrbgin.png||width="1000"]]
59 -
60 -
61 -[[image:matrixanmeldenIntum.png||width="1000"]]
62 -
63 -
64 -----
65 -
66 -== Create new chat room ==
67 -
68 -
69 -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.
70 -
71 -
72 -todo- screenshot
73 -
74 -
75 -
76 -[[image:createroom2.png||width="1000"]]
77 -
78 -
79 -The chat room **Test-RBG** is private, so it is not visible to others and participants can only join the room by invitation.
80 -
81 -[[image:createroomtestrbg.png||width="1000"]]
82 -
83 -
84 -== Invite into the chat room ==
85 -
86 -
87 -**Requirement**: The member which is been invited has registered once on the same TUM/ITO Matrix Server
88 -
89 -If you want to invite new members to the room, click the button **Invite to this room** at the top right of the program or the web interface.
90 -
91 -[[image:invitetothisroom1.png||width="1000"]]
92 -
93 -
94 -Enter followings in the opened window:
95 -
96 -**For in.tum or ma.tum Accounts**: e.g. @musterma:cit.tum.de
97 -
98 -{{{@cit.tum-ID:cit.tum.de
99 -
100 -}}}
101 -
102 102  **For TUM Accounts:**
103 103  
104 -{{{ @lrz-Kennung:tum.de
94 +(% class="box infomessage" %)
95 +(((
96 + @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
97 +)))
105 105  
106 -}}}
99 +**For other Accounts: ** e.g. @musterma:matrix.org
107 107  
101 +(% class="box infomessage" %)
102 +(((
103 + @username:domain
104 +)))
108 108  
109 -and send the invitation to the e-mail address of the person to be invited, that means to the ITO(cit.tum) or TUM email address.
106 +The invitation will then appear in the Matrix client of the just-added user and must be accepted.
110 110  
111 -[[image:invitetothisroom.png||width="1000"]]
108 +**Search for User Names**
112 112  
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.
113 113  
114 -The invitation will appear in the matrix chat window and must be accepted.
112 += Secure Backup =
115 115  
116 -[[image:maxmustereinladungaccept.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.
117 117  
116 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
118 118  
119 -=== invite to the private chat ===
118 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
120 120  
121 -
122 -**Requirement**: The member which is been invited has registered once on the same TUM/ITO Matrix Server
123 -
124 -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.
125 -
126 -
127 -
128 -[[image:startchat1.png||width="1000"]]
129 -
130 -
131 -Enter followings in the opened window:
132 -
133 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
134 -
135 -{{{@cit.tum-ID:cit.tum.de
136 -
137 -}}}
138 -
139 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
140 -
141 -{{{ @lrz-Kennung:tum.de
142 -
143 -}}}
144 -
145 -
146 -and send the invitation to the e-mail address of the person to be invited, that means to the ITO(cit.tum) or TUM email address.
147 -
148 -[[image:invitepeople1.png||width="1000"]]
149 -
150 -
151 -[[image:invitepeople2.png||width="1000"]]
152 -
153 -
154 -The invitation will appear in the element chat window and must be accepted.
155 -
156 -[[image:invitepeople.png||width="1000"]]
157 -
158 -
159 -----
120 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓