<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:ui="http://projectmallard.org/ui/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" version="1.0 ui/1.0" id="sharing-desktop" xml:lang="ca">

  <info>
    <link type="guide" xref="sharing"/>
    <link type="guide" xref="prefs-sharing"/>

    <revision pkgversion="3.33.3" date="2019-07-21" status="review"/>
    <revision version="gnome:42" status="final" date="2022-04-09"/>
    <revision version="gnome:46" status="final" date="2024-03-02"/>
    <revision version="gnome:46" status="draft" date="2024-04-21"/>
    <credit type="author">
      <name>Marie Stará</name>
      <email>413827@mail.muni.cz</email>
    </credit>
    <credit type="author">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>Michael Hill</name>
      <email>mdhillca@gmail.com</email>
    </credit>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jcampbell@gnome.org</email>
    </credit>
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>Let other people view and interact with your desktop using RDP.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Jaume Jorba</mal:name>
      <mal:email>jaume.jorba@gmail.com</mal:email>
      <mal:years>2018, 2019</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Jordi Mas i Hernàndez</mal:name>
      <mal:email>jmas@softcatala.org</mal:email>
      <mal:years>2018, 2020-2023</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Miquel-Àngel Burgos i Fradeja</mal:name>
      <mal:email>miquel.angel.burgos@gmail.com</mal:email>
      <mal:years>2020</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Maite Guix i Ribé</mal:name>
      <mal:email>maite.guix@me.com</mal:email>
      <mal:years>2022</mal:years>
    </mal:credit>
  </info>

  <title>Compartir l'escriptori</title>

  <p>You can let other people view and control your desktop from another
  device with a desktop viewing application. Configure <gui>Desktop Sharing
  </gui> to allow others to access your desktop and set the security
  preferences.</p>

  <p>If you want to log in to your user account remotely, see
  <link xref="remote-login">Remote Login</link>.</p>

  <steps>
    <item>
      <p>Open the <gui xref="shell-introduction#activities">Activities</gui>
      overview and start typing <gui>System</gui>.</p>
    </item>
    <item>
      <p>Select <guiseq><gui>Settings</gui><gui>System</gui></guiseq> from the
      results. This will open the <gui>System</gui> panel.</p>
    </item>
    <item>
      <p>Select <gui>Remote Desktop</gui> to open the
      <gui>Desktop Sharing</gui> panel.</p>
    </item>
    <item>
      <p>To let others view your desktop, switch on <gui>Desktop Sharing</gui>.
      This means that others will be able to try and connect to your device and view
      your screen.</p>
    </item>
    <item>
      <p>To let others interact with your desktop switch on <gui>Remote Control</gui>.
      This may allow the other person to move your cursor, run applications, and
      browse your files, depending on the security settings which you are currently
      using.</p>
    </item>
  </steps>

  <section id="connecting">
  <title>Connectar</title>

  <p>The <gui>How to Connect</gui> section displays the
  <gui>Hostname</gui> and <gui>Port</gui> that can be used
  on the connecting device. Click the button next to each entry if you want to
  place it in the clipboard. A connection can also be established using your
  <link xref="net-findip">IP address</link>.</p>

  <note style="important">
    <p>If you also enable <link xref="remote-login">Remote Login</link>, it will set its port
    number to 3389. This means <gui>Desktop Sharing</gui> will use a different port, for
    example, 3390.</p>
    <p>If the port number is not 3389, specify it when connecting.</p>
  </note>


  <p>When the other device is successfully connected to your desktop, you
  will see the <gui>Screen is being shared</gui> icon
  <media its:translate="no" type="image" src="figures/topbar-screen-shared.svg" style="floatend"/> in your system status area.</p>

  <note style="info"><p>If the text set as <gui>Device Name</gui> can be edited,
  you can <link xref="about-hostname">change</link>
  the name of your device on the network.</p></note>

  </section>

  <section id="authentication">
  <title>Authentication</title>

  <p>The <gui>Login Details</gui> section displays the user name and password to be used in the
  client software used for connecting to your desktop.</p>

  <note style="tip">
    <p>Click <gui>Verify Encryption</gui> to display the encryption
    fingerprint. Compare it with the value displayed by the client when
    connecting: they should be identical.</p>
  </note>
  </section>

  <section id="clients">
  <title>Clients</title>

  <p>To connect to your desktop from another device, the following clients are
  known to work.</p>
  <terms>
    <item>
      <title>Des de Linux:</title>
      <list>
        <item><p><app>Remmina</app>, a GTK client, is available as a package in
        most distributions, and also as a
        <link href="https://flathub.org/apps/details/org.remmina.Remmina">flatpak</link>.
        Use default settings, particularly <gui>Color depth</gui> “Automatic”
        in the connection profile settings.</p>
        </item>
        <item><p><app>Connections</app>, a GTK client, is available as a package
        in most distributions, and also as a <link href="https://flathub.org/apps/org.gnome.Connections">flatpak</link>.</p>
        </item>
        <item><p><app>xfreerdp</app> és un client de línia d'ordres disponible com a paquet en la majoria de distribucions. L'opció <cmd>/network:auto</cmd> s'ha de passar al client a la línia d'ordres.</p>
        </item>
      </list>
    </item>
    <item>
      <title>Des de Microsoft Windows:</title>
      <list>
        <item><p><app>mstsc</app> és el client de Windows integrat. Es recomana la configuració predeterminada.</p>
        </item>
      </list>
    </item>
    <item>
      <title>Des de Linux, Windows o macOS:</title>
      <list>
        <item><p><app>Thincast</app> és un client propietari. La versió de Linux està disponible com a <link href="https://flathub.org/apps/details/com.thincast.client">flatpak</link>. Es recomana la configuració predeterminada.</p>
        </item>
      </list>
    </item>
  </terms>
  </section>

  <section id="checking-connection">
  <title>Checking connection</title>
  <steps>
    <item>
      <p>In your chosen client, enter the <gui>Hostname</gui> or IP address.</p>
     <note style="tip">
      <p>If the port number differs from 3389, specify it (address:port).</p>
      <p>On many networks you need to add a “.local” suffix to the computer's name
      for the connection to work.</p>
    </note>
    </item>
    <item>
      <p>Fill in the user name and password for Desktop Sharing.</p>
    </item>
  </steps>
  </section>

  <section id="disconnect">
  <title>Deixar de compartir l'escriptori</title>

  <p>To disconnect someone who is viewing your desktop, follow the steps below.</p>

  <steps>
    <item>
      <p>Cliqueu al menú del sistema que hi ha a la part dreta de la barra superior.</p>
    </item>
    <item>
      <p>Cliqueu a <gui>Compartint pantalla</gui>.</p>
    </item>
    <item>
      <p>Cliqueu a <gui>Desactiva</gui>.</p>
    </item>
  </steps>

  </section>

  <section id="advanced" ui:expanded="false">
  <title>Temes Avançats</title>

  <terms>
    <item>
      <title>Configuració de la línia d'ordres</title>
      <p>La utilitat <cmd>grdctl</cmd> us permet configurar la configuració de l'amfitrió en una finestra de consola. Per a detalls d'ús, escriviu <cmd>grdctl --help</cmd>.</p>
    </item>
    <item>
      <title>H.264</title>
      <p>La codificació de vídeo H.264 redueix molt l'amplada de banda. L'<app>escriptori remot del GNOME</app> utilitzarà l'H.264 quan: s'utilitzi la canalització de gràfics (un requisit del protocol), el client ho admeti i NVENC (codificador de NVIDIA) estigui disponible.</p>
    </item>
  </terms>
  </section>

</page>
