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

Installing intellij - error Startup Error: Unable to detect graphics environment #3684

Closed
CORRET opened this issue Nov 27, 2018 · 4 comments
Closed
Labels

Comments

@CORRET
Copy link

CORRET commented Nov 27, 2018

When I start Intellij

_sudo /usr/intellij/idea-IU-183.4284.148/bin/idea.sh

Startup Error: Unable to detect graphics environment_

What is the problem ?

@malwareslayer
Copy link

malwareslayer commented Nov 27, 2018

You better using in Native Windows instead of Linux. Since WSL only a few support of Graphical Programs

@therealkenc
Copy link
Collaborator

What is the problem ?

The problem is Intetellij unable to detect a graphics environment. See this. [Noting that you won't want compiz or unity or pretty much anything that thread has to say in order to run Intellij.]

WSL only a few support of Graphical Programs

That isn't correct; WSL doesn't draw pixels and whatever syscall emulation gaps WSL does have isn't related to drawing them. That said, it is correct to say graphic applications aren't supported with WSL in the sense that it is exceeding difficult to identify syscall emulation problems with graphic apps because they tend to be large and unwieldy. See also FAQ.

@RyanQuey
Copy link

For those who find this on Google like myself:

WSL 2 does have support for intellij and can run it just fine, see here for instructions

https://github.com/lackovic/notes/tree/master/Windows/Windows%20Subsystem%20for%20Linux#run-linux-gui-applications

@shvo123
Copy link

shvo123 commented Jun 10, 2021

nice https://github.com/lackovic/notes/tree/master/Windows/Windows%20Subsystem%20for%20Linux#run-linux-gui-applications
does not work for me
export DISPLAY=${DISPLAY:-$(grep -Po '(?<=nameserver ).*' /etc/resolv.conf):0}
Bad : modifier in $ (-).

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

No branches or pull requests

5 participants