wine安装之后打不开

Wine、Cedega、CrossOver 等配置
回复
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

wine安装之后打不开

#1

帖子 peishenfei2 » 2017-04-04 23:17

系统opensuse leap 42.2
在没有添加http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.2/这个源之前,
直接在yast中安装的wine,wine file ;winemine等都可以打开

然后参考http://phpcj.org/wineqq/打算装上wineqq
我略过了第一步,因为我已经装上了wine,但是发现qq并不能使用,

所以我卸载了wine ,sudo zypper rm wine
添加了http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.2/
之后sudo zypper in wine

发现不但qq打不开,而且wine file ;winemine等都打不开

打不开就是点击之后,任务栏会有个图标,过了一会就消失了,什么反应都没有了。

我一直怀疑,我用sudo zypper rm wine这样卸载软件不对,请问该怎么正确的卸载软件。
头像
lilydjwg
论坛版主
帖子: 4248
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: wine安装之后打不开

#2

帖子 lilydjwg » 2017-04-04 23:44

在终端里执行看报错。
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: wine安装之后打不开

#3

帖子 peishenfei2 » 2017-04-06 19:20

代码: 全选

sudo winefile
root's password:
wine: created the configuration directory '/root/.wine'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
err:ole:apartment_createwindowifneeded CreateWindow failed with error 183
err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7
err:ole:get_local_server_stream Failed: 800736b7
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x8b6440, init_notify 0, handle 0x119e1d0): stub
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x9386c0, init_notify 0, handle 0x116e7b4): stub
wine: configuration in '/root/.wine' has been updated.
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
pei@linux-7kc3:~> sudo winemine
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
求解答,谢谢
头像
lilydjwg
论坛版主
帖子: 4248
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: wine安装之后打不开

#4

帖子 lilydjwg » 2017-04-06 21:35

不要用 root 跑 wine。
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: wine安装之后打不开

#5

帖子 peishenfei2 » 2017-04-06 23:24

代码: 全选

pei@linux-7kc3:~> winefile
userdef.reg:4: Mismatched architecture '#arch=win64'
userdef.reg is not a valid registry file
user.reg is not a valid registry file
err:process:create_process 64-bit application L"C:\\windows\\system32\\wineboot.exe" not supported in 32-bit prefix
err:process:start_wineboot failed to start wineboot, err 193
err:process:create_process 64-bit application L"C:\\windows\\system32\\explorer.exe" not supported in 32-bit prefix
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow The explorer process failed to start.
pei@linux-7kc3:~> winemine
userdef.reg:4: Mismatched architecture '#arch=win64'
userdef.reg is not a valid registry file
user.reg is not a valid registry file
err:process:create_process 64-bit application L"C:\\windows\\system32\\wineboot.exe" not supported in 32-bit prefix
err:process:start_wineboot failed to start wineboot, err 193
err:process:create_process 64-bit application L"C:\\windows\\system32\\explorer.exe" not supported in 32-bit prefix
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow The explorer process failed to start.
头像
lilydjwg
论坛版主
帖子: 4248
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: wine安装之后打不开

#6

帖子 lilydjwg » 2017-04-07 11:14

你的 wineprefix 是64位的,但是你正在尝试运行的是32位的 wine 环境。
你可以删掉 wineprefix 重建。
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: wine安装之后打不开

#7

帖子 peishenfei2 » 2017-04-08 10:34

谢谢,删除主目录下的.wine确实可以打开了,
但是只要解压wineqq(wineqq会自动生成.wine,这样wine就打不开了,而且qq也打不开。。。)
我觉得是wineqq解压出来的.wine是32位的(64位的)和我按装得wine位数是不是不一样,这个怎么解决啊。

谢谢
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: wine安装之后打不开

#8

帖子 peishenfei2 » 2017-04-08 10:43

现在qq能运行了,,,可是中文全是乱码。。。

听说和系统语言有关,我的系统是opensuse,leap 42.2,语言都是英语。。
yinflying
帖子: 26
注册时间: 2015-06-01 23:48
系统: Ubuntu14.04

Re: wine安装之后打不开

#9

帖子 yinflying » 2017-04-08 11:32

peishenfei2 写了:现在qq能运行了,,,可是中文全是乱码。。。

听说和系统语言有关,我的系统是opensuse,leap 42.2,语言都是英语。。
乱码之解决方案:
1. env LANG=zh_CN.UTF-8 wine qq.exe
2. 安装Simsun等几个常用汉字字体。
头像
lilydjwg
论坛版主
帖子: 4248
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: wine安装之后打不开

#10

帖子 lilydjwg » 2017-04-08 12:15

peishenfei2 写了:谢谢,删除主目录下的.wine确实可以打开了,
但是只要解压wineqq(wineqq会自动生成.wine,这样wine就打不开了,而且qq也打不开。。。)
我觉得是wineqq解压出来的.wine是32位的(64位的)和我按装得wine位数是不是不一样,这个怎么解决啊。

谢谢
你的系统本身是64位的吗?如果是,你可以使用64位的 wine 来运行。是否需要安装额外的包我就不清楚了,因为我早已不用 Ubuntu 了。
设置 WINEARCH 环境变量为 win32 或者 win64 来指定 wine 环境的版本。

另外你可以换一个 wineqq,比如我这个QQ 轻聊版
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: wine安装之后打不开

#11

帖子 peishenfei2 » 2017-04-09 21:12

谢谢,已经可以了,
回复