简体   繁体   中英

How to run an application on headless remote Linux server and see the UI on my local Windows machine

I have a swing application which takes some input files, manipulates them, and displays it in its UI. Currently I have a remote headless Linux machine where the data files are (changes everyday). So is there a way in which I can run that application on a remote Linux machine and see its UI on my local Windows machine? I heard it's possible using JNLP stuff. I am very new to this, any suggestion on this is highly appreciated. Thanks.

You need to install on windows machine X server software and redirect the display of your software to your X server. Example X server software are Exceed, MobaXterm, etc. After you start the X server you should login in to the linux machine and execute

export DISPLAY=<your IP address>:0.0

and then run your software

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM