Here we have compiled a list of 6 free tools that will help you run your favorite Windows application on a Linux system or help you to run virtual PC on any Operating System.
There is problem for preview functionality, what is resolution here is enter the Miktex installed directory, in my case is
C:\Program Files\MiKTeX 2.6\miktex\bin
change the yap to xdvi.
The reason for this operation is preview functionaliy here is "xdvi file.dvi", however, can not find xdvi in miktex, we just change the command name as xdvi here.
To produce PDF file:
dvipdft file.dvi
To produce PS file:
dvips file.dvi