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

Cannot run without a display device #3

Closed
rzumer opened this issue Apr 2, 2017 · 3 comments
Closed

Cannot run without a display device #3

rzumer opened this issue Apr 2, 2017 · 3 comments

Comments

@rzumer
Copy link

rzumer commented Apr 2, 2017

On Debian Jessie, with no display device, the following error is displayed when attempting to run D2VWitch v2 from the command line:

QXcbConnection: Could not connect to display
Aborted

It seems to occur regardless of any command line options, so I assume it involves the logic for displaying the graphical user interface. If so, would it be possible to add an option at compilation and/or launch time to disable any graphical elements?

@rzumer rzumer changed the title Cannot run without a display Cannot run without a display device Apr 2, 2017
@dubhater
Copy link
Owner

dubhater commented Apr 2, 2017

Maybe I'll make Qt optional at compile time. In the meantime, the best I can offer is a workaround: add the option -platform offscreen to every invocation of d2vwitch.

@rzumer
Copy link
Author

rzumer commented Apr 2, 2017

That workaround does seem to work with input and output files set correctly, thank you for the information.

@dubhater
Copy link
Owner

Found a nicer solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants