Windows远程桌面连接操作另一电脑上的PyCharm无法编缉的解决办法

当通过Windows远程桌面连接操作另一电脑上的PyCharm时,会发生点击鼠标时,编缉窗口中出现多个光标,操作键盘无反映,屏幕右下方会显示,关闭PyCharm,双击屏幕上的PyChar快捷方式,都变成了点击鼠标右键的效果。

以下是网上解决办法,我这里已测试成功的是安装插件办法,稍后讲解步骤:

网址:https://stackoverflow.com/questions/13812951/how-can-i-run-intellij-idea-on-a-remote-desktop

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?

intellij-idea

shareimprove this question

asked Dec 11 '12 at 2:57

Phyxx

 Answers

activeoldestvotes

up vote28down voteaccepted

This problem has been discussed here. One of the suggestions was to disable double buffering with RepaintManager.currentManager(null).setDoubleBufferingEnabled(false), and setsun.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.

shareimprove this answer

edited Dec 11 '12 at 3:13

answered Dec 11 '12 at 2:57

Phyxx

9,93284773

  • 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) – StevenWilkins Apr 7 '14 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 '16 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 '16 at 3:30 

  • Just -Dsun.java2d.xrender=true solved my problem for a remote with 13ms of RTT. – tbozoOct 6 '16 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=falsesun.java2d.d3d=true swing.bufferPerWindow=false. – Bart Robinson Apr 10 '17 at 18:46

p vote8down vote

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.

shareimprove this answer

answered Jun 24 '13 at 9:10

mdm

2,26021534

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.

shareimprove this answer

answered Feb 12 '15 at 8:03

breght

p vote0down vote

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

shareimprove this answer

answered Jul 20 '17 at 6:29

Alter Hu

p vote0down vote

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

shareimprove this answer

answered Aug 4 '17 at 9:38

安装插件办法步骤:

上述网址中按屏幕提示下载插件,

图中箭头所指,下载的文件名为IDEADoubleBufferPlugin.jar.

在PyCharm中按下图箭头顺序操作:

指定下载的插件文件

猜你喜欢

转载自blog.csdn.net/itlife20081224/article/details/81076703