allenai / allenai/ai2thor

error about ai2thor-xorg

Open
#1,167 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
296
PR merge metrics
No merged PRs in 30d

Description

Hello, I am a beginner in ai2thor.when i use google colab, linux remote server and local laptop to run example code, it raise the same error:

> Exception Traceback (most recent call last)
> [](https://localhost:8080/#) in ()
> ----> 1 controller = Controller(
> 2 agentMode="arm",
> 3 massThreshold=None,
> 4 scene="FloorPlan203",
> 5 visibilityDistance=1.5,
>
> 1 frames
> [/usr/local/lib/python3.10/dist-packages/ai2thor/controller.py](https://localhost:8080/#) in find_build(self, local_build, commit_id, branch, platform)
> 1350 message += instructions
> 1351 error_messages.append(message)
> -> 1352 raise Exception("\n".join(error_messages))
> 1353
> 1354 def find_platform_builds(
>
> Exception: The following builds were found, but had missing dependencies. Only one valid platform is required to run AI2-THOR.
> Platform Linux64 failed validation with the following errors: Invalid display: :1. Failed to connect Can't connect to display ":1": [Errno 111] Connection refused
> Linux64 requires a X11 server to be running with GLX. If you have a NVIDIA GPU, please run: sudo ai2thor-xorg start

how can i fix this issue? i need to run this python file (also your work)[https://github.com/allenai/interactron/blob/main/data_collection/collect_ithor_tree_data.py](url) to generate my dataset, but i can't fix this error.

I would be greatly appreciative if you could respond to me.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.