Skip to content

FAQ: How can I run software that needs to output to a display/GUI? #98

Answered by ibrahima
ibrahima asked this question in Q&A
Discussion options

You must be logged in to vote

By default, autograders run in a headless environment and must be able to run to completion without interaction.

If your code requires a display output, you may need to emulate a display and/or emulate user interactions to get it to run to completion without human intervention. One piece of software that can be used to emulate a display is xvfb. This should allow a graphical program to run, though you still might require further interaction emulation to work through any interactive processes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ibrahima
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant