Starting WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Starting WINE

Post by sgtbob »

I have RTFM but it is limited on offering help when a problem crops up for a noob who is not a programmer.

I DL and installed the WINE program on my Ubuntu 7.10 and can see it on the Applications. Selecting 'Configure Wine' brings up the 'grey' screen but nothing I do to it seems to function.

I opened the terminal and typed 'winecfg' and stuff happens like: 'bob@XPS:~$ winecfg
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
Warning: the specified Windows directory L"c:\\windows" is not accessible.
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
ad nauseum
'

So, to paraphrase a disgruntled individual when asked this question replied that I should RTFM, well how do I proceed with the F setup? :-)

No matter which version of Windows I selected from Vista to the oldest one, nothing happens. Where am I going wrong? and is there a noob manual that gets to the nitty-gritty of its operation? The user manual is pretty vague on some issues that would help if explained more in detail so's us dummies could understand.

bob
:?:
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Post by Timeout »

The manual is not going to help you much.
Did you compile it yourself? it seems that Wine is not loading correctly a library.
James McKenzie

Starting WINE

Post by James McKenzie »

sgtbob wrote:
I have RTFM but it is limited on offering help when a problem crops up for a noob who is not a programmer.

I DL and installed the WINE program on my Ubuntu 7.10 and can see it on the Applications. Selecting 'Configure Wine' brings up the 'grey' screen but nothing I do to it seems to function.

I opened the terminal and typed 'winecfg' and stuff happens like: 'bob@XPS:~$ winecfg
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
Warning: the specified Windows directory L"c:\\windows" is not accessible.
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 40 to STATUS_UNSUCCESSFUL
ad nauseum
'

So, to paraphrase a disgruntled individual when asked this question replied that I should RTFM, well how do I proceed with the F setup? :-)

No matter which version of Windows I selected from Vista to the oldest one, nothing happens. Where am I going wrong? and is there a noob manual that gets to the nitty-gritty of its operation? The user manual is pretty vague on some issues that would help if explained more in detail so's us dummies could understand.
Do the following:

rm -rf ~/.wine
wine notepad
And then try to run winecfg

It appears that your user's .wine folder is corrupt.

Also, make sure your user and write to the $HOME directory and that you
never run Wine as root using sudo (it does bad things like not allowing
your user to write to the directory structure.)

James
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Wine Install

Post by sgtbob »

James - I completely removed WINE via Synaptic, then re-installed it (version 0.9.57) then used your instructions: rm -rf ~/.wine and then wine notepad. If I use the winecfg in the terminal here is the result:
bob@XPS:~$ rm -rf ~/.wine
bob@XPS:~$ wine notepad
wine: creating configuration directory '/home/bob/.wine'...
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
Could not load Mozilla. HTML rendering will be disabled.
wine: '/home/bob/.wine' created successfully.
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
bob@XPS:~$


Then if I run winecfg in the teminal, here is what I see:
bob@XPS:~$ winecfg
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)


In addition to the foregoing, there is a box that appears with the 7 tabs and indicating Windows 2000. I changed to Windows XP and clicked on the C:/ ...drive and clicked on 'autodetect'. It appeared to pick up my CDRom and Thunb Drives. But I can't figure out what I should do at this point. The written instructions infer that I should open any '.exe' file, but there aren't any that I can see. Now what?

Bob
[/b]
Dan Kegel

Starting WINE

Post by Dan Kegel »

On Mon, Mar 17, 2008 at 1:49 PM, sgtbob <[email protected]> wrote:
I completely removed WINE via Synaptic, then re-installed it (version 0.9.57)
then used your instructions: rm -rf ~/.wine and then wine notepad.
Great! So it works.
If I use the winecfg ...
Why are you using winecfg? Why not just run your app?

See Question #1 in http://wiki.winehq.org/FAQ
- Dan
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

Dan - how do you run the application if I do not see an .exe file? This may sound dumber than a box of hammers, but I am unable to figure the operation out....

bob
:roll:
Dan Kegel

Starting WINE

Post by Dan Kegel »

On Mon, Mar 17, 2008 at 4:07 PM, sgtbob <[email protected]> wrote:
Dan - how do you run the application if I do not see an .exe file?
This may sound dumber than a box of hammers, but I am unable to figure the operation out....
I remember well the first time I sat down in front of
a Macintosh (in 1982?). Couldn't run a damn thing.
Turned out the trick was to double-click. Boy was
I embarrassed, and mad...

Anyway, go find the .exe with your usual linux desktop file manager.
Installing Wine should magically endow it with the ability to
run .exe's by double-clicking on them (or right-clicking on them and
picking "Run With..." /usr/bin/wine.)

Alternately, find 'em on the commandline, and run them by putting
'wine' in front of them.
- Dan
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Starting WINE

Post by sgtbob »

I tried your suggestion and met with varying results - but still reading and
trying.

I have two identical 160 GB HDD's - one with Windows installed and one with
Ubuntu installed. Can you tell me if the .exe has to reside on the windows
drive or on the Ubuntu drive? I have met with limited results in trying to
do a wine Legacy6Setup.exe from the terminal - basically says not
available...

I 'think' I was able to install the Legacy program by putting it on my
Ubuntu desktop, but when I tried to run it, I encountered an 'error 545 ' or
some such number. I have been able to access the 'C:' drive, which I presume
is on the Windows HDD, but when I try to open a file from Legacy (eg.
Bob.fdb - which is my genealogy file), the only .fdb seen is one that is a
sample.fdb that came with the program, which will not load, even though I
can see teh fiel I want if I go to Windows.

Maybe I'm expecting too much from Wine with my limited knowledge of Linux.
What I had hoped to do was to use my Ubuntu to work with files and programs
installed on my Windows HDD with the Ubuntu Wine package. Am I
misinterpreting what it should/would do?




Dan Kegel-2 wrote:
On Mon, Mar 17, 2008 at 4:07 PM, sgtbob <[email protected]> wrote:
Dan - how do you run the application if I do not see an .exe file?
This may sound dumber than a box of hammers, but I am unable to figure
the operation out....
I remember well the first time I sat down in front of
a Macintosh (in 1982?). Couldn't run a damn thing.
Turned out the trick was to double-click. Boy was
I embarrassed, and mad...

Anyway, go find the .exe with your usual linux desktop file manager.
Installing Wine should magically endow it with the ability to
run .exe's by double-clicking on them (or right-clicking on them and
picking "Run With..." /usr/bin/wine.)

Alternately, find 'em on the commandline, and run them by putting
'wine' in front of them.
- Dan


--
View this message in context: http://www.nabble.com/Starting-WINE-tp1 ... 24876.html
Sent from the Wine - Users mailing list archive at Nabble.com.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Starting WINE

Post by austin987 »

On Tue, Mar 18, 2008 at 11:23 AM, sgtbob <[email protected]> wrote:
I tried your suggestion and met with varying results - but still reading and
trying.

I have two identical 160 GB HDD's - one with Windows installed and one with
Ubuntu installed. Can you tell me if the .exe has to reside on the windows
drive or on the Ubuntu drive? I have met with limited results in trying to
do a wine Legacy6Setup.exe from the terminal - basically says not
available...

I 'think' I was able to install the Legacy program by putting it on my
Ubuntu desktop, but when I tried to run it, I encountered an 'error 545 ' or
some such number. I have been able to access the 'C:' drive, which I presume
is on the Windows HDD, but when I try to open a file from Legacy (eg.
Bob.fdb - which is my genealogy file), the only .fdb seen is one that is a
sample.fdb that came with the program, which will not load, even though I
can see teh fiel I want if I go to Windows.

Maybe I'm expecting too much from Wine with my limited knowledge of Linux.
What I had hoped to do was to use my Ubuntu to work with files and programs
installed on my Windows HDD with the Ubuntu Wine package. Am I
misinterpreting what it should/would do?
Do not run programs from an NTFS drive/windows installation. Run the
setup in Ubuntu, and run it from wine's virtual drive_c.
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

Trying another approach as suggested, I opened a terminal and entered:

bob@XPS:~$ wine PandoSetup.exe
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
wine: could not load L"C:\\windows\\system32\\PandoSetup.exe": Module not found
bob@XPS:~$


So then I tried another one:

bob@XPS:~$ wine PandoSetup.exe
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
wine: could not load L"C:\\windows\\system32\\PandoSetup.exe": Module not found
bob@XPS:~$



What must I do?

Bob :oops: :oops:
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

OOPS!!! THE second one should have been:

bob@XPS:~$ wine pcdocpro.exe
err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
wine: could not load L"C:\\windows\\system32\\pcdocpro.exe": Module not found
bob@XPS:~$


Bob

As my Korean friends would say - Mi ahn haji moyo!!!! - or 'Sorry 'bout that!!

:? :? :? :?
Dan Kegel

Starting WINE

Post by Dan Kegel »

On Wed, Mar 19, 2008 at 3:36 PM, sgtbob <[email protected]> wrote:
Trying another approach as suggested, I opened a terminal and entered:

bob@XPS:~$ wine PandoSetup.exe

err:reg:SCSI_getprocentry bus id line scan count error (fscanf returns 0, expected 4)
wine: could not load L"C:\\windows\\system32\\PandoSetup.exe": Module not found
You forgot to cd to the directory containing PandoSetup.exe, I think.
Alan McKinnon

Starting WINE

Post by Alan McKinnon »

On Tuesday 18 March 2008, sgtbob wrote:
I tried your suggestion and met with varying results - but still
reading and trying.

I have two identical 160 GB HDD's - one with Windows installed and
one with Ubuntu installed. Can you tell me if the .exe has to reside
on the windows drive or on the Ubuntu drive? I have met with limited
results in trying to do a wine Legacy6Setup.exe from the terminal -
basically says not available...

I 'think' I was able to install the Legacy program by putting it on
my Ubuntu desktop, but when I tried to run it, I encountered an
'error 545 ' or some such number. I have been able to access the 'C:'
drive, which I presume is on the Windows HDD, but when I try to open
a file from Legacy (eg. Bob.fdb - which is my genealogy file), the
only .fdb seen is one that is a sample.fdb that came with the
program, which will not load, even though I can see teh fiel I want
if I go to Windows.

Maybe I'm expecting too much from Wine with my limited knowledge of
Linux. What I had hoped to do was to use my Ubuntu to work with files
and programs installed on my Windows HDD with the Ubuntu Wine
package. Am I misinterpreting what it should/would do?
No, this tactic will never ever work. OK, maybe it will sometimes but it
takes a pro. There are two reasons:

- Linux cannot write to your NTFS partition in safety and any Windows
app running in wine would of course need to do that. You could use a
driver called ntfs-ng instead of the one that comes with the kernel
itself but frankly, I don't trust either.

- Wine cannot read the native windows registry, it needs it's own
registry format which it reads off a Linux file and once it's in memory
presents the registry to apps the way they expect it.

The only sane way to run windows apps is to let Wine create it's own
Windows-like setup on a Linux disk, and then install the app into Wine.
Unfortunately this means you will usually have two installs for a
windows app - one in wine and one in windows itself and they should
stay very very separate.

It's important to keep in mind what Wine really is - it's a Linux
application that does all the stuff Windows does when windows apps want
to run. When the windows app starts, it expects to see a system that
behaves like windows does, and Wine performs this. Under the covers
it's listening to what the windows apps wants to do and actually doing
the corresponding Linux thing. It's quite an awesome trick actually :-)
But wine and windows just don't mix in the same space.



--
Alan McKinnon
alan dot mckinnon at gmail dot com
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

Alan - your reply seems logical to me, but how do I '...let Wine create it's own
Windows-like setup on a Linux disk,...' - in other words, what is the exact procedure? I've monkeyed around with this for 6 months and have not been able to run Windows apps through Wine, even though some stuff seems to have been set up on my system which looks liek wine features...


