centos7 安装tigervnc过程中遇到的问题

[root@localhost system]# systemctl daemon-reload
[root@localhost system]# systemctl enable vncserver@:1.service
[root@localhost system]# systemctl start vncserver@:1.service
Job for vncserver@:1.service failed. See ‘systemctl status vncserver@:1.service’ and ‘journ
alctl -xn’ for details.[root@localhost system]# systemctl status vncserver@:1.service
vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled)
Active: failed (Result: exit-code) since Thu 2015-04-23 16:04:58 CST; 14s ago
Process: 24764 ExecStart=/sbin/runuser -l root -c /usr/bin/vncserver :1 -geometry 1280x10
24 -depth 24 (code=exited, status=98) Process: 24760 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %1 > /dev/null 2>&1 || :
(code=exited, status=0/SUCCESS)
Apr 23 16:04:58 localhost.localdomain systemd[1]: vncserver@:1.service: control proces…98
Apr 23 16:04:58 localhost.localdomain systemd[1]: Failed to start Remote desktop servi…).
Apr 23 16:04:58 localhost.localdomain systemd[1]: Unit vncserver@:1.service entered fa…e.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost system]#

http://blog.csdn.net/denghua10/article/details/39107309

我按照上面的操作,执行到
systemctl start vncserver@:1.service
提示如下错误
Job for vncserver@:1.service failed. See 'systemctl status vncserver@:1.service' and 'journ
alctl -xn' for details.

把 vncserver@:1.service 中的 Type 參數設置為 simple
再執行 systemctl daemon-reload
再執行 systemctl start vncserver:1.service
即可解決

同问

执行
systemctl start vncserver@:1.service
提示
Job for vncserver@:1.service failed. See 'systemctl status vncserver@:1.service' and 'journ
alctl -xn' for details.

怎么解决呀?

以下是我的安裝步驟,供參考
http://blog.csdn.net/degrade/article/details/46683295