~ruther/guix-local

e4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5 — Maxim Cournoyer 2 years ago ac19ae3
services: lightdm: Fix activation script and default vnc server command.

* gnu/services/lightdm.scm (lightdm-configuration)
[vnc-server-command]: Add missing '/' in binary file name..
(%lightdm-activation): Apply 'directory' *variable*, not string, to
'find-files'.

Reported-by: Dariqq <dariqq@posteo.net>
Change-Id: Iec67051d18026c87800552f9dd3198f065f2dc7d
1 files changed, 2 insertions(+), 3 deletions(-)

M gnu/services/lightdm.scm
M gnu/services/lightdm.scm => gnu/services/lightdm.scm +2 -3
@@ 364,7 364,7 @@ When unspecified, listen on for any hosts/IP addresses.")
   (boolean #f)
   "Whether a VNC server is started.")
  (vnc-server-command
   (file-like (file-append tigervnc-server "bin/Xvnc"))
   (file-like (file-append tigervnc-server "/bin/Xvnc"))
   "The Xvnc command to use for the VNC server, it's possible to provide extra
options not otherwise exposed along the command, for example to disable
security:


@@ 524,8 524,7 @@ port=" (number->string vnc-server-port) "\n"
                           (not (= gid (stat:gid st)))))
              (for-each (lambda (file)
                          (chown file uid gid))
                        (find-files "directory"
                                    #:directories? #t)))))
                        (find-files directory #:directories? #t)))))

        (when (not (stat "/var/lib/lightdm-data" #f))
          (mkdir-p "/var/lib/lightdm-data"))