As we all know, Microsoft's Windows provides a remote Desktop system, the default port for this service is 3389, which allows users to log on remotely for system administration or run various applications as terminal servers.
To connect to Windows Remote Desktop, you need to install the appropriate software (tsclient) on the Windows client. If you are a Windows server administrator, you must have used this tool, because Remote Desktop can greatly facilitate the remote maintenance of the server by the system administrator. In a Linux system, you can also connect to Windows Remote Desktop with a free tool rdesktop.
Here's how you can connect to remote desktops using the Rdesktop tool on a Linux (CentOS) system.
1) Installing the Rdesktop tool
[email protected] ~]# yum-y install rdesktop |
2) Connect to Windows Remote Desktop
[email protected] ~]# rdesktop-a 192.168.1.96:33389-u Administrator |
PS: Here the Windows Remote Desktop port has been changed to Port 33389.
This makes it easy to implement Remote Desktop for accessing Windows on a Linux (CentOS) system.
The following is the detailed parameter description for rdesktop:
Rdesktop command is not followed by any parameters, will display the rdesktop help information; The syntax for rdesktop is: rdesktop [Options] server[:p ORT] Parameter parameter description -u user account (ID) used to log in to Remote Desktop -D Domain -S Shell -C Working Directory -p user password to log in to Remote Desktop -n Specifies the machine name of the client -K -G -F Full Screen display mode -B -L -A -B -E -E -M -C -D -K -S -T -N -X -A sets the screen color depth of the remote desktop, such as-a 16, indicating the use of 16-bit color -Z Enable RDP compression feature -X -P -0 -4 -5 |
Connecting Windows Remote Desktop via rdesktop under CentOS