You are not logged in.

#1 2006-01-20 22:58:28

nehsa
Member
Registered: 2003-01-14
Posts: 159

Wine -- two question

I have two (probably simple) questions concerning Wine:

First, I screwed up my configuration and wanted to reinstall so I did this:
sudo pacman -R wine and then reinstalled it.  The problem is, it didn't recopy the fake windows folder that it uses (the part that was messed up)  If I want to start completely over, what should I do?

Second question:
Upon reinstall, I got this:

Targets: wine-0.9.5-1

Total Package Size:   12.8 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
>>> As of kernel 2.6.9, WINE will not work unless you enable the Legacy
>>> VM Layout.  You can do this like so:
>>>
>>> # echo "vm.legacy_va_layout = 1" >>/etc/sysctl.conf
>>> # sysctl -p
upgrading wine... done.

So I tried this:

[nehsa@serverass1300 Program Files]$ echo "vm.legacy_va_layout = 1" >>/etc/sysctl.conf
bash: /etc/sysctl.conf: Permission denied
[nehsa@serverass1300 Program Files]$ sudo echo "vm.legacy_va_layout = 1" >>/etc/sysctl.conf
bash: /etc/sysctl.conf: Permission denied
[nehsa@serverass1300 Program Files]$ 

Am I missing something?  Is there a different way to do this?

Offline

#2 2006-01-20 23:50:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Wine -- two question

1. To restart over, delete (or rename) the folder ~/.wine
2. Try doing it as root directly:
$ su
# echo "vm.legacy_va_layout = 1" >>/etc/sysctl.conf

HTH.

Offline

#3 2006-01-21 09:57:57

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: Wine -- two question

Directing output ( >> ), is done by the shell, and so it has only your user's permissions, not root's.
i.e. you echo as root, but redirect output as user.
So snowman's second solution should work wonders


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

Board footer

Powered by FluxBB