Isolation?
Isolation?
Hello!
I want to run a program twice at one time but it detects that another instance is running and closes down... Is there any way that I can isolate the programs so they cannot detect each other?
~Noah Crocker
I want to run a program twice at one time but it detects that another instance is running and closes down... Is there any way that I can isolate the programs so they cannot detect each other?
~Noah Crocker
Isolation?
2009/6/20 noahetrex <[email protected]>
/home/you/someprefix) and then, run first instance normally, and second
using this command:
WINEPREFIX=/home/you/someprefix wine yourapp.exe
That (I think) should do the trick.
That (I think) should do the trick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
Simply create new wineprefix (command: wineprefixcreate --prefixHello!
I want to run a program twice at one time but it detects that another
instance is running and closes down... Is there any way that I can isolate
the programs so they cannot detect each other?
~Noah Crocker
I think running both from separated WINEPREFIX'es should do the trick.
/home/you/someprefix) and then, run first instance normally, and second
using this command:
WINEPREFIX=/home/you/someprefix wine yourapp.exe
That (I think) should do the trick.
That (I think) should do the trick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
Each wineprefix starts its own wineserver, and as far as the apps are concerned, apps in different wineprefixes think they are on different machines.fcmartins wrote:Wine runs as a single process, so running another Windows program will put it under the same "Windows" instance, thus your problem. I don't know if there is a way to force two Wine instances.noahetrex wrote:That did not work since they are detecting each other in ram...
http://wiki.winehq.org/FAQ#head-f2f5f3b ... 15657ad552
Still problem
Still problem... It does call Java if that makes a difference...



I get the regular one started... but the prefix one encounters an error...



I get the regular one started... but the prefix one encounters an error...
Isolation?
On Fri, Jul 10, 2009 at 6:25 PM, Cloudef<[email protected]> wrote:
--
-Austin
Perhaps the program detects you logging in twice?I see, sorry about that.
I have no clue then.
--
-Austin
Gomez Peer simply looks for the .exe in ram. It doesn't care how many wineservers are running, which user is logged in nor how many wineprefixes you are using. It is designed to run once on each computer, no more.
This is the correct behaviour under Windows, which does exactly the same thing.
Furthermore, by doing so you are violating the terms and conditions.
This is the correct behaviour under Windows, which does exactly the same thing.
Furthermore, by doing so you are violating the terms and conditions.
Are you sure about this? I thought programs needed root access to be able to access the full RAM range, something that's unattainable for an application running in Wine...KenSharp wrote:Gomez Peer simply looks for the .exe in ram. It doesn't care how many wineservers are running, which user is logged in nor how many wineprefixes you are using. It is designed to run once on each computer, no more.
Correct, you can't access RAM directly (via /dev/mem for example) unless you are super user or part of the group that have access to /dev/mem.DaVince wrote:I thought programs needed root access to be able to access the full RAM range
As far as Wine goes, applications can "see" each-other only within the same instance only (same wineserver == same wineprefix). If you have 2 wineprefixes, then the reason must be somewhere else.
KenSharp wrote:Gomez Peer simply looks for the .exe in ram. It doesn't care how many wineservers are running, which user is logged in nor how many wineprefixes you are using. It is designed to run once on each computer, no more.
This is the correct behaviour under Windows, which does exactly the same thing.
Furthermore, by doing so you are violating the terms and conditions.
Actually... we talked with the Gomez peer people and they said it was fine...
As i said... it looks for the exe in ram! I am wondering if there is a was to redirect the address or something else...
It could be a network problem also (as i stated earlier)
Isolation?
On Wed, Jul 15, 2009 at 07:55, vitamin<[email protected]> wrote:
using a fixed listening port.
Network seem like an obvious way to detect other instances, such as byAs far as Wine goes, applications can "see" each-other only within the same instance only (same wineserver == same wineprefix). If you have 2 wineprefixes, then the reason must be somewhere else.
using a fixed listening port.
Isolation?
On Fri, Jul 17, 2009 at 02:31, DaVince<[email protected]> wrote:
know how to directly read the memory on a Linux box. (Except if that
is emulated by Wine as well...)
The filesystem is a nother possible method.... (Although it would need
to find a writeable place shared by both WINEPREFIXes, which is quite
hard without writing a file in any folder where it has write access)
Except if he is running it as root.... But it is unlikely that it willOther suggestions have been made already, but I'd like to point out again that this is physically impossible in several ways. It's probably detection through some other means, like (as suggested) the network.As i said... it looks for the exe in ram!
know how to directly read the memory on a Linux box. (Except if that
is emulated by Wine as well...)
The filesystem is a nother possible method.... (Although it would need
to find a writeable place shared by both WINEPREFIXes, which is quite
hard without writing a file in any folder where it has write access)
It doesn't bind to any ports, it's little more than a HTTP/HTTPS client.
The app creates a mutex. It seems unlikely that Gomez have agreed to allow this given that the program has been designed to avoid this, and the T&C explicitly states not to do this or forfeit your account.
If Gomez wanted to increase the number of threads running in the background, they could do so very easily themselves.
The app creates a mutex. It seems unlikely that Gomez have agreed to allow this given that the program has been designed to avoid this, and the T&C explicitly states not to do this or forfeit your account.
If Gomez wanted to increase the number of threads running in the background, they could do so very easily themselves.
Isolation?
On Fri, Jul 31, 2009 at 12:46 PM, KenSharp <[email protected]>wrote:
legal Win session could this solve enough of the situation to do what you
want to do?
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
QEMU was mentioned earlier (and there are others). If you can virtualize aIt doesn't bind to any ports, it's little more than a HTTP/HTTPS client.
The app creates a mutex. It seems unlikely that Gomez have agreed to allow
this given that the program has been designed to avoid this, and the T&C
explicitly states not to do this or forfeit your account.
If Gomez wanted to increase the number of threads running in the
background, they could do so very easily themselves.
legal Win session could this solve enough of the situation to do what you
want to do?
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>