I have been working on this with TransGaming and thought I would duplicate the pertinent information from this
From a Trangaming thread here for everyone's reference.
I have gotten Cedega 4.0.1 RPMs working on:
Fedora Core 2 Linux 2.6.8-1.521smp with X.org 6.7.0-5
NVidia GeForce 4 MX 440 with 1.0-6106 driver and GLX
Cedega 4.0.1 RPM
Steps to get Cedega working:
DISCLAIMER: Use these steps at your own risk. You break it, you own both halves. These steps are what worked for me, your mileage may vary. Do not execute these steps unless you are SURE you understand WHAT they mean and WHY you are doing it. Backup your configuration files first and have a mediachecked rescue CD handy if you choose to attempt this.
1. Disable Prelinking after reboot
# vi /etc/sysconfig/prelink
PRELINKING=no
PRELINKING=-no-exec-shield
2. Unlink all prelinked files on running system
# /usr/sbin/prelink -ua
3. Disable Exec-Shield after reboot:
# vi /etc/sysctl.conf
kernel.exec-shield = 0
kernel.exec-shield-randomize= 0
vm.legacy_va_layout = 1
4. Disable Exec-Shield in running kernel
# echo 0 > /proc/sys/kernel/exec-shield
# echo 0 > /proc/sys/kernel/exec-shield-randomize
# echo 1 > /proc/sys/vm/legacy_va_layout
To get SL installed, I had to follow another poster's advice here to use Wine (rather than WineX/Cedega) to install SL to the virtual C drive, then try running SL newview.exe with Cedega.
So far, the steps above have resolved 2 seperate problems:
1. error=21 whenever you try to run anything with Cedega on FC2.
2. security-enabled kernel error when the legacy_va_layout was not enabled on the new 2.6.8 kernel for FC2.
Currently all I get is a switch to an all-black fullscreen mode and the mouse cursor. I may try the custom Cedega compile mentioned in the Linux bugs thread to resolve this, or find a way to run in windowed mode.
At least I am much closer to SL on Linux...
