nixypanda / dotfiles

My dotfiles + system configuration for NixOS and mac
MIT License
171 stars 11 forks source link

xmonad and xrdp #12

Closed alienzj closed 1 year ago

alienzj commented 1 year ago

Dear @sherubthakur , may I know how to config xmonad and xrdp? Follow the wiki here https://nixos.wiki/wiki/Remote_Desktop#RDP: What I configured is like below:

  services.xrdp.enable = true;
  #services.xrdp.defaultWindowManager = "xmonad";
  services.xrdp.defaultWindowManager = "$HOME/.hm-xsession";
  networking.firewall.allowedTCPPorts = [ 3389 ];
  # Soon: services.xrdp.openFirewall = true;

  environment.systemPackages = with pkgs; [
    freerdp 
    remmina
  ];

But seems it doesn't works.

image

Could you please help me?

Thanks a lot!

nixypanda commented 1 year ago

Hey, this is something completely unrelated to these dotfiles and I don't think this is the place to ask this question. I will only look at issues that affect the dotfiles or offer improvements to them. That too is not guaranteed as the scope of this project is that it should work for me. I would suggest you go to Reddit/stack overflow/discourse/discord/IRC/etc for such questions the NixOS-related communities there are extremely helpful.

alienzj commented 1 year ago

Hi, @sherubthakur thanks for your reply.

To be honest, I think it is a feature request for your config. In your config, it created $HOME/.hm-session. It is a bash script.

Yes, I searched NixOS wiki and Google it, seems there are few answers about NixOS + Xmonad + Xrdp. Thanks a lot again!