So my project needs to use Team-viewer or Any-desk to remote control the PI 4 after boot.
The problem I'm facing is, if the PI is connected to a screen everything works perfectly and the 2 programs run automatically, but the project should not have a screen connected to it, and then it will face a problem to not open these programs on boot up.
I already set the programs to start at boot but not sure why it is not working if no screen is connected.
Is there is a way to make the PI think that there a screen plugged in when booting?
Edit: I did enable this option
also I added
# DVI DMT (35) RGB full 5:4, 1280x1024 @ 60.00Hz hdmi_group=2 hdmi_mode=35
and I set the resolutions in
When I connect to the Pi using remote desktop from the same network it works, but the thing that still does not starting at boot is TeamViewer and anydesk. The moment I connect a screen and reboot everything will work, but if I remove it and reboot, Teamviewer and Anydesk do not start anymore.