LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2003, 01:21 AM   #1
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Rep: Reputation: 0
Question 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 .




Thank you.
 
Old 08-20-2003, 10:51 AM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
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.
 
Old 08-20-2003, 11:58 AM   #3
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2003, 12:04 PM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Type "su" at a terminal, enter your root password, and you are now using your terminal as root...that's a quick explanation.
 
Old 08-20-2003, 12:14 PM   #5
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Take a look to the man pages to understand a little more what they do.

man su
 
Old 08-20-2003, 09:18 PM   #6
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Okay, I got it working now. Thank you everyone!



I most likely will be back very soon harhar
 
Old 08-20-2003, 10:52 PM   #7
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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...
 
Old 08-20-2003, 10:54 PM   #8
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
copy the .wine directory in your users account to /root

and it should work.
 
Old 08-21-2003, 03:31 AM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
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.
 
Old 08-21-2003, 12:59 PM   #10
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.

Last edited by Sloanr333; 08-21-2003 at 01:02 PM.
 
Old 08-21-2003, 01:39 PM   #11
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
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.
 
Old 08-21-2003, 06:15 PM   #12
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 08-25-2003, 09:33 PM   #13
Sloanr333
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 08-25-2003, 10:32 PM   #14
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
 
Old 08-26-2003, 07:34 AM   #15
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine for Slackware 9.1 Zuggy Linux - Software 3 12-10-2004 03:52 PM
wine on slackware 9.1 Superme Linux - Software 11 09-18-2004 02:16 PM
wine in slackware greythorne Slackware 11 07-13-2004 10:49 AM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 01:29 PM
Slackware 9.0 and wine(x) bob_smith Slackware 7 09-21-2003 09:45 AM


All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration