Remote Desktop: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 254: | Line 254: | ||
To fix this we need to enable and start the systemd unit at boot using <code>wantedBy = [ "graphical.target" ];</code> as shown below: | To fix this we need to enable and start the systemd unit at boot using <code>wantedBy = [ "graphical.target" ];</code> as shown below: | ||
<syntaxhighlight lang="nix">services.gnome.gnome-remote-desktop.enable = true; # 'true' does not make the unit start | <syntaxhighlight lang="nix">services.gnome.gnome-remote-desktop.enable = true; # 'true' does not make the unit start automatically at boot | ||
systemd.services.gnome-remote-desktop = { | systemd.services.gnome-remote-desktop = { | ||
wantedBy = [ "graphical.target" ]; # for starting the unit | wantedBy = [ "graphical.target" ]; # for starting the unit automatically at boot | ||
}; | }; | ||
services.displayManager.autoLogin.enable = false; | services.displayManager.autoLogin.enable = false; | ||