您尚未登录。

#1 2018-08-23 23:16:52

shooter
会员
注册时间: 2016-08-02
帖子: 4

求助??请问xfce4-notifyd启动不了是怎么回事??

使用 systemctl start xfce4-notifyd 启动时提示:
Failed to start xfce4-notifyd.service: Unit xfce4-notifyd.service not found.

使用 systemctl --user start xfce4-notifyd 启动提示:
Job for xfce4-notifyd.service failed because the control process exited with error code.
See "systemctl --user status xfce4-notifyd.service" and "journalctl --user -xe" for details.

请问这是什么情况呀,之前好好的,突然的就这样了,导至系统经常卡死

离线

#2 2018-08-23 23:47:39

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

按提示 systemctl --user status xfce4-notifyd.service 看一下呗?

离线

#3 2018-08-24 23:31:18

shooter
会员
注册时间: 2016-08-02
帖子: 4

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

$ systemctl --user status xfce4-notifyd.service
● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-08-23 23:11:14 CST; 24h ago
  Process: 4547 ExecStart=/usr/lib/xfce4/notifyd/xfce4-notifyd (code=exited, status=1/FAILURE)
 Main PID: 4547 (code=exited, status=1/FAILURE)

8月 23 23:11:14 linux systemd[519]: Starting XFCE notifications service...
8月 23 23:11:14 linux xfce4-notifyd[4547]: Unable to init server: Could not connect: Connection refused
8月 23 23:11:14 linux xfce4-notifyd[4547]: cannot open display: 
8月 23 23:11:14 linux systemd[519]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
8月 23 23:11:14 linux systemd[519]: xfce4-notifyd.service: Failed with result 'exit-code'.
8月 23 23:11:14 linux systemd[519]: Failed to start XFCE notifications service.

提示这个

离线

#4 2018-08-24 23:48:55

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

你是用的什么奇怪的方式登录图形界面的么?

离线

#5 2018-08-25 00:40:51

shooter
会员
注册时间: 2016-08-02
帖子: 4

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

.xinitrc文件

export LANG=zh_CN.UTF-8
export LC_TYPE=zh_CN.UTF-8
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

[xfce4]
exec systemd-inhibit xfce4-session

离线

#6 2018-08-25 22:55:04

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

. xinitrc还允许写[xfce4]?
Xfce 4从xinit启动应该必须写startxfce4 wiki已经说得很明白了。
用systemd加会话锁可以不可以我没试过,但是至少应先尝试startxfce4而不是xfce4-session


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

#7 2018-08-28 23:08:40

felixonmars
Arch Linux Developer
所在地: Wuhan, Hubei, China
注册时间: 2011-08-21
帖子: 148
个人网站

Re: 求助??请问xfce4-notifyd启动不了是怎么回事??

另外你的 LC_CTYPE 写成了 LC_TYPE
#OT


Felix Yan
Twitter: @felixonmars
Web: http://felixc.at
tongue

离线

页脚