I would like to launch a GUI application on a Windows 10 Desktop machine via the built-in OpenSSH server. The issue is that it doesn't seem to render the GUI in the correct user session?
The application shows up in the task manager but does not render. I found some (ugly) workarounds that supposedly work on Windows 7 and 8 but not really something that works on Windows 10. Preferably this shouldn't involve changing how I launch the application but changing how the SSH server is launching programs.
I'm logged in via ssh as the user who is also logged into a Desktop session on the actual machine. On Linux you would have to specify which X11 sessions the app should launch in via an environment variable (e.g. DISPLAY=:0). Do I have to do something similar on windows to tell the shell in which context to launch the application?