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
|
yubikey-personalization
|
||||||
zellij
|
zellij
|
||||||
jetbrains-toolbox
|
jetbrains-toolbox
|
||||||
|
gnome-remote-desktop
|
||||||
]
|
]
|
||||||
++ lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
++ lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
@ -206,10 +207,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# remote desktop
|
# remote desktop
|
||||||
networking.firewall.allowedTCPPorts = [ 3389 ];
|
services.xrdp.enable = true;
|
||||||
services.gnome.gnome-remote-desktop.enable = true;
|
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
|
||||||
systemd.services.gnome-remote-desktop = {
|
services.xrdp.openFirewall = true;
|
||||||
wantedBy = [ "graphical.target" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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!
|
# 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.
|
# If no user is logged in, the machine will power down after 20 minutes.
|
||||||
systemd.targets.sleep.enable = false;
|
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!
|
# 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.
|
# If no user is logged in, the machine will power down after 20 minutes.
|
||||||
systemd.targets.sleep.enable = false;
|
systemd.targets.sleep.enable = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue