Problems with getting Wine to load a program

Asked by gryphaeon

Hi, I am rather new to Linux and Ubuntu 9.10. I am enjoying this OS, but am still learning a lot of things that I would guess are basics. I am trying to install a web based game and followed the instructions on their site for how to install on a linux box, but am having some serious trouble with just the simple things.

First, I loaded Wine (at least I think I have) and everything seemed to have gone smoothly with that. Then I tried to load the .EXE file into wine through my terminal following the instructions given. Below are the instructions, what I did and the answer I got... can someone help me figure out what I need to do here? I am fairly certain it will be a simple answer, but I just have no clue.

Their instructions;

With the terminal still open, you need to change to the directory that you downloaded ACsetup.exe into, this is how you do that (replace 'username' with your login, mine is matt so on the screenshot mine will be matt):
** (Make sure to capitolize the D in desktop, or the commands will not work, this is Linux, not Windows)

a.) Type in: cd /home/'username'/Desktop

What I did;

jimmy@jimmy-desktop:~$ cd /home/jimmy/Desktop

The response from the machine;

jimmy@jimmy-desktop:~/Desktop$

The websites next instructions;

Now you need to run the Acro Challenge setup file utilizing Wine, this is how you do that:

b.) Type in: sudo wine ACsetup.exe

What I did;

jimmy@jimmy-desktop:~/Desktop$ sudo wine ACsetup.exe

Response from the machine;

[sudo] password for jimmy:

I typed in my password and this is the response I got from my machine;

wine: /home/jimmy/.wine is not owned by you
jimmy@jimmy-desktop:~/Desktop$

What am I doing wrong?

Thanks for any help that can be given!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
Best mycae (mycae) said :
#1

Don't run wine as "root" (which is what the "sudo" bit at the front is about). this is considered very bad, and wine does not like doing that. Just run it as a normal user

so instead of
$ sudo wine ACsetup.exe

try
$ wine ACsetup.exe

Revision history for this message
mycae (mycae) said :
#2
Revision history for this message
gryphaeon (gryphaeon) said :
#3

Thank you! This helped a great deal... I didn't even know what to look for in the FAQ section, but the simple instructions helped a great deal!

Revision history for this message
Hsn (alshawaf) said :
#4

you can check if Wine is installed or not or even reinstall it
you can use terminal by typing:
sudo apt-get install wine
or if you want the GUI way:
go to Applications --> Ubuntu Software Center
and type wine in the search dialog

after that go to your .exe file right click it and chose Properties
than click Permissions look up for Execute click the check box to allow it to execute as a program than just double click it