Changes for page Matrix
Last modified by Stefan Schwalb on 2023/08/28 20:39
From version 30.1
edited by Aysegül Omus
on 2023/08/25 19:36
on 2023/08/25 19:36
Change comment:
There is no comment for this version
To version 35.1
edited by Jonas Jelten
on 2023/08/28 16:51
on 2023/08/28 16:51
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. kahraman1 +XWiki.jelten - Content
-
... ... @@ -1,180 +1,99 @@ 1 1 {{toc/}} 2 2 3 -= Establishing a Matrix Chat = 4 4 4 +== What is Matrix? == 5 5 6 -== What is matrix? == 7 7 7 +[[image:https://element.io/images/Ui-grad-homepage.png||height="677" width="942"]] 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. 10 10 11 - You can create end-to-end encrypted personal or group chatsthat are notstoredand dependenton a central authoritylike mostother tools (ms teams,whatsapp,zoom, ...). All your messages are synced betweenall your devices- web clients, desktop clients, smartphoneapps. For additionalsecurity,encryptionkeysof contacts canbeverifiedandthenstored as trusted.10 +[[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure. 12 12 13 -You can use either the desktop version or the web interface of matrix. 14 - 15 -==Sign in== 16 - 17 -=== Sign in to the desktop version === 18 - 19 - 20 -[[ Here>>url:https://element.io/get-started]] you can find installation for IOS, Android, Mac, Linux and Windows. 21 - 22 -[[image:matrixdownload.png||height="284" width="575"]] 23 - 24 - 25 - 26 -If you have a CIT or TUM Account, you can sign in wit your login data. 27 - 28 -(% class="wikigeneratedid" %) 29 -For this you need the following homeserver: 30 - 31 -(% class="box infomessage" %) 32 -((( 33 -CIT homeserver: matrix.cit.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}}! 34 34 ))) 35 - 36 -(% class="box infomessage" %) 37 -((( 38 -TUM homeserver: matrix.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. 39 39 ))) 40 40 41 -[[image:elementdesktopversionlogineng.png||height="745" width="558"]] 22 +So people have their **account on one server** but can write messages **to anyone on other servers**. 23 + 42 42 43 -(% class="wikigeneratedid" %) 44 -[[image:elementdesktopversionloginengcit1.png||height="621" width="570"]] 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. 45 45 46 -(% class="wikigeneratedid" %) 47 -[[image:desktopelementengcit2.png||height="635" width="580"]] 29 +== Home Server == 48 48 31 +Messages are stored and synced between home servers. 49 49 50 - (%class="wikigeneratedid"%)51 - Andthelogindataasfollow: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: 52 52 53 - (%class="wikigeneratedid" %)54 - CIT:36 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de 37 +* **matrix.tum.de** for TUM accounts: @username:tum.de 55 55 56 -(% class="box" %) 57 -((( 58 -username: CIT-ID (without @cit.tum.de) 59 -))) 39 +You only need to use one account and can communicate with any other homeserver of the world. 60 60 61 -(% class="box" %) 62 -((( 63 -Password: cit.tum Password 64 -))) 41 +If you don't have a CIT or TUM account, you can use a **public** homeserver instead: 65 65 66 -(% class="wikigeneratedid" %) 67 -TUM: 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 -username: LRZ-ID (without @mytum.de or @tum.de) 72 -))) 47 +To use your home server, you have to **use a client** that communicates with your homeserver. 73 73 74 -(% class="box" %) 75 -((( 76 -Password: LRZ/TUM Password 77 -))) 49 +== Clients == 78 78 79 -(% class="wikigeneratedid" %) 80 -[[image:desktopelementengcit3.png||height="522" width="582"]] 51 +[[Element>>https://element.io/]] is our client of choice. 81 81 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]] 82 82 59 +(% class="wikigeneratedid" %) 60 +Make sure the **home server is set correctly** to your provider! 83 83 84 -=== Sign in to the web interface === 85 - 86 - 87 - 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]] . 88 - 89 - 90 -==== With TUM login data ==== 91 - 92 - 93 -(% class="box" %) 62 +(% class="box infomessage" %) 94 94 ((( 95 - Webpage:https:~/~/matrix.tum.de64 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de) **Password**: CIT Password 96 96 ))) 97 97 98 -(% class="box" %) 67 +(% class="box infomessage" %) 99 99 ((( 100 -username: LRZ-ID (without @mytum.de or @tum.de) 69 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de) **Password**: LRZ/TUM Password 101 101 ))) 102 102 103 -(% class="box" %) 104 -((( 105 -Password: LRZ/TUM Password 106 -))) 107 107 108 - [[image:tumaccountlogineng1.png||height="329"width="582"]]73 +== Using Element for Matrix == 109 109 110 110 111 -[[i mage:tumaccountlogineng2n.png||height="362"width="589"]]76 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎 112 112 113 - ====WithCITlogindata====78 +You can create **personal chats**, **group chats**, and **spaces** for bundling multiple chatrooms to communicate with any other Matrix user in the world. 114 114 115 -(% class="box" %) 116 -((( 117 -Webpage: https:~/~/matrix.cit.tum.de 118 -))) 119 119 120 -(% class="box" %) 121 -((( 122 -username: CIT-ID (without @cit.tum.de) 123 -))) 81 +== Invitation of TUM Users == 124 124 125 -(% class="box" %) 126 -((( 127 -Password: cit.tum Password 128 -))) 83 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs: 129 129 85 +**For CIT Accounts**: 130 130 131 -[[image:Screenshot 2023-08-23 at 18.16.21.png||height="474" width="609"]] 132 - 133 - 134 -[[image:rbgaccountlogineng2.png||height="377" width="608"]] 135 - 136 -== Create new chat room == 137 - 138 -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. 139 - 140 -[[image:addroom1new.png||height="312" width="623"]] 141 - 142 - 143 -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. 144 - 145 -[[image:addroom3.png||height="738" width="617"]] 146 - 147 - 148 -== Invite People into the chat == 149 - 150 -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. 151 - 152 -**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. 153 - 154 - 155 -Click the button **Invite to this room** to invite people to the group chat. 156 - 157 -[[image:addroom4new.png||height="655" width="634"]] 158 - 159 - 160 -If you want to chat with a member privatly, click on the **+-Button** beside **People** in the program or on the web interface. 161 - 162 -[[image:startchat1.png||height="202" width="633"]] 163 - 164 -Enter the following Matrix ID's in the opened window: 165 - 166 -**For CIT Accounts**: e.g. @musterma:cit.tum.de 167 - 168 168 (% class="box infomessage" %) 169 169 ((( 170 -@CIT-ID:cit.tum.de 89 +@CIT-ID:cit.tum.de (e.g. @cooluser:tum.de) 171 171 ))) 172 172 173 -**For TUM Accounts: e.g. @lr89rbg:tum.de92 +**For TUM Accounts:** 174 174 175 175 (% class="box infomessage" %) 176 176 ((( 177 - @LRZ-ID:tum.de 96 + @LRZ-ID:tum.de (e.g. @ga42lol:tum.de) 178 178 ))) 179 179 180 180 **For other Accounts: ** e.g. @musterma:matrix.org ... ... @@ -184,6 +184,15 @@ 184 184 @username:domain 185 185 ))) 186 186 187 - and send the invitationto the e-mailaddress ofthepersonto be invited. The invitation will appear in the Matrix chat windowand must be accepted.106 +The invitation will then appear in the Matrix client of the just-added user and must be accepted. 188 188 189 -[[image:invitetotestraum.png||height="351" width="622"]] 108 + 109 +== Secure Backup == 110 + 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. 112 + 113 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase. 114 + 115 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed. 116 + 117 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