wiki/Log_in_to_the_Pubnix_from_RDP.html

58 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2024-06-24 19:40:54 +05:30
<!--
title: Log in to the Pubnix from RDP
description:
published: true
date: 2024-06-23T17:36:33.582Z
tags: pubnix
editor: ckeditor
dateCreated: 2024-06-23T17:12:24.097Z
-->
<p>Along with cockpit and ssh, you can also access the pubnix via RDP. We went with (X)RDP instead of VNC due to it being more performant and secure.</p>
<h2>How to connect</h2>
<p>To do so, first install an RDP client. You can use <a href="https://remmina.org">Remmina</a> on Linux and BSD. On Windows you can use the builtin Remote Desktop Connection Utility.</p>
<p>You can connect to <code>p.projectsegfau.lt</code> from the Quick Connect menu on Remmina. Once the connection is established, you will be prompted for your login credentials for the pubnix.</p>
<p>For those who recently get their registration approved for the pubnix, a password is generated as part of the onboarding process and they are stored at <code>~/pass</code> and you can get its content with <code>cat ~/pass</code>.</p>
<p>Once you are logged in, you will be dropped into XFCE. This is our default DE but you can install any X11 DE/WM you like from <a href="https://wiki.projectsegfau.lt/Install_a_package_on_the_Pubnix">Nix</a> and use it.</p>
<h2>Changing your DE/WM</h2>
<p>To specify the DE/WM you want to use, you can use the .xsession file.</p>
<pre><code class="language-plaintext"># .xsession
exec startxfce4</code></pre>
<p>You can replace startxfce4 with the DE/WM of your choice.</p>
<p>Below is a table of common DE/WMs and their command names. If you're having issues after signing in, try running <code>command -v &lt;startup-command&gt;</code> and use that path to binary in <code>.xession</code> file as mentioned above.</p>
<p>&nbsp;</p>
<figure class="table">
<table>
<tbody>
<tr>
<th>DE/WM&nbsp;</th>
<th>Command&nbsp;</th>
</tr>
<tr>
<th>XFCE&nbsp;</th>
<th>startxfce4&nbsp;</th>
</tr>
<tr>
<th>KDE&nbsp;</th>
<th>startplasma-x11&nbsp;</th>
</tr>
<tr>
<th>Cinnamon&nbsp;</th>
<th>cinnamon&nbsp;</th>
</tr>
<tr>
<th>i3&nbsp;</th>
<th>i3&nbsp;</th>
</tr>
<tr>
<th>BSPWM&nbsp;</th>
<th>bspwm&nbsp;</th>
</tr>
<tr>
<th>Qtile&nbsp;</th>
<th>qtile start -b x11</th>
</tr>
</tbody>
</table>
</figure>