Remote Desktop: Difference between revisions
m →Self hosting: link to RustDesk and CamelCase for RustDesk |
Use current channel for search.nixos.org links Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 75: | Line 75: | ||
This creates the <code>guacamole-server.service</code> systemd unit. | This creates the <code>guacamole-server.service</code> systemd unit. | ||
See the [https://search.nixos.org/options? | See the [https://search.nixos.org/options?type=packages&query=services.guacamole-server search.nixos options] for other configuration options. | ||
The <code>host</code> entry indicates on which IP the server component listens. The <code>port</code> entry here is the default port of <code>4822</code>. | The <code>host</code> entry indicates on which IP the server component listens. The <code>port</code> entry here is the default port of <code>4822</code>. | ||
| Line 128: | Line 128: | ||
This creates a <code>tomcat.service</code> systemd unit. | This creates a <code>tomcat.service</code> systemd unit. | ||
See the [https://search.nixos.org/options? | See the [https://search.nixos.org/options?type=packages&query=services.guacamole-client search.nixos options] for other configuration options. | ||
The webportal this provides is served by the tomcat server, and listens on port <code>8080</code> by default. The <code>settings.guacd-port</code> tells the client software how to communicate with the guacamole-server component. | The webportal this provides is served by the tomcat server, and listens on port <code>8080</code> by default. The <code>settings.guacd-port</code> tells the client software how to communicate with the guacamole-server component. | ||
| Line 140: | Line 140: | ||
If you want to use <code>nginx</code> as a reverse proxy in front of the webportal, then the below options can serve as an example setup. | If you want to use <code>nginx</code> as a reverse proxy in front of the webportal, then the below options can serve as an example setup. | ||
This example has a virtual host available as <code>https://remote.mydomain.net</code>. It uses the [https://search.nixos.org/options? | This example has a virtual host available as <code>https://remote.mydomain.net</code>. It uses the [https://search.nixos.org/options?type=packages&query=services.nginx nginx] service, and [https://letsencrypt.org/ LetsEncrypt] for SSL. Configuration of a DNS domain and records is outside the scope of this document. | ||
services.nginx = { | services.nginx = { | ||
| Line 219: | Line 219: | ||
NixOS has first-class support for XRDP. Client-wise, RDP can be accessed in many ways, but `remmina` and `freerdp` support it natively. | NixOS has first-class support for XRDP. Client-wise, RDP can be accessed in many ways, but `remmina` and `freerdp` support it natively. | ||
All of the options for the <code>xrdp</code> service can be viewed on the [https://search.nixos.org/options? | All of the options for the <code>xrdp</code> service can be viewed on the [https://search.nixos.org/options?type=packages&query=xrdp NixOS Options wiki], though an example setup inside of <code>configuration.nix</code> is provided below: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||