Bob
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Starting WINE

Post by austin987 »

On Wed, Mar 19, 2008 at 6:31 PM, sgtbob <[email protected]> wrote:
Alan - your reply seems logical to me, but how do I '...let Wine create it's own
Windows-like setup on a Linux disk,...' - in other words, what is the exact procedure? I've monkeyed around with this for 6 months and have not been able to run Windows apps through Wine, even though some stuff seems to have been set up on my system which looks liek wine features...


Bob





run any wine program:
$ wine notepad
and it will create a directory ~/.wine with a windows-like setup
John Drescher

Starting WINE

Post by John Drescher »

On Wed, Mar 19, 2008 at 7:31 PM, sgtbob <[email protected]> wrote:
Alan - your reply seems logical to me, but how do I '...let Wine create it's own
Windows-like setup on a Linux disk,...' - in other words, what is the exact procedure? I've monkeyed around with this for 6 months and have not been able to run Windows apps through Wine, even though some stuff seems to have been set up on my system which looks liek wine features...
login as a normal user (NOT root)

Start with a clean .wine folder.

Run winecfg to setup the cdrom (DO NOT create any links to real
windows systems in any step)

Install the application from the cd

If this fails see appdb.winehq.org first then post here.

John
rockinup1231
Level 2
Level 2
Posts: 14
Joined: Fri Mar 07, 2008 8:34 pm

Post by rockinup1231 »

For further clarification and future purposes, the wine installation is a folder in your home directory named .wine

You won't see it unless you use the key combo ctrl+h to reveal hidden files and folders. Inside of it will be a folder named "drive_c" which is wine's virtual C drive. From that point on, the layout is similar in appearance to an actual windows installation. This is nice so if you ever needed to meddle with your programs files or throw in a Windows-native DLL, the proper folders will be as easy to locate as the ones on a real Windows installation.
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

Then from what I'm reading from a couple of responses is that the Windows App must reside on Ubuntu or on a disc in the CDRom drive. I guess I was under the impression form my readings that Wine actually went to the drive that had Windows on it and activated the .exe from there. If this be the case, then I have totally misunderstood the Wine function.

I'll give that feature a try if I can locate a suitable .exe. file.

Bob
sgtbob
Level 2
Level 2
Posts: 19
Joined: Mon Mar 17, 2008 5:00 am

Post by sgtbob »

OK after many hours of trial and error, here is what I believe all of the responders have been trying to tell me (guess I am just slow, but at age 75, one should expect this...(':P')

1. RTFM - this I have done and believe me, there is a limited amount of info in it;

2. After installing wine, I selected 'applications' --> 'wine' --> 'Brouse C:\ Drive --> selected the CD Rom drive --> clicked on the '.exe' program and then the Legacy genealogy program was installed.;

3. The foregoing process placed an icon on the desktop of the program. Double clicking on it opened the program;

4. I am interested in genealogy and tried to install Legacy 6.0 file, only to learn in appsdb.winehq. that it was classified as 'garbage'. It is a great program, but evidently isn't compatible with Wine. I kept getting error messages;

5. I then tried PAF, a LDS genealogy program. This one worked, but the data has some awkward capitalization in the middle of names in one feature. i.e., Smithsonian would show up as 'SMitH On IAn' and not as one would hope. All reports from the program worked as it did in Windows, so it may be a compromise.

6. Other .exe packages I tried were somewhat similar.

S0 - It appears that the Windows programs, while operating through the Wine feature, requires the package to be 'loaded' into my Ubuntu Linux, generally duplicating the programs and the data from my Windows system, with the icons loaded onto the desktop. This is a bit awkward, but appears workable to permit me to continue with Ubuntu. It took a while for this to sink into my hard head :oops: , but with a couple of programs up and running, I seem to be making progress.

I appreciate all the folks who helped get me this far. Thanks again and I'll keep trying various programs.

Does anyone have any opinions on 'CrossOver'? It was a program I ran across while viewing 'Franks Corner'. Is it any better - worse - about the same?

Bob :roll:
Locked