dslreports logo
Search similar:


uniqs
4228

Den
Premium Member
join:2001-01-21
Cape Coral, FL

Den

Premium Member

Running UD with Wine in Linux

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.jpg

I'll have to let them run awhile and see how it goes. Seems fine so far.

Den

DawsonPrime$
Premium Member
join:2001-03-14
Crouch End

DawsonPrime$

Premium Member

Wow, nice. That is very impressive. I have not heard of anyone doing this. Great job and thanks for the info.
Shady Bimmer
Premium Member
join:2001-12-03

Shady Bimmer to Den

Premium Member

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.

Ian_Brooks

join:2001-04-06
UK

Ian_Brooks to Den

to Den
Great job Den.

RClarkofNC
Premium Member
join:2000-09-20
Charlotte, NC

RClarkofNC to Den

Premium Member

to Den
Thanks, Den! I think this is a first.

Cop
Premium Member
join:2001-09-05
Auburn, AL

Cop

Premium Member

said by RClarkofNC:
Thanks, Den! I think this is a first.
its the first and best way!



Scott

Den
Premium Member
join:2001-01-21
Cape Coral, FL

Den

Premium Member

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

RClarkofNC
Premium Member
join:2000-09-20
Charlotte, NC

RClarkofNC to Den

Premium Member

to Den
This should be added to the FAQ!

Den
Premium Member
join:2001-01-21
Cape Coral, FL

Den

Premium Member

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

Crankshaw
@cable.paradise.net.n

Crankshaw to Den

Anon

to Den
Can we get a screenshot with the microsoft .net sponsorship logo?

Cherie
Lady Of The Lake
join:2002-01-15
Norfolk, VA

Cherie to Den

Member

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 !!!

KeysCapt

join:2001-07-11
Carson City, NV

KeysCapt

Always check the FAQ, guys.