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
This commit is contained in:
		
							parent
							
								
									842e491e2e
								
							
						
					
					
						commit
						dce3672f5a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -149,7 +149,7 @@ CONFIG, a <xvnc-configuration> object."
 | 
				
			||||||
    (xvnc display-number geometry depth port ipv4? ipv6? password-file xdmcp?
 | 
					    (xvnc display-number geometry depth port ipv4? ipv6? password-file xdmcp?
 | 
				
			||||||
          inetd? frame-rate security-types localhost? log-level extra-options)
 | 
					          inetd? frame-rate security-types localhost? log-level extra-options)
 | 
				
			||||||
    #~(list #$(file-append xvnc "/bin/Xvnc")
 | 
					    #~(list #$(file-append xvnc "/bin/Xvnc")
 | 
				
			||||||
            #$(format #f ":~a" display-number)
 | 
					            #$@(if inetd? '() (list (format #f ":~a" display-number)))
 | 
				
			||||||
            "-geometry" #$geometry
 | 
					            "-geometry" #$geometry
 | 
				
			||||||
            "-depth" #$(number->string depth)
 | 
					            "-depth" #$(number->string depth)
 | 
				
			||||||
            #$@(if inetd?
 | 
					            #$@(if inetd?
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue