I don’t understand how to do this, enabling services.gnome.gnome.gnome-remote-desktop.enable doesn’t seem to bring any result or I didn’t understand what to do next
More context is needed
For windows i can download spacedesk and connect from tablet to computer, what is the best way to do this in nixos?
First you have to figure out how to do this on Linux, at least based on https://alternativeto.net/software/spacedesk/?platform=linux I’m not sure if there’re many options here. Mirror hall seems specifically tailored to gnome, that may be the best option.
If you go with that, next you’d have to package the code (Raffaele / MirrorHall · GitLab) and configure it according to their docs. nix-init may help with packaging, as will the nixpkgs manual: Nixpkgs Reference Manual
Thanks, but how will I download it to my ipad? Or will it be possible to connect through some other app?
Sorry, I have no idea, this was just my best guess based on some googling.
I did this some months ago. I don’t have an ipad on hand to verify but I will describe my process.
dconf write /org/gnome/desktop/remote-desktop/rdp/screen-share-mode "'extend'"
If you use home-manager I believe you can do something like this:
dconf = {
enable = true;
settings = {
"org/gnome/desktop/remote-desktop/rdp" = {
screen-share-mode = "extend";
};
};
};
-
Then I believe you needed to flip some switch in Settings > System
-
Allow connections
networking.firewall.allowedTCPPorts = [ 3389 ];
networking.firewall.allowedUDPPorts = [ 3389 ];
-
Connect with an RDP app from the ipad:
I used the one named “Windows”: Experience the App Store and iTunes Anywhere | fnd
(getting the right connection here took some trial and error, I ended up using ip instead of hostname) -
If everything works you should see the screen in Settings > Displays
This was largely based on this tutorial: Use Your iPad or Android Tablet as External Monitor in Ubuntu - OMG! Ubuntu
For some reason, after changing dconf write /org/gnome/desktop/remote-desktop/rdp/screen-share-mode, my wayland session is not available now
What is the default value?
Okay, thanks for your help.
I believe dconf write /org/gnome/desktop/remote-desktop/rdp/screen-share-mode "'mirror-primary'" is the default.
What do you mean that you session is not available?
Gnome(Wayland) selection in grub disappeared
Yeah, thanks, that helped.