58 lines
2.3 KiB
HTML
58 lines
2.3 KiB
HTML
|
<!--
|
||
|
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 <startup-command></code> and use that path to binary in <code>.xession</code> file as mentioned above.</p>
|
||
|
<p> </p>
|
||
|
<figure class="table">
|
||
|
<table>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th>DE/WM </th>
|
||
|
<th>Command </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>XFCE </th>
|
||
|
<th>startxfce4 </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>KDE </th>
|
||
|
<th>startplasma-x11 </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Cinnamon </th>
|
||
|
<th>cinnamon </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>i3 </th>
|
||
|
<th>i3 </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>BSPWM </th>
|
||
|
<th>bspwm </th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Qtile </th>
|
||
|
<th>qtile start -b x11</th>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</figure>
|