Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run IntelliJ IDEA on a remote desktop

IntelliJ IDEA 12 on a remove NX desktop is almost unusable. Screen refreshes are painful as you scroll, and simple operations like selecting text is a chore. Is there any way to improve the experience of IDEA on a remote desktop?

like image 439
Phyxx Avatar asked Dec 11 '12 02:12

Phyxx


People also ask

Can IntelliJ open remote project?

If you already have IntelliJ IDEA installed on your remote server, you can launch it manually and connect to the remote project started in that IDE. It works the same way as from JetBrains Gateway.

Does IntelliJ have remote SSH?

You can launch an SSH Session right from IntelliJ IDEA. By running commands in a dedicated SSH terminal, you can access data on a remote Web server or a Vagrant instance (virtual machine) via an SSH tunnel, mainly upload and download files.

Can we use IntelliJ online?

With IntelliJ IDEA, you can have the basic application structure automatically set up according to the required standard and get extensive coding assistance at all the stages of Web application development.


1 Answers

This problem has been discussed here. One of the suggestions was to disable double buffering with RepaintManager.currentManager(null).setDoubleBufferingEnabled(false), and set sun.java2d.noddraw=false in the idea.properties file.

To make things easy, I have created a plugin that toggles double buffering. You can get the source code from here, or you can download the compiled JAR from here.

With the plugin installed, go into the Tools menu and select Enable/Disable Double Buffering. You will experience a lot of flickering with double buffering disabled, but the performance over a remote desktop connection is significantly improved.

You may also have some luck setting -Dsun.java2d.xrender=true. See here for details.

like image 154
Phyxx Avatar answered Sep 20 '22 00:09

Phyxx