RPI Crashes after connecting with RealVNC locally

October 13, 2024, 13:05

blockysumo

https://cdn.discordapp.com/attachments/1174423942669279303/1294946781980921898/20241013_115517.mp4?ex=670cdcab&is=670b8b2b&hm=0c91a1614dbe0b72b57f29c105560541fc3a41c1d4efb7fce8a26ff67c08214b& Hdmi port is not accessible easily so can't try that, I did try to access console with Putty, and that worked ✅ . But since i'm kinda of a beginer with RPI's idk what to do even to fix this Issue. It first occurred today after running the PI continuously for ~4 days. On boot it is running my python script that makes all the compounents work, and there is python script reset every 48h. Before today there were no issues connecting to it with RealVNC

thunder07337

There is an option in the settings to hide the desktop background. You should switch this on, displaying the background often leads to problems and consumes performance.

blockysumo

do you know any tutorials you can link me to please?

thunder07337

Just go to the Real VNC settings and also to "ScalingQuality" and set it to 1. 0 to use standard quality. 1 to use low quality (the desktop is rendered faster). 2 for medium quality. 3 to use high quality (note that this can be CPU intensive).

blockysumo

tried the low quality, still freezes

thunder07337

Which Pi is this?

blockysumo

Raspberry PI 3B+ , thought i mentioned it but no, sorry

blockysumo

it also says 2017 on it but doubt that matters

blockysumo

bought it couple years ago

blockysumo

I should also say, what ever i do i cant get rid of low voltage warning, but not sure if thats related, and it hasnt bothered me that much Ive tried: - diffrent wires (diffrent lenghs) - Originally used a samsung fast changer (2A 5V) but later upgraded to a 3.3A 5V powersupply

thunder07337

Perhaps you should try an original power supply unit if the warning does not disappear. What material is the case the Pi is in made of?

blockysumo

Petg for the screw in parts and pla for top part There's also a isolation layer between the lcd and the rpi All wires are isolated tho some might be touching the rpi itself with isolation, unsure if rpi heat would melt the isolation for wires.

thunder07337

So no metal that could block the WLAN. Then I would really use the original power supply unit. I think the insufficient power supply can be the problem that the system is not running properly.

blockysumo

WLAN/ wifi is def not the problem, the program i use fetches data from internet

blockysumo

If you want i can try a internet cable with it but really, I don't see the point

blockysumo

Still unsure why it suddenly stopped working

thunder07337

You should connect the Pi to a monitor and look at it directly. Perhaps also check the VNC settings there.

blockysumo

Hmm monitor requires me to disasemble everything VNC settings can't be it because it was working with no problems couple days before

thunder07337

Well, if you want to know what's going on, you'll have no choice. Are you sure that nothing has been changed? Have you made any updates? Updates can also cause things to stop working as before.

blockysumo

last thing i changed was making it restart python script every 2 days at 00:00

thunder07337

Then maybe this restart or the script is causing the problem? Have you tried it without? If not try that, if it has no problems with vcn then it is the script or the restart of the script...

blockysumo

so uhh, it started working today

blockysumo

i didnt change anything

thunder07337

If I were you, I would look through the logs now.

blockysumo

you got a tutorial?

thunder07337

Open terminal
cd /var/logs
ls
and see what logs there are
less FILENAME
Press q to close But I can't tell you what to look for. You just have to look at the logs and look for anomalies.