guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: xvnc: Do not specify display number whe


From: guix-commits
Subject: branch master updated: services: xvnc: Do not specify display number when using inetd.
Date: Mon, 27 Nov 2023 11:01:38 -0500

This is an automated email from the git hooks/post-receive script.

davexunit pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new dce3672f5a services: xvnc: Do not specify display number when using 
inetd.
dce3672f5a is described below

commit dce3672f5a8eb440ae61a334384423d1e2ff5e65
Author: David Thompson <dthompson2@worcester.edu>
AuthorDate: Wed Nov 15 17:46:34 2023 -0500

    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
---
 gnu/services/vnc.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]