From 2d213d4dbd4d17139ae5b347f9a946e6360d4df6 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 1 May 2022 00:07:23 +0200 Subject: [PATCH] Write out args of wayvnc, start on unix socket --- modules/headless-graphical/wayvnc.service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/headless-graphical/wayvnc.service.nix b/modules/headless-graphical/wayvnc.service.nix index 021fe021..43b7ebae 100644 --- a/modules/headless-graphical/wayvnc.service.nix +++ b/modules/headless-graphical/wayvnc.service.nix @@ -11,7 +11,7 @@ pkgs: Service = { Type = "simple"; Environment = "WAYLAND_DISPLAY=wayland-1"; - ExecStart = "${pkgs.wayvnc}/bin/wayvnc -r -p 0.0.0.0 5901"; + ExecStart = "${pkgs.wayvnc}/bin/wayvnc --render-cursor --unix-socket /run/wayvnc.sock"; }; Install = {