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中按下图箭头顺序操作:

指定下载的插件文件

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值