aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-23 23:40:18 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-23 23:46:50 +0900
commite4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5 (patch)
treedd8cbfba33377b07bce1c21f2c12642d5d8344df /gnu/services
parentac19ae37b5000c224c4cd167b239cc3027d01b30 (diff)
downloadguix-e4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5.tar
guix-e4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5.tar.gz
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
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/lightdm.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/services/lightdm.scm b/gnu/services/lightdm.scm
index 18beaa44de..798c106563 100644
--- a/gnu/services/lightdm.scm
+++ b/gnu/services/lightdm.scm
@@ -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"))