the last days I felt I made some progress learning the very basics of nixos. I manged to set up a vm with nixos and am able to access a xfce-session using xrpd. Things seem to work fine but I cannot get the keyboard layout to work properly. I have to use a German keyboard, when connected via rdp to the vm the layout is not correct. XFCE seems to think it is english keyboard, so the special charackters are messed up and I do not have the german “umlaute” (Ö Ä Ü). Via SSH the keyboard works as it should.
This happens for me too with current version. I have downgraded xrdp and it connects quickly, but the older version has many CVEs (security issues), so it is not a good workaround.
Interesting. With your help I got it to a point where I use it on a daily basis. So the bug with the connection time and the clipboad got quite annoying. XRDP is used only in my local network and the machine is not acessible form the internet so I think it might be sane to take the CVE risk. To save me a ton of research: do you mind sharing which version you used and maybe a working config in nix to downgrade safely?
inputs.nixos-2205 is a flake input on my configuration. It points to source of nixpkgs. Run nix-shell -p nix-prefetch-github --run 'nix-prefetch-github --rev nixos-22.05 NixOS nixpkgs' and then adapt it to XRDP and non-english keyboard layout - #2 by adomixaszvers