mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
Only require Xtigervnc or Xvfb+x11vnc for Docker with vnc console. Ref #1438
This commit is contained in:
parent
d0bab9947e
commit
029344da14
@ -519,7 +519,7 @@ class DockerVM(BaseNode):
|
||||
"""
|
||||
|
||||
self._display = self._get_free_display_port()
|
||||
if shutil.which("Xtigervnc") is None or shutil.which("Xvfb") is None or shutil.which("x11vnc") is None:
|
||||
if not (shutil.which("Xtigervnc") or shutil.which("Xvfb") and shutil.which("x11vnc")):
|
||||
raise DockerError("Please install tigervnc-standalone-server (recommended) or Xvfb + x11vnc before using VNC support")
|
||||
|
||||
if shutil.which("Xtigervnc"):
|
||||
|
Loading…
Reference in New Issue
Block a user