Woohoo!
Dual UD clients running on my SMP Linux box using Wine and separate Wine servers! :)
I don't know if people are already doing this..so here goes for the linux people out there.
My setup is RedHat 7.2 with the wine packages that come in that distro from cd2
- Made the edits to /etc/wine.reg for my drive setup.
- Set managed='y' in the config file near the bottom.
- Ran wine once to get my copy of the configs in my home directory.
I made a copy of the wine config files in my home directory as ~/.wine2
So now I have:
~/.wine
~/.wine2
I then installed the client twice in 2 separate directories, once each with the 2 wine server setups.
In a X term:
code:
WINEPREFIX="/root/.wine"
export WINEPREFIX
wine ud_agent_setup.exe
That one I installed to /mnt/c/ud/viper1
Then in an X term I ran:
code:
WINEPREFIX="/root/.wine2"
export WINEPREFIX
wine ud_agent_setup.exe
And installed that one to /mnt/c/ud/viper2
So now I have separately installed clients in:
/mnt/c/ud/Viper1
/mnt/c/ud/Viper2
I run one client for each of the wine configs from a script changing the WINEPREFIX enviroment variable for each one. This makes the wineservers unique instances.
code:
#!/bin/ksh
WINEPREFIX="/root/.wine"
export WINEPREFIX
nice -n 19 wine /mnt/c/Ud/Viper1/UD.exe &
WINEPREFIX="/root/.wine2"
export WINEPREFIX
nice -n 19 wine /mnt/c/Ud/Viper2/UD.exe &
You'll notice I also threw in a 'nice' there to make sure the priority is being nice.
When it's all running they even throw the systray icons in the applet window in KDE
Screenshot of 2 clients. One on the main screen and the other on the graphic display screen. Check out the bottom right :)
http://users.neosmart.com/hruzaden/folding/screenshots/linux-ud.jpgI'll have to let them run awhile and see how it goes. Seems fine so far.
Den