Wine Setup

Francois Gouget fgouget at free.fr
Wed May 23 16:10:20 CDT 2001


   Sorry for not answering before. I'm not sure to have all the answers
(being a Debian user I don't use CW Wine) but here goes anyway.

On Tue, 15 May 2001 cacook at freedom.net wrote:

> 
> Still have these questions:
> 
> CWp3 winedbg symlink is broken.  How to fix?

   Ah. I thought this only happened on my system because I did not
execute the postinst when unpacking CW Wine. But it seems to be wrong on
your system too so I'll report it as a bug.
   Assuming that you installed CWWine in the default location
(/opt/wine) the fix is to do the following as root:

$ cd /opt/wine/bin
$ rm winedbg
$ ln -s wine.bin winedbg

   I'm not sure if the debugger is set to run automatically in the
registry. If not then you'll need to set up the AeDebug key as per:
   http://wine.codeweavers.com/docs/wine-devel/dbg-config.shtml


> I am hearing that in order to deinstall a Windows program, you must
> compile a certain proggie from the sources.  It doesn't seem to come
> with CWWine.  Best avenue?

   This must be the uninstall program Uwe Bonnes was talking about. The
problem is that CWWine does not include any of the programs in programs/
(this includes regapi too). I think the best would be to get the Wine
source, compile it, and then go to programs/uninstaller and compile it
too.


> I chose Desktop mode, as I need two apps running simultaneously.  
> Freedom, which is my privacy app and netscape-mail must run
> together, as mail is fetched through Freedom.  I'm hearing that each
> winprog is run as new process. 

   You will most likely hit a problem with inter-process message
passing. AFAIK, this has been broken ever since Wine implemented the
address space separation by which windows processes are loaded in
separate Unix processes. Running in a desktop will not change that
unfortunately.
   (Someone, correct me if I'm wrong)


> Is it possible to run two winprogs in one Wine desktop?

   Good question. I never use desktop mode but indeed, each time I start
a new application it gets a new desktop. This used to work (a long time
ago, before address space separation probably).


> Should there be a taskbar on the desktop?  If so, how would I
> enable?

   Wine does not provide a taskbar. I guess you're asking this in
relation with your previous question. Well, it is my understanding that,
normally, just starting a new program the same way you started the first
one should make it appear in the same desktop.
   For now I would not recommend using the Desktop mode.


> I understand that every time X fonts are changed, Wine freezes for a
> period until these are assimilated.  But when I run a program
> (QuoteTracker), it runs for about 2 minutes (with a random script
> font) then freezes; indefinitely.  I need to kill the Wine window
> and the server process, so no debug info.  This happens with other
> Win proggies as well.  I presume this is happening on a font scan.  
> What could be wrong?

   This is probably not related to fonts. Can you run this application
through the steps described in the 'Finding and Reporting Bugs' section 
of the Wine User's Guide?
   http://wine.codeweavers.com/docs/wine-user/bugs.shtml#AEN2033


> Wanting to set up a common Wine config for all users, so tried
> symlinking to a user's /$HOME/.wine files.  But even root fails when
> running a Wine program, with something like 'root is not the owner
> of the process'. (referring to the folder in .wine dir)  Possible to
> fix?

   I'm not sure about this one. The subject of having a global Wine
configuration file has been debated a lot a long time ago and it was
more or less decided that it would be better to use individual
configuration files. Ove Kaven may have done something in his Debian
packages though.
   Anyway, the problem you're having sounds like the user trying to
start Wine has a .wine symlink that points to a directory that does not
belong to him. On startup the wineserver needs to create a directory and
socket .wine and I believe it will refuse to do so if the ownership and
permissions are not right (for seurity reasons).
   What you could try is to keep one .wine directory per user but
symlink 'config' and '*.reg'.


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  In a world without fences who needs Gates?









More information about the wine-users mailing list