I was able to fix my issue so I will post my solution here.
Connect your laptop (or PC) to the Orange Pi cm4 via ethernet cable.
Run the "arp -a" command (or equivalent windows command) on the laptop to find the ip address of the Orange Pi.
Then ssh into it and uninstall lightdm (or other fixes).