stay online
stay online
i tried starting a program via wine using command in my debian server but no matter what i can't make my program run.
so i just remotely desktop access the program and associate the .exe to wine and that able to start it.
but the problem as soon as i close my desktop remote session the said program stops.
is there a way to keep my wine initiated program keep running and stay online?
so i just remotely desktop access the program and associate the .exe to wine and that able to start it.
but the problem as soon as i close my desktop remote session the said program stops.
is there a way to keep my wine initiated program keep running and stay online?
Re: stay online
Sure, just keep your desktop session opentj wrote:i tried starting a program via wine using command in my debian server but no matter what i can't make my program run.
so i just remotely desktop access the program and associate the .exe to wine and that able to start it.
but the problem as soon as i close my desktop remote session the said program stops.
is there a way to keep my wine initiated program keep running and stay online?

What you might want is to configure the remote desktop to stay open on the other end. Or run it from a terminal like ssh -X and then have something like screen installed which allows you to disconnect and re-connect to the same terminal or support multiple logins to the same terminal. None of that has anything to do with wine though.
Re: stay online
Either don't close your connection or use virtual X on your server.tj wrote:but the problem as soon as i close my desktop remote session the said program stops. is there a way to keep my wine initiated program keep running and stay online?
You need a constantly running virtual X server on your server. Then you can use either VNC or ssh connection to start programs in that X server.tj wrote:to keep x running then i have to leave the vnc server running just the same. or can i keep x running alone?
right now as soon as i terminate the vnc server WINE stops running the program.
In case you completely lost - X server is the part that displays things. The X client is the part that runs programs. If you just 'ssh -X' to your server and start program on it, your desktop is the X server and your server is X client. Obviously when you disconnect X client looses connection to X server and kills all programs.
VNC just let you see the real X server or creates temporary X server for the vnc session (depends what you connecting to). In latter case that server terminates as soon as you disconnect.
stay online
jorl17 wrote:
James McKenzie
Run VNC and the virtual X server as nobody for security reasons as well.Also, I think that you can use nohup to leave the app running in the background. Of course, this means that you should run your xserver using nohup too.
James McKenzie