Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » Computing Clubs » Team Discovery » Running UD with Wine in Linux
Search Topic:
Uniqs:
1709
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Try Harder! »
« hide tray icon in Windows 98?  
AuthorAll Replies


Den4
Premium
join:2001-01-21
Cape Coral, FL
clubs:

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
join:2001-03-14
Crouch End
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.

Shady Bimmer
Premium
join:2001-12-03
Northport, NY
clubs:
reply to Den4
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
Premium,ExMod 2001-02
join:2001-04-06
UK
reply to Den4
Great job Den.


RClarkofNC
Premium
join:2000-09-20
Charlotte, NC
clubs:
 reply to Den4
Thanks, Den! I think this is a first.


Cop
Premium
join:2001-09-05
Auburn, AL
·Charter Pipeline

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.


Den4
Premium
join:2001-01-21
Cape Coral, FL
clubs:

reply to Den4
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
join:2000-09-20
Charlotte, NC
clubs:
reply to Den4
This should be added to the FAQ!


Den4
Premium
join:2001-01-21
Cape Coral, FL
clubs:

reply to Den4
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

@net.n
reply to Den4
Can we get a screenshot with the microsoft .net sponsorship logo?


Cherie
Lady Of The Lake

join:2002-01-15
Norfolk, VA
clubs:
reply to Den4
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
Premium,Mod
join:2001-07-11
Keys Exile
clubs:
Always check the FAQ, guys.
Forums » Tech and Talk » Computing Clubs » Team DiscoveryTry Harder! »
« hide tray icon in Windows 98?  


Thursday, 26-Nov 18:18:01 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [109] New AT&T Ad Campaign Hits Back At Verizon
· [106] Time Warner Cable Fires Broadside At Broadcasters
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [69] TiVo Sees Record Customer Losses
· [61] In-Flight Internet Headed For Bumpy Landing?
· [42] Thanksgiving Open Thread
· [37] ICANN Slams DNS Redirection
· [34] Senators Want ACTA Made Public
· [34] Despite Billions In USF Fees, U.S. Libraries Lack Bandwidth
Most people now reading
· I'll Just Unplug That... [No, I Will Not Fix Your #@$!! Computer]
· SSD [Computer Hardware Discussion/Reviews]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Not strictly "Home" related - but WOW anyways... [Home Repair & Improvement]
· Rogers Rocket Stick [Rogers]
· So we need a legitimate reason to use a lot of bandwidth? [TekSavvy]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]
· Murdoch & Fox CEO Want '3 Strikes' Law in US (ACTA) [Security]
· Windows 7 boot manager editing questions [Microsoft Help]