Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The controller.start() does not display anything in Windows Subsystem for Linux. #428

Open
Fotouhif opened this issue Jul 20, 2020 · 2 comments
Labels
Controller Initialize Initializing an ai2thor Controller and its associated parameters Installation

Comments

@Fotouhif
Copy link

I am using Windows Subsystem for Linux (WSL) in Windows 10. Besides this, I am using Xming in Windows to enable X server for the terminal and I can see "xclock" and "glxgears" by using this X server. However, when I ran the following code, the visualization of ai2thor environment did not pop up and the code got stuck in "Display 0 '0': 1680x1050 (primary device)." line without going back to the command line of the terminal.

"import ai2thor.controller
controller = ai2thor.controller.Controller()
controller.start()
controller.reset('FloorPlan1')"

I get the following results when I run the code:

"Found path: /home/fotouhif/.ai2thor/releases/thor-201909061227-Linux64/thor-201909061227-Linux64
Mono path[0] = '/home/fotouhif/.ai2thor/releases/thor-201909061227-Linux64/thor-201909061227-Linux64_Data/Managed'
Mono config path = '/home/fotouhif/.ai2thor/releases/thor-201909061227-Linux64/thor-201909061227-Linux64_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Display 0 '0': 1680x1050 (primary device)."

Would you please tell me how I could address this problem and see the ai2thor controller environment through WSL correctly?

Any response would be appreciated.

@mattdeitke mattdeitke added Controller Initialize Initializing an ai2thor Controller and its associated parameters Installation Needs Help labels Aug 13, 2020
@yizhouzhao
Copy link

I am just a stubborn windows users. I wrote a blog about how to run it on windows with only Unity Editor and Jupyter notebook.
https://yizhouzhao.medium.com/how-to-use-ai2thor-in-windows-f889abd7efcf

@Fotouhif
Copy link
Author

I am just a stubborn windows users. I wrote a blog about how to run it on windows with only Unity Editor and Jupyter notebook.
https://yizhouzhao.medium.com/how-to-use-ai2thor-in-windows-f889abd7efcf

Thank you so much for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Controller Initialize Initializing an ai2thor Controller and its associated parameters Installation
Projects
None yet
Development

No branches or pull requests

4 participants
@yizhouzhao @mattdeitke @Fotouhif and others