@Curtion,我的思路是
ExecStart=/path-to/myservice.sh
指向一个脚本,你可以自己在脚本里cd
到正确的WorkingDirectory
,加上正确的参数启动真正的程序。
使用exec ./xxx
启动程序没有额外开销,不会残留bash
进程。
老虎竟然在更新教程贴
~~~
WorkingDirectory
也比较重要
红米K30 Pro(变焦版)
我远程控制楼主的电脑后,尝试了多种方式都无法解决:
- 更换内核版本(从5.10换成到5.13),无效。
- 创建新用户,无效。(用户是从dde设置界面创建的。)
- 使用不同的wine版本,只要是wine 6都无法启动(无法完成wine前缀创建),包括软件源里的deepin-wine6。
但是我有以下发现:
- 系统自带的wine 4可以启动,创建wine前缀不会卡住。wine 5没有尝试。
- 上述在普通用户里创建wine前缀时会卡死的wine版本,用root权限可以启动,可以创建wine前缀。但是root权限无法完成DX11测试程序的安装,安装程序会报错退出。其他程序没有测试。
winehq-staging(来自winehq.org) 和 deepin-wine6 都会卡死::
创建一个新用户也不行,但是root权限却可以运行 winehq-staging:
@sumffuk,如果你没开防火墙,也没装360之类的安全软件,那么问题就很奇怪了。可能我得亲自看看。你可以加我QQ或者微信:
https://hu60.cn/q.php/bbs.topic.95988.html
deepin社区版,没有deepin-defender。刚才aptget安装了一个,防火墙没有打开。@老虎会游泳
@sumffuk,安全中心里面
deepin有这个吗 系统设置里没找见。@老虎会游泳
@sumffuk,你打开系统自带防火墙功能了吗,打开了的话关上试试。
/usr/lib/python3/dist-packages/gi/overrides/Gdk.py:461: Warning: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
initialized, argv = Gdk.init_check(sys.argv)
2021-11-16 13:23:01,322: MAME XML generation launched in the background, not returning anything this time
2021-11-16 13:23:01,322: Getting full game list from MAME...
2021-11-16 13:23:01,325: MAME isn't installed, can't retrieve systems list.
(lutris:5225): Gtk-WARNING **: 13:23:01.657: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name
2021-11-16 13:23:01,681: Running Lutris 0.5.7.2
2021-11-16 13:23:01,681: Using AMD
2021-11-16 13:23:01,681: Running Mesa driver 20.3.4 on AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.60-amd64-desktop, LLVM 11.0.1) (0x15d8)
2021-11-16 13:23:01,681: GPU: 1002:15D8 19E5:3E0D using amdgpu drivers
[2021-11-16 13:23:01.744] [MANGOHUD] [info] [config.cpp:114] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2021-11-16 13:23:01.744] [MANGOHUD] [info] [config.cpp:114] skipping config: '/home/jere/.config/MangoHud/python3.7.conf' [ not found ]
[2021-11-16 13:23:01.744] [MANGOHUD] [info] [config.cpp:119] parsing config: '/home/jere/.config/MangoHud/MangoHud.conf'
[2021-11-16 13:23:01.889] [MANGOHUD] [error] [cpu.cpp:559] Failed to initialize CPU power data
2021-11-16 13:23:02,004: Vulkan is supported
(lutris:5225): Gtk-WARNING **: 13:23:02.060: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name
2021-11-16 13:23:02,274: Connected to winegame.net as sumffuk
2021-11-16 13:23:02,628: MAME XML written
2021-11-16 13:24:32,074: Running Lutris 0.5.7.2
2021-11-16 13:24:32,074: Using AMD
2021-11-16 13:24:32,074: Running Mesa driver 20.3.4 on AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.60-amd64-desktop, LLVM 11.0.1) (0x15d8)
2021-11-16 13:24:32,074: GPU: 1002:15D8 19E5:3E0D using amdgpu drivers
[2021-11-16 13:24:32.090] [MANGOHUD] [info] [config.cpp:114] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2021-11-16 13:24:32.090] [MANGOHUD] [info] [config.cpp:114] skipping config: '/home/jere/.config/MangoHud/python3.7.conf' [ not found ]
[2021-11-16 13:24:32.090] [MANGOHUD] [info] [config.cpp:119] parsing config: '/home/jere/.config/MangoHud/MangoHud.conf'
[2021-11-16 13:24:32.238] [MANGOHUD] [error] [cpu.cpp:559] Failed to initialize CPU power data
2021-11-16 13:24:32,349: Vulkan is supported
2021-11-16 13:24:35,983: Downloading file 1 of 3
2021-11-16 13:24:48,013: Downloading file 2 of 3
2021-11-16 13:25:16,573: Downloading file 3 of 3
Running /usr/bin/bash -c bash "/home/jere/.cache/net.winegame.client/installer/wegame/wineinit/wineinit.sh" win64 5.7
Initial process has started with pid 5660
Game is considered started.
11/16 13:25:17 [#[1;32mNOTICE#[0m] Downloading 1 item(s)
11/16 13:25:17 [#[1;33mWARN#[0m] aria2c had to connect to the other side using an unknown TLS protocol. The integrity and confidentiality of the connection might be compromised.
Peer: file.winegame.net (240e:ff:a000:100:3::3fc:443)
11/16 13:25:17 [#[1;32mNOTICE#[0m] GID#e17b11f1e4268be3 - 下载已完成:/home/jere/.cache/wine/wine-mono-5.1.0-x86.msi
*** Download Progress Summary as of Tue Nov 16 13:25:18 2021 ***
===============================================================================
[#e17b11 80MiB/80MiB(100%) CN:0]
FILE: /home/jere/.cache/wine/wine-mono-5.1.0-x86.msi
-------------------------------------------------------------------------------
[#e17b11 80MiB/80MiB(100%) CN:0]
11/16 13:25:18 [#[1;32mNOTICE#[0m] 下载已完成:/home/jere/.cache/wine/wine-mono-5.1.0-x86.msi
下载结果:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
e17b11|OK | 0B/s|/home/jere/.cache/wine/wine-mono-5.1.0-x86.msi
状态标识:
(OK):下载已完成。
11/16 13:25:18 [#[1;32mNOTICE#[0m] Downloading 1 item(s)
11/16 13:25:18 [#[1;33mWARN#[0m] aria2c had to connect to the other side using an unknown TLS protocol. The integrity and confidentiality of the connection might be compromised.
Peer: file.winegame.net (240e:ff:a000:100:3::3fc:443)
11/16 13:25:18 [#[1;32mNOTICE#[0m] GID#5f33c3a2e085df3a - 下载已完成:/home/jere/.cache/wine/wine-gecko-2.47.1-x86.msi
*** Download Progress Summary as of Tue Nov 16 13:25:19 2021 ***
===============================================================================
[#5f33c3 48MiB/48MiB(100%) CN:0]
FILE: /home/jere/.cache/wine/wine-gecko-2.47.1-x86.msi
-------------------------------------------------------------------------------
[#5f33c3 48MiB/48MiB(100%) CN:0]
11/16 13:25:19 [#[1;32mNOTICE#[0m] 下载已完成:/home/jere/.cache/wine/wine-gecko-2.47.1-x86.msi
下载结果:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
5f33c3|OK | 0B/s|/home/jere/.cache/wine/wine-gecko-2.47.1-x86.msi
状态标识:
(OK):下载已完成。
11/16 13:25:19 [#[1;32mNOTICE#[0m] Downloading 1 item(s)
11/16 13:25:19 [#[1;33mWARN#[0m] aria2c had to connect to the other side using an unknown TLS protocol. The integrity and confidentiality of the connection might be compromised.
Peer: file.winegame.net (240e:ff:a000:100:3::3fc:443)
11/16 13:25:20 [#[1;32mNOTICE#[0m] GID#69a8378bf3bb5c76 - 下载已完成:/home/jere/.cache/wine/wine-gecko-2.47.1-x86_64.msi
*** Download Progress Summary as of Tue Nov 16 13:25:21 2021 ***
===============================================================================
[#69a837 49MiB/49MiB(100%) CN:0]
FILE: /home/jere/.cache/wine/wine-gecko-2.47.1-x86_64.msi
-------------------------------------------------------------------------------
[#69a837 49MiB/49MiB(100%) CN:0]
11/16 13:25:21 [#[1;32mNOTICE#[0m] 下载已完成:/home/jere/.cache/wine/wine-gecko-2.47.1-x86_64.msi
下载结果:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
69a837|OK | 0B/s|/home/jere/.cache/wine/wine-gecko-2.47.1-x86_64.msi
状态标识:
(OK):下载已完成。
11/16 13:25:21 [#[1;32mNOTICE#[0m] Downloading 1 item(s)
11/16 13:25:21 [#[1;33mWARN#[0m] aria2c had to connect to the other side using an unknown TLS protocol. The integrity and confidentiality of the connection might be compromised.
Peer: file.winegame.net (240e:ff:a000:100:3::3fc:443)
11/16 13:25:21 [#[1;32mNOTICE#[0m] GID#ca68bf47955c75e0 - 下载已完成:/home/jere/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz
*** Download Progress Summary as of Tue Nov 16 13:25:22 2021 ***
===============================================================================
[#ca68bf 8.5MiB/8.5MiB(100%) CN:0]
FILE: /home/jere/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz
-------------------------------------------------------------------------------
[#ca68bf 8.5MiB/8.5MiB(100%) CN:0]
11/16 13:25:22 [#[1;32mNOTICE#[0m] 下载已完成:/home/jere/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz
下载结果:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
ca68bf|OK | 0B/s|/home/jere/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz
状态标识:
(OK):下载已完成。
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0
2021-11-16 13:25:23,109: Creating a win64 prefix in /home/jere/Games/wegame
@老虎会游泳
停在create
@老子会游泳,不兼容。不过有专门的安卓wine,你可以搜一下。
@sumffuk,创建一个调试日志(wine.log)发给我。
https://hu60.cn/q.php/bbs.topic.96470.html
电子元件还是京东自营,最起码有售后保证。天猫不比拼夕夕强多少
本消息来自粉金版 爱欧博客
安卓可以吗
本消息来自粉金版 爱欧博客
,,@老虎会游泳,wine原来翻译成中文这个意思
坏孩子,其实你很好,但是还不够好
@乄杺,wine的意思是葡萄酒,game是游戏,游戏是用来玩的,所以就叫葡萄玩啦
为什么叫葡萄玩呢。。
坏孩子,其实你很好,但是还不够好
@罐子,型号就写着p1,慧荣主控