Remote Desktop: Difference between revisions

From NixOS Wiki
imported>Sjau
m Adding info about logging out user first
imported>Whil-
mNo edit summary
Line 21: Line 21:
services.xrdp.enable = true;
services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
services.xrdp.defaultWindowManager = "startplasma-x11";
networking.firewall.allowedTCPPorts = [ 3389 ];
services.xrdp.openFirewall = true;
</source>
</source>
(Source: [https://discourse.nixos.org/t/please-post-working-xrdp-setting-in-configuration-nix/7404/10 Discourse Link] )
(Source: [https://discourse.nixos.org/t/please-post-working-xrdp-setting-in-configuration-nix/7404/10 Discourse Link] )

Revision as of 10:58, 21 August 2021

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 packaged in nixos as x2goclient.

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";
services.xrdp.openFirewall = true;

(Source: Discourse Link )

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