LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2010, 01:40 PM   #1
Quads
Member
 
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203

Rep: Reputation: 34
Why does wine sometimes want to be root?


I have found sometimes that programs won't install in wine, but when i run setup as root, they will install just fine. I do not use them this way because I do not trust wine running as root on my system. Anyone know why this may be happening?
 
Old 02-08-2010, 01:47 PM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Maybe it is a misconfiguration of wine or your system permissions? What does this program exactly is supposed to do? (access some hardware or similar)
 
Old 02-08-2010, 01:50 PM   #3
Quads
Member
 
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by irmin View Post
Maybe it is a misconfiguration of wine or your system permissions? What does this program exactly is supposed to do? (access some hardware or similar)
Many programs in wine work just fine. I have tried to run Call of Duty 2 and Wolfenstein, both which work fine according to what I have found on the wine page, and the install fine as root. Its just bizarre.
 
Old 02-08-2010, 02:05 PM   #4
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Are you trying to install "Call of Duty 2" or "Wolfenstein" from a CD or DVD? It is possible that these discs are copyprotected and the installation program tries to verify it by directly accessing the disc, from which your permission settings may prevent you doing so.

Another possiblity is that there is too few free space in your home directory (~/.wine/drive_c) and the installation as root works, because the installation target directory is somewhere else?

Does the installation program produce any output in the terminal? To trace permission problems you can "strace": e.g. "strace -e open -f wine <your-exe-file> 2>&1 | grep EACCESS" or "strace -e open -f wine <your-exe-file> 2&1 | grep EPERM" (it will show you all open systemcalls that produce permission errors).
 
Old 02-08-2010, 02:09 PM   #5
Quads
Member
 
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by irmin View Post
Are you trying to install "Call of Duty 2" or "Wolfenstein" from a CD or DVD? It is possible that these discs are copyprotected and the installation program tries to verify it by directly accessing the disc, from which your permission settings may prevent you doing so.
Yes, from the discs...this is what it says normally in a terminal...

wine: Call from 0x7ef8b300 to unimplemented function KERNEL32.dll.BaseIsAppcompatInfrastructureDisabled, aborting


I will try running things the way you said and see what I can find out.
 
  


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 only run as root vivasjimmy Linux - Software 1 09-11-2009 12:47 PM
How can I can compile Wine if I'm not root Elie00 Linux - Software 5 02-11-2005 04:38 PM
wine available in root? NL-Stitch Linux - Newbie 2 08-01-2004 04:38 PM
wine: cannot open /root/.wine : No such file or directory shams Mandriva 2 06-13-2004 09:03 PM
installing wine as root S.D.Willie Linux - Software 3 02-06-2003 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 PM.

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