How to enable GUI and touch on a HDMI based touchscreen?

Hi, I installed OctoPi and TouchUI on my Pi4. I have just connected a touch screen via a HDMI port. However, the touch screen displays only text just like my monitor. Could you please let me know how to enable the GUI and touch capabilities?