sudo apt-get install xvfb
sudo apt-get install imagemagick
xvfb :1 -screen 0 1280x960x24 &
DISPLAY=:1 wine mywindesktopapp.exe &
DISPLAY=:1 import -window root -quality 90 /tmp/screenshot.jpg
Run window desktop application from command line on headless server.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.