[vNext] Launch GUI After Deploying Package
WARNING: EXPERIMENTAL FEATURE
Research the experimental feature of the launching of uploaded packages via SSH.
From a standard SSH connection, the application can be launched. However, SSH.NET the process will start and then immediately close. This may be due to the closing SSH.NET connection after the command is sent.
Validation Notes
Launch Command:
DISPLAY=:0 dotnet "./VSLinuxDbg/GuiNet6/GuiNet6.dll" &
- The launch command must be sent from the home directory. Using
~/...throws, "The command could not be loaded,..." - When the SSH connection is closed, the application will close.
Considerations:
- Persist an open connection of the GUI application after it is launched. Wait for the window to close and then close the connection.
- PRO: Light-weight and simple via command line
- CON: Need a separate thread/connection to maintain connectivity
- Use another tooling to allow the app to run after the connection is lost
- CON: External tooling may cause unnecessary conflicts
This is already fixed in my next pull request 👯 i'll merge this tomorrow,... because i've to use it with x11/openGL
Wonderful, thank you. I hope that my most recent changes to develop do not cause merge conflicts for you - sample GuiNet6 app with PR #68
Can't wait to see your approach