Process not running if session is not open

Hello, i have a project that runs over unattended robot, it’s triggered from orchestrator every morning, it works well when the screen is visible (on the server, or with a remote desktop opened), the process can’t continue, it stops on an attachwindow activity (the window to attach is a java application, it have been opened from the same process withiout problem) if the process starts without a remote desktop opened. I have tried using LaunchInteractiveWrokflow, but it gets stopped anyway.
Thanks