You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I try to launch a controller, I get:
/.../python3.8/site-packages/ai2thor/platform.py:154: Us
erWarning: could not connect to X Display: 0, Can't connect to display ":0": b'No protocol spe
cified\n'
warnings.warn(
/.../python3.8/site-packages/ai2thor/platform.py:154: Us
erWarning: could not connect to X Display: 2, Can't connect to display ":2": [Errno 111] Conne
ction refused
warnings.warn(
/.../python3.8/site-packages/ai2thor/platform.py:154: Us
erWarning: could not connect to X Display: 3, Can't connect to display ":3": [Errno 111] Conne
ction refused
And the program hangs.
Attempt
I attempted to start another Xorg server at :2. And then set x_display to be :2 as the argument to start the controller. However, this time I get:
Traceback (most recent call last):
...
.../controller.py", line 45, in launch_controller
controller = Controller(
File "/...python3.8/site-packages/ai2thor/controller.
py", line 465, in __init__
self._build = self.find_build(local_build, commit_id, branch)
File "/.../python3.8/site-packages/ai2thor/controller.
py", line 1130, in find_build
if build.platform.is_valid(request):
File "/.../python3.8/site-packages/ai2thor/platform.py", line 32, in is_valid
return len(cls.validate(request)) == 0
File "/.../python3.8/site-packages/ai2thor/platform.py", line 165, in validate
return cls._validate_screen(
File "/.../python3.8/site-packages/ai2thor/platform.py", line 118, in _validate_screen
disp_screen["width_in_pixels"],
TypeError: 'Display' object is not subscriptable
I have no clue how to resolve this. I have gotten this to work on a different machine with the Xorg command at the top. Help is appreciated.
The text was updated successfully, but these errors were encountered:
I am running ai2thor on a Ubuntu 18.04 server. I tried starting an x server with the following command:
and the content of
xorg_conf
is:The
Xorg
command fails and saysCannot establish any listening sockets - Make sure an X server isn't already running(EE)
I checked and it looks like there is an Xorg server running
However, when I try to launch a controller, I get:
And the program hangs.
Attempt
I attempted to start another Xorg server at
:2
. And then setx_display
to be:2
as the argument to start the controller. However, this time I get:I have no clue how to resolve this. I have gotten this to work on a different machine with the
Xorg
command at the top. Help is appreciated.The text was updated successfully, but these errors were encountered: