如题,不知何过用一般用户下wine不能运行了,但切换到root下可以正常运行。
在一般用户下提示如下,请高手帮下忙。
[user@localhost 桌面]$ winecfg
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
运行eweiqi:
[user@localhost 桌面]$ wine /home/user/wine-winc/Program\ Files/eweiqi/LiveBaduk.exe
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
wine: could not load L"C:\\Program Files\\eweiqi\\LiveBaduk.exe": Invalid address
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
已作如下尝试还是不能解决:
1:新安装软件: 用Wine Windows Emulator打开,没有反应。
2:删除~.wine后。重新运行winecfg,重新配置。问题依然。
[ 本帖最后由 makeinstall 于 2008-11-2 17:38 编辑 ]
makeinstall 于 2008-11-02 00:48:59发表:
yum remove wine 后 yum install wine* -y 重新配置wine后还是老问题!!!
切换为root也更改不了啊?不知应该如何更改呢?
[root@localhost 桌面]# sysctl -w vm.mmap_min_addr=0
bash: sysctl: command not found
[root@localhost 桌面]# gedit /etc/sysctl.conf
sysctl.conf和上面一样,没有vm.mmap_min_addr = 65536.
[ 本帖最后由 makeinstall 于 2008-11-2 17:45 编辑 ]
黑精灵 于 2008-11-01 22:50:03发表:
su 切换为root用户进行更改
还可以使用visudo把自己的用户名添加进去,就可以使用sudo了
makeinstall 于 2008-11-01 18:02:33发表:
感谢chiver
可是我用的fedora 9 ,sudo用不了啊?/sysctl.conf没有vm.mmap_min_addr = 65536 。
[user@localhost 桌面]$ sudo sysctl -w vm.mmap_min_addr=0
[sudo] password for user:
user is not in the sudoers file. This incident will be reported.
[user@localhost 桌面]$ sudo gedit /etc/sysctl.conf
[sudo] password for user:
user is not in the sudoers file. This incident will be reported.
[user@localhost 桌面]$ sysctl -w vm.mmap_min_addr=0
bash: sysctl: command not found
[user@localhost 桌面]$ gedit /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
chiver 于 2008-11-01 16:49:12发表:
终端输入 sudo sysctl -w vm.mmap_min_addr=0
然后 sudo gedit /etc/sysctl.conf
找到 vm.mmap_min_addr = 65536 替换为 vm.mmap_min_addr = 0