You can use VMware Remote Console to access VNC servers, to view and control remote desktops from the command line.
To access a remote VNC desktop with VMware Remote Console, perform the following steps.
必要條件
- Install VMware Remote Console on your local system.
- Set up a VNC server on the desktop you want to control.
程序
- For Linux
- Open a terminal program and run the following command:
vmrc vnc://<server address>:<port>
- Open a terminal program and run the following command:
- For Windows
- Open a command shell or PowerShell window.
- Change the current directory to the VMware Remote Console installation directory.
- Open VMware Remote Console with the following command:
vmrc.exe vnc://<server address>:<port>
- For macOS
- Open a terminal and run the following command:
open -a "/Applications/VMware Remote Console.app" "vnc://<server address>:<port>"
- Open a terminal and run the following command:
- Input the VNC authentication password in the prompt dialog box, and click .
結果
VMware Remote Console connects to the specified VNC server.
備註:
- The VNC protocol does not provide for the confidentiality or integrity of a remote session. So, avoid using it over untrusted links. Recommended use is only over a trusted network such as a VPN or SSH tunnel.
- When connecting to VNC servers, the proxy configured for the remote VM connection is ignored. VMware Remote Console will try to connect to the provided VNC server address directly.
後續步驟
To transfer the mouse and keyboard input to the remote desktop, click the screen of the remote desktop in VMware Remote Console. To release the mouse and keyboard back to your local client, press for Windows and Linux, or for macOS.