See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.

flink58 发布于 2017/03/16 10:18
阅读 2K+
收藏 0

 systemctl start vncserver@:1.service
Job for vncserver@:1.service failed because the control process exited with error code. See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.

 

加载中
0
flink58
flink58

journalctl -xe
-- 
-- Unit session-226.scope has begun starting up.
Mar 16 10:15:01 hadoop01 CROND[3756]: (root) CMD (/usr/sbin/ntpdate 192.168.1.40)
Mar 16 10:15:07 hadoop01 crond[654]: /usr/sbin/sendmail: error while loading shared libraries: libmysqlclien
Mar 16 10:15:07 hadoop01 CROND[3754]: (root) MAIL (mailed 84 bytes of output but got status 0x007f
                                      )
Mar 16 10:16:18 hadoop01 polkitd[635]: Registered Authentication Agent for unix-process:3760:5629257 (system
Mar 16 10:16:18 hadoop01 polkitd[635]: Unregistered Authentication Agent for unix-process:3760:5629257 (syst
Mar 16 10:16:51 hadoop01 polkitd[635]: Registered Authentication Agent for unix-process:3777:5632528 (system
Mar 16 10:16:51 hadoop01 polkitd[635]: Unregistered Authentication Agent for unix-process:3777:5632528 (syst
Mar 16 10:17:40 hadoop01 su[3813]: (to cloud) root on pts/2
Mar 16 10:17:41 hadoop01 su[3813]: pam_unix(su:session): session opened for user cloud by root(uid=0)
Mar 16 10:18:07 hadoop01 polkitd[635]: Registered Authentication Agent for unix-process:3858:5640127 (system
Mar 16 10:18:07 hadoop01 systemd[1]: Reloading.
Mar 16 10:18:07 hadoop01 polkitd[635]: Unregistered Authentication Agent for unix-process:3858:5640127 (syst
Mar 16 10:18:14 hadoop01 polkitd[635]: Registered Authentication Agent for unix-process:3900:5640836 (system
Mar 16 10:18:14 hadoop01 systemd[1]: Reloading.
Mar 16 10:18:14 hadoop01 polkitd[635]: Unregistered Authentication Agent for unix-process:3900:5640836 (syst
Mar 16 10:18:20 hadoop01 polkitd[635]: Registered Authentication Agent for unix-process:3920:5641518 (system
Mar 16 10:18:20 hadoop01 systemd[1]: Starting Remote desktop service (VNC)...
-- Subject: Unit vncserver@:1.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vncserver@:1.service has begun starting up.
Mar 16 10:18:21 hadoop01 runuser[3929]: runuser: user <USER> does not exist
Mar 16 10:18:21 hadoop01 systemd[1]: vncserver@:1.service: control process exited, code=exited status=1
Mar 16 10:18:21 hadoop01 systemd[1]: Failed to start Remote desktop service (VNC).
-- Subject: Unit vncserver@:1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vncserver@:1.service has failed.
-- 
-- The result is failed.
Mar 16 10:18:21 hadoop01 systemd[1]: Unit vncserver@:1.service entered failed state.
Mar 16 10:18:21 hadoop01 systemd[1]: vncserver@:1.service failed.
Mar 16 10:18:21 hadoop01 polkitd[635]: Unregistered Authentication Agent for unix-process:3920:5641518 (syst
lines 3543

0
SLoan_
SLoan_

找到答案了吗?同遇到,journalctl -xe 不是 -xn 更改Type=simple也无法启动 

0
SLoan_
SLoan_

引用来自“SLoan_”的评论

找到答案了吗?同遇到,journalctl -xe 不是 -xn 更改Type=simple也无法启动 

我的问题找到答案了,不关配置文件的问题,是因为我看其他教程上没写要设置vnc密码。。运行:vncpasswd新增密码后,重新启动解决我的问题。。

返回顶部
顶部