Installing on Linux

Answered

I am trying to install IntelliJ Idea on Arch Linux. I try to run ./idea.sh as described, and it works for a root user. However, when I try it as myUser, it gives me this dialog at the end:

=== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/home/myUser/.cache/JetBrains/IntelliJIdea2020.2/tmp/launcher_installer6.sh' as the super user
Authenticating as: myUser
Password:

 

And even though I input the password associated with my user, it gives me this message:

==== AUTHENTICATION FAILED ====

I don't think it's a good idea to run IntelliJ as root, so what should I do to make it work with myUser?

0
4 comments

Is your user included in sudoers? IntelliJ IDEA is using and changing system libs, so superuser grants needed to start it. 

0

Yes, my user is included in sudoers. I used "sudo visudo /etc/sudoers" to add the line "myUser ALL=(ALL) ALL" under the line "root ALL=(ALL) ALL". The sudo command has always worked just fine for myUser.

Also, my system does not have a "sudo" group by default.

0

How do you run IDEA (all local, or using any kind of a remote access)?
I wonder why does your system ask for a password in the console instead of a GUI agent?

See also https://youtrack.jetbrains.com/issue/IDEA-172872

0

Surprise, surprise, a simple reboot fixed the problem. I am running it locally, by invoking "idea.sh" after adding the correct folder to my $PATH variable. I am now also using rofi to initiate it. Thank you for the help!

0

Please sign in to leave a comment.