vscode remote connection server + Xming: graphical interface

background
Use a local computer to connect to the server and run the code. When the server runs, a graphical interface will appear (for example, plt.show() is a picture), but the local computer cannot display it. Therefore, we use Xming to solve this problem.

Reference for main steps:link

Note:
Although Xming shows 0.0, you still have to write it according to the link: localhost:10.0

The interface after successful operation:
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/summertime1234/article/details/133984970