Hi,
it’s the first time that I am using ubuntu server 12.04. Until now, I used only windows.
Under ubuntu I have an application (.exe) which is running under wine. Now it is very important for me, that this application starts after a server reset or update (provider) automatically. Not with autostart, because when i use autostart function, my .exe will start only after i login to the system.
But i need the start of my .exe under wine also when the provider restarts / updates the VPS Server. Then programm should run again automatically even without a root user has entered his login!
How can I do that? Has anydody a simple solution?
Autostart .exe programm's after reboot (without logging in)
Re: Autostart .exe programm's after reboot (without logging
@sunshineh,
I would recommend reading section 7.9. (Can Wine run in character mode?) of the WineHQ FAQ. Well actually I would recommend reading the whole thing actually...
Simply start your console only Windows application as a service. It is relatively easy to run services as a limited user under systemd and in fact I do this on my OpenSUSE 13.1 NAS box. I am unfamiliar with how to do this on Ubuntu Server with Upstart... Please note it is not NOT recommended to run any Wine application as root - ever!!
Bob
I would recommend reading section 7.9. (Can Wine run in character mode?) of the WineHQ FAQ. Well actually I would recommend reading the whole thing actually...
Simply start your console only Windows application as a service. It is relatively easy to run services as a limited user under systemd and in fact I do this on my OpenSUSE 13.1 NAS box. I am unfamiliar with how to do this on Ubuntu Server with Upstart... Please note it is not NOT recommended to run any Wine application as root - ever!!
Bob