This project contains an interactive Bash script that allows you to establish an RDP (Remote Desktop Protocol) connection from a Linux machine using the xfreerdp
command.
- Prompts for the computer name or IP address of the server.
- Allows entering a domain (can be left blank if not applicable).
- Prompts for the username for the RDP connection.
- Executes the
xfreerdp
command with the provided parameters.
-
Linux
-
xfreerdp
installed on your machine. You can install it with the following command:sudo apt-get install freerdp2-x11
- Clone this repository to your machine:
git clone https://github.com/your-username/repo-name.git
- Navigate to the project directory:
cd repo-name
- Grant execution rights to the script:
chmod +x rdp_connect.sh
- Run the script:
./rdp_connect.sh
-
Enter the computer name or IP address of the RDP server.
-
(Optional) Enter the domain. Press Enter if you are not using a domain.
-
Enter the username.
-
The RDP connection will be automatically initiated.
Here is an example of a command that could be generated by the script based on the provided information:
xfreerdp /v:192.168.1.100 /d:my_domain /u:my_username
- Chac93 - Your GitHub Profile
This project is licensed under the MIT License - see the LICENSE file for details.