LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 984|回复: 3

用cedega遇到的问题~

[复制链接]
发表于 2005-5-15 16:06:32 | 显示全部楼层 |阅读模式
今天没有什么事,想试试在ubuntu下玩魔兽是什么味道~
但是安装上之后,一运行就显示了下面的情况:

~#:/windows/hdb5/war3 # cedega war3.exe
/usr/lib/transgaming_cedega//winex/bin/wine: can't exec 'war3.exe': error=21
这是怎么回事呀~~


附上本人的xorg.conf部分内容:
。。。。。。。。。
Section "Device"
        Identifier        "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
        Driver                "nvidia"
        BusID                "CI:1:0:0"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                 "1024x768" "832x624" "800x600" "720x400" "640x480" "1x1"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
 楼主| 发表于 2005-5-15 18:27:02 | 显示全部楼层
用Linux不是为了玩游戏的,
但是玩linux的人大都是爱挑战难题的人,
遇到难题不解决是睡不着觉的,
偶自己再去试一下,
希望哪位玩过这个同志帮一下~谢谢~
回复 支持 反对

使用道具 举报

发表于 2005-5-15 18:44:09 | 显示全部楼层
error=21好象停常见的,搜索一下吧。
回复 支持 反对

使用道具 举报

发表于 2005-6-25 18:03:41 | 显示全部楼层
1. 编辑/etc/sysconfig/prelink文件
# vi /etc/sysconfig/prelink
PRELINKING=no # 这句原有yes的,改为no
PRELINKING=-no-exec-shield # 加上这句

2. 终端运行以后命令后重启:
# /usr/sbin/prelink -ua

3. 编辑/etc/sysctl.conf文件:
# vi /etc/sysctl.conf
添加以下三行:
kernel.exec-shield = 0
kernel.exec-shield-randomize= 0
vm.legacy_va_layout = 1

4. 在终端运行以下命令:
# echo 0 > /proc/sys/kernel/exec-shield
# echo 0 > /proc/sys/kernel/exec-shield-randomize
# echo 1 > /proc/sys/vm/legacy_va_layout
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表