27

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?

1

5 Answers 5

31

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.

7
  • 1
    It works for me as advertised but it does create a lot of flickering in the UI, especially on the right scroll bar. (This was in v13.1) Apr 7, 2014 at 23:16
  • This solution probably helped me, but what really made the difference for me was lowering my screen resolution from 1680x1050 to 1400x900. The fact is that other tools and apps never had the issue even in highest resolution.
    – AndyClaw
    Feb 11, 2016 at 15:43
  • Thanks Phyxx ... the only solution that works (with lots of flickering). Any better solutions by today? I'm having the same issue with Android Studio using IntelliJ.
    – Nils
    Mar 22, 2016 at 3:30
  • Just -Dsun.java2d.xrender=true solved my problem for a remote with 13ms of RTT.
    – tbozo
    Oct 6, 2016 at 9:23
  • The plugin didn't work for me (PyCharm CE 2017.1); nothing showed up in the Tools menu. But these settings in the idea.properties file did the trick: sun.java2d.noddraw=false sun.java2d.d3d=true swing.bufferPerWindow=false. Apr 10, 2017 at 18:46
9

Personally, I tried changing both options: sun.java2d.noddraw=false and sun.java2d.d3d=true and that made my IDEA much much better!
From this conversation, seems like the problem is quite common, but the solution varies....

Didn't try the plugin suggested by Phyxx yet, though.

2

I was having the same problems (unusably slow, tearing updates while scrolling etc.) running CLion (based on IntelliJ) from a Linux box over an SSH-tunnel to a Mac running XQuartz X11. Adding the sun.java2d.xrender=true to the idea.properties file.

0

Try use idea with 2017.2 ,it had used new Windows 10 UI interface, had solved this problem.

0

I have this issue. I got this fixed by changing the properties on RDP. No parameter added in idea.properties.Please see the pic.put the configuration like that and then connect to RDP.RDP properties

1
  • That's a lot of settings. Which ones are actually relevant?
    – ruakh
    Nov 16, 2019 at 1:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.