mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-16 14:28:12 +00:00
Remove left over Xvfb related code
This commit is contained in:
@ -85,7 +85,6 @@ class DockerVM(BaseNode):
|
|||||||
self._ethernet_adapters = []
|
self._ethernet_adapters = []
|
||||||
self._temporary_directory = None
|
self._temporary_directory = None
|
||||||
self._telnet_servers = []
|
self._telnet_servers = []
|
||||||
self._xvfb_process = None
|
|
||||||
self._vnc_process = None
|
self._vnc_process = None
|
||||||
self._vncconfig_process = None
|
self._vncconfig_process = None
|
||||||
self._console_resolution = console_resolution
|
self._console_resolution = console_resolution
|
||||||
@ -852,12 +851,6 @@ class DockerVM(BaseNode):
|
|||||||
await self._vnc_process.wait()
|
await self._vnc_process.wait()
|
||||||
except ProcessLookupError:
|
except ProcessLookupError:
|
||||||
pass
|
pass
|
||||||
if self._xvfb_process:
|
|
||||||
try:
|
|
||||||
self._xvfb_process.terminate()
|
|
||||||
await self._xvfb_process.wait()
|
|
||||||
except ProcessLookupError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
if self._display:
|
if self._display:
|
||||||
display = "/tmp/.X11-unix/X{}".format(self._display)
|
display = "/tmp/.X11-unix/X{}".format(self._display)
|
||||||
|
Reference in New Issue
Block a user