I downloaded the RealVNC Viewer from https://www.realvnc.com/download/viewer/to access the remote Linux desktop, this version does not need to be installed, directly run on it. But when I visit the remote table, I have to enter the user name and password every time, very troublesome. Here's how to access Remote Desktop without entering a user name and password.
1. Run RealVNC Viewer, enter the user name and password to connect to the desktop of the remote Linux. As shown in the following:
2, point "right" top corner of the real vnc icon, will pop up a menu, select "Save Connection ...", will pop up a warning, click "Yes", select the file to save the path of the file.
3. Double-click the file name you just saved (the file takes vnc as the suffix name) and choose to open it with Vnc-viewer. You can then double-click the file so that you do not need to enter a user name, but you need to enter a password. If you want to not enter the password, you will need to use VNCPASSWD on the server where the vnc-server to add the password. The specific commands are as follows (performed on the Linux server where Vncserver is installed) and the corresponding results:
[Email protected] ~]# vncpasswd-virtual
Setting "Password" VNC parameter for Virtual Mode server
Password:
Verify:
Successfully set "Password" VNC parameter In/root/.vnc/config.d/xvnc
Please note the users of third party VNC Viewer projects'll be able to connect by
Entering the first 8 characters of this password only.
Note that it is best to enter the same password as the vnc-viewer password.
Then double-click on the saved file, you can not need to enter the user name and password to go in. This saved file is actually a text file that can be opened directly to see.
RealVNC Viewer 5.3.2 access to Remote Desktop without entering a user name and password