diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-11-15 17:46:34 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-11-27 10:55:51 -0500 |
commit | dce3672f5a8eb440ae61a334384423d1e2ff5e65 (patch) | |
tree | d1e441dab3726fea12bc82eb3931f4b9827dc07c /gnu/services | |
parent | 842e491e2e798298246f3449b39d1e3f36fe7d1c (diff) |
services: xvnc: Do not specify display number when using inetd.
* gnu/services/vnc.scm (xvnc-configuration->command-line-arguments): Omit X
display number when inetd? is #t.
Change-Id: I0fc8e3068f3ae22421e60e96bd40e3b6e477ca99
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/vnc.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/vnc.scm b/gnu/services/vnc.scm index f90bd7258f..8b9ad0b179 100644 --- a/gnu/services/vnc.scm +++ b/gnu/services/vnc.scm @@ -149,7 +149,7 @@ CONFIG, a <xvnc-configuration> object." (xvnc display-number geometry depth port ipv4? ipv6? password-file xdmcp? inetd? frame-rate security-types localhost? log-level extra-options) #~(list #$(file-append xvnc "/bin/Xvnc") - #$(format #f ":~a" display-number) + #$@(if inetd? '() (list (format #f ":~a" display-number))) "-geometry" #$geometry "-depth" #$(number->string depth) #$@(if inetd? |