One and the same App at Dekstop und Remote Desktop

Hello,
did someone know how i can setup my raspberry pi 4 that i have only one “pi” user Session?

i have a gui app that should only run once in one user session.
if me connect via ms remote desktop from my development system in can start the app there at pi pc
but if me login local at raspberry 4 i not see this app running because it is a extra user session.

in other words if me connect via rdp i need the local user session.

You might wanna set the tty or so to the same one?

if me start rdp from pc i see this first

if me login there i need the same user session which already run or if no user session exist it start one.
i have a gui app that is running 24/7.