大佬教程收集整理的这篇文章主要介绍了为什么要在 xorg 之前初始化flameshot 和dunst 服务?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用 home-manager
在 NixOS
中组织我的家庭配置,并安装了 flameshot
和 dunst
并启用了它们的服务。然而它们坏了......
flameshot
服务状态:
● flameshot.service - Flameshot screenshot tool
Loaded: loaded (/nix/store/4ai9rfk1ksvxgxnldfaslnz4arabv8m5-home-manager-files/.config/systemd/user/flameshot.service; enabled; vendor preset: enabled)
Active: Failed (Result: core-dump) since Wed 2021-04-21 16:18:09 -03; 1min 8s ago
Process: 85987 ExecStart=/nix/store/mgcd378dn2y1caa8zld28kb1lliqjpjr-flameshot-0.9.0/bin/flameshot (code=dumped,signal=ABRT)
Main PID: 85987 (code=dumped,signal=ABRT)
cpu: 80ms
Apr 21 16:18:08 mdsp systemd[1638]: flameshot.service: Main process exited,code=dumped,status=6/ABRT
Apr 21 16:18:08 mdsp systemd[1638]: flameshot.service: Failed with result 'core-dump'.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: scheduled restart job,restart counter is at 5.
Apr 21 16:18:09 mdsp systemd[1638]: Stopped Flameshot screenshot tool.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: Start request repeated too quickly.
Apr 21 16:18:09 mdsp systemd[1638]: flameshot.service: Failed with result 'core-dump'.
Apr 21 16:18:09 mdsp systemd[1638]: Failed to start Flameshot screenshot tool.
dunst
服务状态:
● dunst.service - Dunst notification daemon
Loaded: loaded (/nix/store/4ai9rfk1ksvxgxnldfaslnz4arabv8m5-home-manager-files/.config/systemd/user/dunst.service; linked; vendor preset: enabled)
Active: Failed (Result: exit-codE) since Wed 2021-04-21 16:19:56 -03; 20s ago
Process: 87851 ExecStart=/nix/store/gwl7q4bb8szfdciiy7s7hsg717nlcpgs-dunst-1.6.1/bin/dunst (code=exited,status=1/FAILURE)
Main PID: 87851 (code=exited,status=1/FAILURE)
cpu: 44ms
Apr 21 16:19:56 mdsp systemd[1638]: StarTing Dunst notification daemon...
Apr 21 16:19:56 mdsp dunst[87851]: CRITICAL: CAnnot open X11 display.
Apr 21 16:19:56 mdsp systemd[1638]: dunst.service: Main process exited,code=exited,status=1/FAILURE
Apr 21 16:19:56 mdsp systemd[1638]: dunst.service: Failed with result 'exit-code'.
Apr 21 16:19:56 mdsp systemd[1638]: Failed to start Dunst notification daemon.
这里我定义了 flameshot
:https://github.com/Mdsp9070/dotfiles/blob/77b64f46d84210f1fb0eb8ee1796d7334a4d9445/nixos/home/home.nix#L30
这里dunst
:https://github.com/Mdsp9070/dotfiles/blob/77b64f46d84210f1fb0eb8ee1796d7334a4d9445/nixos/home/dunst.nix
dunst
服务似乎在 xorg
之前初始化......而且我不知道为什么 flameshot
它正在遭受核心转储......
我没有登录并启动 xsession。首先我登录到一个基本的 tty
,然后我使用 startx
来执行 Xmonad
。
如果我将 flameshot
作为独立应用安装,我可以使用它!
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的为什么要在 xorg 之前初始化flameshot 和dunst 服务?全部内容,希望文章能够帮你解决为什么要在 xorg 之前初始化flameshot 和dunst 服务?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。