mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
ac19ae37b5
commit
e4e1e16bc1
1 changed files with 2 additions and 3 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue