Pegasus
2004-05-05, 05:04 AM CDT
his HowTo might be useful for people having problems running wine without errors.
First of all, download the latest version of wine from http://www.winehq.com. Choose the RedHat RPM via Download/RedHat. Also if it is named as Fedora Core 1, it will work. The filename is "wine-20040408-1fc1-winehq.i686.rpm"
Installation:
Open a terminal, login as root and install the RPM.
$ su
Password:
# rpm -Uvh wine*
After executing, SeLinux maybe start bombing with messages. Ignore them.
Starting wine:
Simply execute "wine". The application should show the help screen.
If wine is not able to start and returns message "wine: failed to create the process heap", enter following command:
# echo 0 > /proc/sys/kernel/exec-shield
This will turn off the exec-shield to be able to run wine. Remember you need root access. After modifying exec-shield, the result will be:
# wine
Wine 20040408
Usage: wine [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)
Options:
--debugmsg name Turn debugging-messages on or off
--help,-h Show this help message
--version,-v Display the Wine version
#
Now it is also possible to run wine as non-root user. The needed directories (/home/[username]/.wine/..) will be created while executing wine the first time.
Hope this will help you ;)
First of all, download the latest version of wine from http://www.winehq.com. Choose the RedHat RPM via Download/RedHat. Also if it is named as Fedora Core 1, it will work. The filename is "wine-20040408-1fc1-winehq.i686.rpm"
Installation:
Open a terminal, login as root and install the RPM.
$ su
Password:
# rpm -Uvh wine*
After executing, SeLinux maybe start bombing with messages. Ignore them.
Starting wine:
Simply execute "wine". The application should show the help screen.
If wine is not able to start and returns message "wine: failed to create the process heap", enter following command:
# echo 0 > /proc/sys/kernel/exec-shield
This will turn off the exec-shield to be able to run wine. Remember you need root access. After modifying exec-shield, the result will be:
# wine
Wine 20040408
Usage: wine [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)
Options:
--debugmsg name Turn debugging-messages on or off
--help,-h Show this help message
--version,-v Display the Wine version
#
Now it is also possible to run wine as non-root user. The needed directories (/home/[username]/.wine/..) will be created while executing wine the first time.
Hope this will help you ;)