[Wine] Running wine via php
Martin Gregorie
martin at gregorie.org
Thu Feb 11 09:00:37 CST 2010
On Thu, 2010-02-11 at 08:03 -0600, asmith wrote:
> I'm sorry I'm newbie on linux and wine, but I'm trying my best.
>
> I did:
>
> mv /root/.wine /home/username/.wine
>
> and
>
> env WINEPREFIX=/home/username/.wine
>
> But wine didn't changed its prefix.
> by
> wine program.exe
>
> wine again created .wine in root. (I am logged as root for now)
> How do I change it?
>
Assuming you're again logged in as root:
rm -rf /root/.wine
exit
Login as username.
Run wine.
Do as little as possible when running as root. Preferably never run
anything as root. Second choice is to run commands with sudo. Third by a
long, long way is to login as root or via su.
Martin
More information about the wine-users
mailing list