Skip to content

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.

Notifications You must be signed in to change notification settings

Chac93/RDP-Connection-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Interactive RDP Connection Script

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.

Features

  • 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.

Prerequisites

  • Linux

  • xfreerdp installed on your machine. You can install it with the following command:

    sudo apt-get install freerdp2-x11

    Installation

  1. Clone this repository to your machine:

git clone https://github.com/your-username/repo-name.git

  1. Navigate to the project directory:

cd repo-name

  1. Grant execution rights to the script:

chmod +x rdp_connect.sh

Usage

  1. Run the script:

./rdp_connect.sh

  1. Enter the computer name or IP address of the RDP server.

  2. (Optional) Enter the domain. Press Enter if you are not using a domain.

  3. Enter the username.

  4. The RDP connection will be automatically initiated.

Example of Generated Command

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

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages