Hello everyone; I am a newb running Linux Ubuntu, as well as, WINE, and I am having a problem running the windows spider solitaire, as a warm up, with wine on a non root user id. The problem is that when attempting to run the game, the root password is asked, and that is something I don't want happening. Can you guide me on how to get this solve or point me in the right direction? I am running Ubuntu 10.10 and WINE 1.2.1 Thanks in advance for your help...
A-H Naghizodeh Torbat
2010-Dec-27 08:08 UTC
[Wine] +AFs-Wine+AF0- How do I make wine run for non root users?
I'm Running Suse linux on my system and never face such a problem . Your program that going to run by wine might want to read or write to an unauthorized location in memory ,that ask for being root . From: wine-users-bounces at winehq.org [mailto:wine-users-bounces at winehq.org] On Behalf Of Secured Sent: Monday, December 27, 2010 11:10 AM To: wine-users at winehq.org Subject: [Wine] How do I make wine run for non root users? Hello everyone; I am a newb running Linux Ubuntu, as well as, WINE, and I am having a problem running the windows spider solitaire, as a warm up, with wine on a non root user id. The problem is that when attempting to run the game, the root password is asked, and that is something I don't want happening. Can you guide me on how to get this solve or point me in the right direction? I am running Ubuntu 10.10 and WINE 1.2.1 Thanks in advance for your help...
Secured I don't know what you have done wrong. Wine should never require root. And I do mean never. It also should never be asking for a root password. This is a worring thing to be happening when it should never happen. What instructions did you use to install windows spider solitaire in wine.
So the problem may be how the solitaire file was copied from the windows folder to the wine, windows folder. I ran nautilus with sudo command to make a copy of the file. Could that be the problem? If that is the case, then I must learn how to change or remove the file ownership. Or will it be easier to start over by removing and reinstalling wine?
Secured wrote:> So the problem may be how the solitaire file was copied from the windows folder to the wine, windows folder. I ran nautilus with sudo command to make a copy of the file. Could that be the problem? If that is the case, then I must learn how to change or remove the file ownership. Or will it be easier to start over by removing and reinstalling wine?http://wiki.winehq.org/FAQ#head-8b89c928ce782c014b8b312469223296093e1484 Reinstalling Wine would not help, as doing that will not change the settings in ~/.wine, which is where your problem lies.
> So the problem may be how the solitaire file was copied from the windows folder to the wine, windows folder.Most applications will not work by copying from a windows folder.> ?I ran nautilus with sudo command to make a copy of the file. ?Could that be the problem?Yes, of course. Using root to copy things can give the root as the only user that has access to files. This is especially true if you are copying from a windows filesystem.> If that is the case, then I must learn how to change or remove the file ownership.Yes its a good idea to have at least some basic understanding of the linux operating system. Without knowing the most basic things in linux you will be at a serious disadvantage using wine.>?Or will it be easier to start over by removing and reinstalling wine?Reinstalling wine will have no effect on this problem. The permissions will still be wrong.
dimesio wrote:> Reinstalling Wine would not help, as doing that will not change the settings in ~/.wine, which is where your problem lies.Cool! Will look into that link, and reply back the results...
Secured wrote:> Cool! Will look into that link, and reply back the results...Still experiencing the same issue, so now I have a feeling I need to learn how to copy files between folders, or something. Will keep you posted on the findings.
oiaohm wrote:> The ownership of that file was most likely wrong. Owner being root instead of your user.Yep! Checked the properties, and the owner of the file is root. Now, what do I do to the file to remove or change its permissions? Since the file was cp straight from windows, would that be a bad idea to change the permission or ownership? And thank you all for the help!
On 12/30/10 1:58 AM, Secured wrote:> oiaohm wrote: >> The ownership of that file was most likely wrong. Owner being root instead of your user. > Yep! Checked the properties, and the owner of the file is root. > Now, what do I do to the file to remove or change its permissions? > Since the file was cp straight from windows, would that be a bad > idea to change the permission or ownership? > >Two questions, one answer: 1. Does this program require the use of an installation program? If it does, use it. 2. What user did you use to copy the program? If it was root, go back and remove the program and do this with a regular user. DO NOT DO ANYTHING WITH WINE AS ROOT! (There are exceptions, read the FAQ.) 1. Anwer: open a terminal session and type in man chown. This is IF the program does not require an installer. If it does, see item #1 above. James McKenzie
Secured <wineforum-user at winehq.org> wrote:> >I am interested in the answers to the questions asked above. Also, how do I edit a post? >As to the latter question, you cannot. See the sticky on what editing has been disabled for more information. James McKenzie
dimesio, yes I do have questionsss... Is it possible to run multiple instances of wine? If yes, how do I configure wine to do that?
Secured wrote:> Is it possible to run multiple instances of wine? If yes, how do I configure wine to do that?http://wiki.winehq.org/FAQ#head-f2f5f3bc795247f11962ea613a1f9e15657ad552 Unless you want to run multiple versions of Wine.