Automated login and RDP launcher for DST using Selenium.
This script logs into the DST remote portal, downloads the RDP
launcher, and optionally starts xfreerdp with the correct arguments.
Before installing, make sure you have:
- A Chromium-based browser (e.g.
chromium-browser) xfreerdp
On Ubuntu/Debian you can install them with:
sudo apt update
sudo apt install chromium-browser freerdp2-x11Clone the repository and install in editable mode:
git clone https://github.com/amnudn/dst-login.git
cd dst-login
python3 -m venv venv
source venv/bin/activate
pip install -e .To install globally without worrying about venv activation:
pipx install .This makes dst-login available directly in your $PATH.
Run the command with your DST credentials:
dst-login IDENT PIN PROJECTSee help page for further options, i.e., run
dst-login --help- Change code under
src/dst_login/ - No reinstall needed (because of editable mode).
- If you add or change dependencies, run:
pip install -e .