LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Slackware + Wine (https://www.linuxquestions.org/questions/linux-software-2/slackware-wine-83726/)

Sloanr333 08-20-2003 12:21 AM

Slackware + Wine
 
I have a Slackware Version that my brother's friend brought over, so I don't know which version it is. I use Gnome(if that matters) And I am relatively new to Linux. I've tried to install Wine-20030813, however I can tar it, and such, but once I try to use the wineinstall, it says I can't use root. So I log into a user account, and it says that my access is denied. Is there any way around this? As I said, I am a :newbie: .




Thank you.

wr3ck3d 08-20-2003 09:51 AM

do this, go into /usr/src and su to root
#tar -zxf /path/to/wine
#exit
$cd /usr/src/wine
$./tools/wineinstall

that should work, if it stills gives a permission problem su back to root. and go to /usr/src...so your not in the wine dir
#chown -R Sloanr333.users wine/

If your username isnt Sloan then use whaver it is of course, then exit out of root and try again.

Sloanr333 08-20-2003 10:58 AM

I don't really understand that. What's S U ing to root? lol sorry, but can you uhh expandsorta? If you don't mind
Thnax

andrewlkho 08-20-2003 11:04 AM

Type "su" at a terminal, enter your root password, and you are now using your terminal as root...that's a quick explanation.

serz 08-20-2003 11:14 AM

Take a look to the man pages to understand a little more what they do.

man su

Sloanr333 08-20-2003 08:18 PM

Okay, I got it working now. Thank you everyone! :)



I most likely will be back very soon harhar

Sloanr333 08-20-2003 09:52 PM

Yup, see? I told you I'd be back. Is there any way to run WINE on the root account? every time I try the terminal command for it, it says it can't find the file /root/.wine


It's sort of an inconvienience to have to use my user account also... :)

Half_Elf 08-20-2003 09:54 PM

copy the .wine directory in your users account to /root

and it should work.

J.W. 08-21-2003 02:31 AM

Sloan, this may be a bit presumptuous of me, but based on your comment that it's "sort of inconvenient to have to use your user account" I would assume that means you ordinarily run everything as root. If this is true, then I'll also assume that you not only know exactly what you're doing but you also have a compelling reason to only use an ordinary user account on an exception basis. However, since you also ask "what is su?" in the same thread, there seems to be a pretty good chance that my original assumption is false.

I don't know your level of experience, so I'm sorry if this is info you already know, but if you're new to Linux, suffice it to say that you should definitely *not* be running things as root by default. The potential for trashing your system would be huge, which is why regular user accounts exist in the first place. Perhaps you performed the entire wine installation as root, and thus can't run anything udner your regular account. If so, you might want to consider uninstalling it, and reinstalling it as a regular user. (In other words, unpack the .tar.gz file as root, but after you cd to the new wine directory, run "./tools/wineinstall", etc, as a regular user.)

Sorry if this message sounds like scolding - that is not my intent at all, it's just that anytime I see anyone (apparently) running things under root as a matter of routine, it's just a red flag. Regards, -- J.W.

Sloanr333 08-21-2003 11:59 AM

Okay, well thanks for your concern, J.W., but I think that with running LInux, and being as far as I am(What with installing wine and all) I think I might have enough sence to not trash the system. I sortof got it working, all I have to do is su to the user account, it's not that nig of a deal. I thought I had to do something a little more, but I figured it out. :) Thank you everyone.





Ah yes, my final quesition(maybe). Has anyone gotten Ragnarok Online to work on their Linux? Knowing about WINE before installing Linux was one of my decision makers. I wanted to play Rag with a friend while he was here, but I also wanted to run a CS dedicated server(That's working) and I heard that Linux was good for that. I got Linux and now I can't seem to get RO working. Thank you.

wr3ck3d 08-21-2003 12:39 PM

Just do this man. Make a ~/.wine directory
$cp /usr/src/wine/documentation/samples/config ~/.wine/

then edit the config to point to the directory. Run 'wine' and see if you get errors. If you get a usage output everything is fine.

Running as root i guess isnt the best thing but people exagerrate a little about running as root and you will ruin your system. I dont think running wine as root is to bad though.

Sloanr333 08-21-2003 05:15 PM

Alright, Thank you, now I've got everything working, but when I load hl.exe, it asks me to put in the CD Key. When I try to, it types in the background, not on the window that has the CD Key prompt.Does anyone know why or how to fix it? I suppose I could, but I'm really really sick right now, alsmot just pukeid on the keyboard, lol.

Sloanr333 08-25-2003 08:33 PM

Okay, maybe I didn't explain enough? The keyboard doesn't type has anyone at else at least had this problem? Also, does anyone know how to get Ragnarok Online to work on Linux? Wine or not... Thanks

DrOzz 08-25-2003 09:32 PM

well if worse comes to worse, you can manually enter your key into the registry in your fake windows/wine folder, usually located in:
/home/USER/.wine/user.reg
the section is:
[Software\\Valve\\Half-Life\\Settings]
and anywheres within that section add the following:
"Key"="123456789"
where obviously 123456789 will be your cdkey....and make note that you do not include the dashes ( - )
so don't make the mistake of entering 1234-56789-1011

Half_Elf 08-26-2003 06:34 AM

I had exactly this problem 'bout Wine and Starcraft.

Edit your config file in $HOME\.wine\ and change the following lines :
; Allow the window manager to manage created windows
"Managed" = "N"
; Enable DirectX mouse grab
"DXGrab" = "Y"

this done the tricks to me.


All times are GMT -5. The time now is 02:20 AM.