Just installed Ubuntu on windows 10 through the Microsoft store. Using latex I created a *.dvi file. Upon executing xdvi file.dvi I get “Error: Can’t open display”. Not a clue where to start…
You need a X Server like Xming, VcxSrv, X410 etc.
You are my hero! That fixed it. I followed the procedure here. https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/. Thankyou very much.