页次: 1
使用 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.
请问这是什么情况呀,之前好好的,突然的就这样了,导至系统经常卡死
离线
按提示 systemctl --user status xfce4-notifyd.service 看一下呗?
离线
$ 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.
提示这个
离线
你是用的什么奇怪的方式登录图形界面的么?
离线
.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
离线
. xinitrc还允许写[xfce4]?
Xfce 4从xinit启动应该必须写startxfce4 wiki已经说得很明白了。
用systemd加会话锁可以不可以我没试过,但是至少应先尝试startxfce4而不是xfce4-session
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
另外你的 LC_CTYPE 写成了 LC_TYPE
#OT
Felix Yan
Twitter: @felixonmars
Web: http://felixc.at
离线
页次: 1