According to the tutorial, I use the root for the following steps
1 download yum install tigervnc - server
2 copies of the cp/lib/systemd/system/vncserver @. Service/etc/systemd/system/vncserver @ : 1. The service
3 to 2 in a user with root (% I have to say to want to convert into 1 online, but at the bottom of the change and don't change will meet problem), change the forking to simple, save out
4 overloading systemctl daemon - reload
5 a password vncpasswd
6 open service systemctl start vncserver @ : 1. The service
7 set boot from rev systemctl enable vncserver @ : 1. The service
The question to
1 I use systemctl status vncserver @ : 1. The service query, return is as follows:
(vncserver @ : 1. The service - Remote desktop service (VNC)
The Loaded: the Loaded (/etc/systemd/system/vncserver @ : 1. The service; Enabled. Vendor preset: disabled)
Active: failed (Result: exit - code) since Fri 2020-03-27 10:48:43 CST; 12 min line
Process: ExecStop=/bin/sh - 3729 c/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : (code=exited, status=0/SUCCESS)
Process: 3722 ExecStart=/usr/sbin/runuser - l & lt; Root> I - c/usr/bin/vncserver % (code=exited, status=1/FAILURE)
Process: ExecStartPre=/bin/sh - 3719 c/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : (code=exited, status=0/SUCCESS)
The Main PID: 3722 (code=exited, status=1/FAILURE)
Mar 27 10:48:43 oracle systemd [1] : Starting Remote desktop service (VNC)...
Mar 27 10:48:43 oracle systemd [1] : Started Remote desktop service (VNC).
Mar 27 10:48:43 oracle runuser [3722] : runuser: user & lt; Root> Does not exist
Mar 27 10:48:43 oracle systemd [1] : vncserver @ : 1. The service: the main process exite... RE
Mar 27 10:48:43 oracle systemd [1] : Unit vncserver @ : 1. The service rose failed... E.
Mar 27 10:48:43 oracle systemd [1] : vncserver @ : 1. The service failed.
Hint: Some lines were ellipsized, use the -l to show in full.
)
2 sometimes can even sometimes even no hint on 10061
Method is used in a lot of online include removing/TMP, etc., it doesn't work to help thank you very much!!!!!!!!!!
CodePudding user response:
Well at the moment my mood why very tangled,,, I found the reason or the old negligence ah