gujjwal00/avnc

bug: Unable to connect when updating to 2.5.1 and causing phone to freeze

Closed this issue · 6 comments

I tried to connect to my VNC server after updating from 2.2.3 to 2.5.1, but my phone system froze during the connection process, causing multiple system components to be unresponsive and requiring a restart. I deleted the software and restored it to the original version, but it was of no use. This is a very serious problem, it cannot be used properly and has caused my system to be unresponsive

After getting stuck, I need to restart my phone system and my phone is experiencing overheating

机翻: Sorry, I checked the logs and it seems that my VNC server is not properly configured, resulting in huge resolution data. Due to the high resolution value, the phone was overloaded and crashed. I think a conditional judgment should be added. If the resolution is too large, it should not continue to load.

原文: 抱歉,我查看了一下日志,似乎是我的vnc服务器没有配置好,导致分辨率数据巨大。因为分辨率数值过大而导致手机过载死机。我觉得应该加一个条件判断,如果分辨率过大,不应该继续加载。

Just curious, how big is the resolution and how much RAM does your phone have?

Just curious, how big is the resolution and how much RAM does your phone have?

Relatively popular, with a resolution of 2370 * 1080 and 8GB of memory.
At that time, the resolution on the log seemed to have reached over 600000, which was due to my VNC server not being properly configured.

I used the KRFB desktop sharing program in KDE, but after connecting, it crashed due to excessive resolution. However, I installed the pipewire software package and the problem was resolved. There is currently a new issue where I am unable to input from the keyboard after connecting to KRFB using AVNC. I am unsure of the specific reason and will try to resolve it tomorrow. My time here is 0:00

I have found a solution. After switching from Wayland to X11, all issues were resolved.
Have a nice day :D