refactor(gui): replace GNOME remote desktop with XRDP
- Switched from GNOME remote desktop to XRDP for remote access services across configurations. - Removed GNOME-specific settings and added XRDP service settings in GUI and system modules. - Enhances flexibility and aligns remote desktop service configuration.
This commit is contained in:
parent
63cd974f58
commit
d316ef4c2d
3 changed files with 4 additions and 13 deletions
|
@ -167,6 +167,7 @@ in
|
|||
yubikey-personalization
|
||||
zellij
|
||||
jetbrains-toolbox
|
||||
gnome-remote-desktop
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
|
@ -206,10 +207,8 @@ in
|
|||
};
|
||||
|
||||
# remote desktop
|
||||
networking.firewall.allowedTCPPorts = [ 3389 ];
|
||||
services.gnome.gnome-remote-desktop.enable = true;
|
||||
systemd.services.gnome-remote-desktop = {
|
||||
wantedBy = [ "graphical.target" ];
|
||||
};
|
||||
services.xrdp.enable = true;
|
||||
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
|
||||
services.xrdp.openFirewall = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -34,10 +34,6 @@ with lib.metacfg;
|
|||
];
|
||||
};
|
||||
|
||||
services.xrdp.enable = true;
|
||||
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
|
||||
services.xrdp.openFirewall = true;
|
||||
|
||||
# Disable the GNOME3/GDM auto-suspend feature that cannot be disabled in GUI!
|
||||
# If no user is logged in, the machine will power down after 20 minutes.
|
||||
systemd.targets.sleep.enable = false;
|
||||
|
|
|
@ -34,10 +34,6 @@ with lib.metacfg;
|
|||
];
|
||||
};
|
||||
|
||||
services.xrdp.enable = true;
|
||||
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
|
||||
services.xrdp.openFirewall = true;
|
||||
|
||||
# Disable the GNOME3/GDM auto-suspend feature that cannot be disabled in GUI!
|
||||
# If no user is logged in, the machine will power down after 20 minutes.
|
||||
systemd.targets.sleep.enable = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue