 DenPremium join:2001-01-21 Cape Coral, FL | Running UD with Wine in LinuxWoohoo!
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.jpg
I'll have to let them run awhile and see how it goes. Seems fine so far.
Den |
|
 | Wow, nice. That is very impressive. I have not heard of anyone doing this. Great job and thanks for the info. -- Join Team Discovery and help fight cancer. |
|
|
|
 | reply to Den Great info. I was actually wondering if this would be possible and I was thinking about trying it for a third cruncher.
My box actually has OpenBSD running, but the same version of Wine will run there so I might just give it a shot. |
|
 | reply to Den Great job Den. |
|
 | reply to Den Thanks, Den! I think this is a first.  |
|
 CopPremium join:2001-09-05 Auburn, AL | said by RClarkofNC: Thanks, Den! I think this is a first.
its the first and best way! 
![]()
Scott -- Join Team Discovery and help fight Cancer. |
|
 DenPremium join:2001-01-21 Cape Coral, FL | reply to Den I changed my setup a bit. Instead of using the window manager to control the systray stuff and the apps I have each client running on it's own wine desktop ( basically a window ) that is 800x550. This way I can minimize them to the taskbar like a normal app instead of the applet area
http://users.neosmart.com/hruzaden/folding/screenshots/linux-ud2.jpg
I've returned work with the setup. Only bad thing is the systray support seems a little flaky in wine. I sometimes loose the ability to switch between the clients pages, but it still runs and updates whatever page was being actively shown. Doesn't seem to affect the clients.
Den |
|
 | reply to Den This should be added to the FAQ! |
|
 DenPremium join:2001-01-21 Cape Coral, FL | reply to Den Since this was added to the FAQ I wanted to add the following:
I found out the only files I needed to copy from my win98se install were
/wine/c/windows/system/msvcrt.dll /wine/c/windows/system/ole32.dll /wine/c/windows/system/oleaut32.dll /wine/c/windows/system/shlwapi.dll /wine/c/windows/system/MSVBVM60.DLL
As you can see from the paths I just copied these files to my wine directory setup.
Den |
|
 | reply to Den Can we get a screenshot with the microsoft .net sponsorship logo?  |
|
 CherieLady Of The Lake join:2002-01-15 Norfolk, VA | reply to Den Great Job !!! ......... we'll have to try it on our linux box and see how it goes ...........I had thought about it a few weeks ago but couldn't figure how to do it !!! |
|
 KeysCaptPremium,Mod join:2001-07-11 Keys Exile kudos:1 | Always check the FAQ, guys.  |
|