We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Publish app as a single file
dotnet publish -c Release -o publish -r linux-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true
This command is used to execute the app on the remote machine and display it on your local machine
Requires
vcxsrv
sudo apt-get install libgbm1 libgl1-mesa-dri libegl1-mesa libinput10
sudo nano /etc/ssh/sshd_config
X11Forwarding yes
X11UseLocalhost yes
sudo systemctl restart sshd
Steps:
The following steps are used to launch the app from a Virtual Machine running from the same machine.
$env:DISPLAY="localhost:0"
ssh USERNAME@ipaddress-Y
dotnet VSLinuxDbg/SampleApp/SampleApp.dll
Possible Errors:
connect localhost port 6000: Connection refused
Test Later:
DISPLAY=IPADDRESS:0 dotnet VSLinuxDbg/TestApp/TestApp.dll