So my project need to use Team-viewer or Any-desk to remote control the PI 4 after boot.
the Problem i'm facing if the PI Plugged to Screen everything works perfectly and the 2 programs run automatically, But the Project should not have screen Plugged to it 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 not working if the screen not plugged.
is there is a way to make the PI that there is plugged in Screen after booting ?
edit: I did able this option hdmi_force_hotplug=1 also I add
DVI DMT (35) RGB full 5:4, 1280x1024 @ 60.00Hz
and I set the resolutions here raspi-config, as I open the Pi using remote desktop from the same network I still can open and the thing that still not starting by boot is TeamViewer and anydesk , the moment I plug the screen and reboot everything will work and if I take it and reboot nothing working (teamviewer and anydesk