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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-08-2010, 12:40 PM
|
#1
|
Member
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203
Rep:
|
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?
|
|
|
02-08-2010, 12:47 PM
|
#2
|
Member
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342
Rep:
|
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)
|
|
|
02-08-2010, 12:50 PM
|
#3
|
Member
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203
Original Poster
Rep:
|
Quote:
Originally Posted by irmin
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.
|
|
|
02-08-2010, 01:05 PM
|
#4
|
Member
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342
Rep:
|
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).
|
|
|
02-08-2010, 01:09 PM
|
#5
|
Member
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203
Original Poster
Rep:
|
Quote:
Originally Posted by irmin
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.
|
|
|
All times are GMT -5. The time now is 02:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|