I'm trying to run this app on Linux VPS. I have tried many methods but I couldn't do it.

First method:

  1. Install a Graphic VNC-desktop.
  2. Install Wine
  3. Log-in and execute the app.

This method didn't work because after a few hours the VNC desktop went down and the app did too. Why? I think it is because of the app. One day I left the desktop online without the app, and the desktop worked correctly and never went down.

Second Method:

  1. I connect to the server via SSH x11 PuTTY connection
  2. Install Wine
  3. Run the app

This method doesn't work because I can't close the PuTTY windows and keep running the app. I tried to use the app "Screen" for this and so I did this:

  1. I connect to the server via SSH x11 PuTTY connection
  2. Install Wine
  3. Install Screen
  4. Run Screen
  5. Run the app
  6. Press Ctrl+A+D (to minimize the Screen session)
  7. Close the PuTTY windows

But still it doesn't work because, when I close the PuTTY windows, the graphic application closes too.

I need some help. Can you please suggest another way to do this?

  • You have to keep the SSH connection open. Closing PuTTY closes the connection. – gronostaj Aug 25 '14 at 21:58
  • I tried that, but after a few minutes appears this error: Putty Network Error: Software caused connection abort – Nixh Aug 25 '14 at 22:09
  • Sounds like host breaks the connection because it's inactive (you don't issue any commands). Try to enable keepalives in PuTTY (Connection -> Seconds between keepalives). – gronostaj Aug 25 '14 at 22:11
  • Tried, now appears the same error but after a few hours. In putty appears all the time the same error when the app is running: pastebin.com/SsaZs1RC – Nixh Aug 26 '14 at 6:05
  • It may be a Wine issue. Try running the app on a local system and see if the same problem appears. – gronostaj Aug 26 '14 at 8:26

You can use the command:

nohup "processname" &

Or use utilities like screen or tmux

  • The OP already mentioned he tried using screen. – Dmitry Grigoryev Oct 31 '15 at 21:23
  • I've mentioned other alternatives, other than screen. Beside that, your contribution to solve OP problem is? – Entanglement Nov 1 '15 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.