Remote Desktop

From NixOS Wiki
Revision as of 12:59, 6 April 2022 by imported>Jonasmadsen (Added meshcentral)

Tiger VNC

Nixpkgs has a package but no service. The server component can be started using the vncserver command. To connect use the vncviewer command.

x2go

X2go client is packaged in nixos as x2goclient.

The server is installed by putting the following line:
services.x2goserver.enable = true;
to /etc/nixos/configuration.nix.

RDP

NixOS has first class support for XRDP server.

services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;

services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
networking.firewall.allowedTCPPorts = [ 3389 ];
# Soon: services.xrdp.openFirewall = true;

(Source: Discourse Link, nixpkgs code)

Notice: You need to log out the user first on the remote machine, otherwise you'll get a black screen. (Source: Reddit )

freerdp or remmina can be used on the client side.

Guacamole

Not yet added to nixpkgs

https://github.com/NixOS/nixpkgs/issues/17879

Meshcentral

Meshcentral is a self-hosted open source administration tool similar to teamviewer. Meshcentral server has been added, and can be used with:

services.meshcentral.enable = true;

(Meshcentral Server)[1]

however the agent is not yet added so you can't deploy clients i nixos. yet. https://github.com/NixOS/nixpkgs/issues/167527