File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
home/linux/gui/gnome-wayland/values
modules/nixos/desktop/gnome-wayland/values Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 3434 "xwayland-native-scaling" # Scales Xwayland applications to look crisp on HiDPI screens
3535 ] ;
3636 } ;
37+
38+ # 设置 GNOME Remote Desktop RDP 端口为 23389,并允许在占用时向后搜索 10 个端口
39+ settings . "org/gnome/desktop/remote-desktop/rdp" = {
40+ # port = 23389; # 目前不知道为什么不起效
41+ # "negotiate-port" = true; # 目前不知道为什么不起效
42+ enable = true ;
43+ } ;
44+
45+ # settings."org/gnome/desktop/remote-desktop/rdp/headless" = {
46+ # port = 23390; # 目前不知道为什么不起效
47+ # "negotiate-port" = true; # 目前不知道为什么不起效
48+ # enable = false;
49+ # };
3750 } ;
3851}
Original file line number Diff line number Diff line change 1010 systemd . services . gnome-remote-desktop = {
1111 wantedBy = [ "graphical.target" ] ; # for starting the unit automatically at boot
1212 } ;
13- networking . firewall . allowedTCPPorts = [ 3389 ] ;
14-
13+ networking . firewall . allowedTCPPorts = ( lib . range 3389 3398 ) ++ ( lib . range 23389 23398 ) ;
1514}
You can’t perform that action at this time.
0 commit comments