centos7 安装tigervnc打不开远程桌面

[root@localhost system]# systemctl start vncserver@:1.service
Job for vncserver@:1.service failed. See 'systemctl status vncserver@:1.service' and 'journalctl -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 14:57:34 CST; 37s ago
Process: 20842 ExecStart=/usr/bin/vncserver :1 -geometry 1280x1024 -depth 16 -securitytyp
es=none - fp /usr/share/X11/fonts/misc (code=exited, status=98)
Apr 23 14:57:34 localhost.localdomain vncserver[20842]: A VNC server is already running...1
Apr 23 14:57:34 localhost.localdomain systemd[1]: vncserver@:1.service: control proces...98
Apr 23 14:57:34 localhost.localdomain systemd[1]: Failed to start Remote desktop servi...).
Apr 23 14:57:34 localhost.localdomain systemd[1]: Unit vncserver@:1.service entered fa...e.
Hint: Some lines were ellipsized, use -l to show in full.

怎么解决

阅读 10.4k
1 个回答

在本地通过xshell连接上服务器,打开xshell,连接上你遇到问题的服务器
直接在命令行上输入vncserver.
就可以了,问题就解决了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进