[root@vm ~]# su - test Last login: Tue Jul 23 08:47:39 CST 2019 on pts/0 [test@vm ~]$ vncserver
You will require a password to access your desktops.
Password: Verify: Would you like to enter a view-only password (y/n)? n A view-only password is not used xauth: file /home/test/.Xauthority does not exist
New 'vm:3 (test)' desktop is vm:3
Creating default startup script /home/test/.vnc/xstartup Creating default config /home/test/.vnc/config Starting applications specified in /home/test/.vnc/xstartup Log file is /home/test/.vnc/vm:3.log