-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
I am trying to run the following example
from pyvirtualdisplay import Display
with Display() as disp:
# display is active
print(disp.is_alive()) # True
# display is stopped
print(disp.is_alive()) # False
This results in
XStartTimeoutError
No reply from program Xvfb. command:['Xvfb', '-br', '-nolisten', 'tcp', '-screen', '0', '1400x900x24', '-displayfd', '14']
File "/home/vn/marl-interfere/render_mpe.py", line 134, in main
virtual_display.start()
File "/home/vn/marl-interfere/render_mpe.py", line 144, in <module>
main(sys.argv[1:])
pyvirtualdisplay.abstractdisplay.XStartTimeoutError: No reply from program Xvfb. command:['Xvfb', '-br', '-nolisten', 'tcp', '-screen', '0', '1400x900x24', '-displayfd', '14']
xfvb is running on the wsl2
xdpyinfo -display :0 >/dev/null 2>&1 && echo "In use" || echo "Free"
In use
I'd appreciate any suggestions.
Metadata
Metadata
Assignees
Labels
No labels