Skip to content

amnudn/dst-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dst-login

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.

Installation

System requirements

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-x11

Development install

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

User install with pipx

To install globally without worrying about venv activation:

pipx install .

This makes dst-login available directly in your $PATH.

Usage

Run the command with your DST credentials:

dst-login IDENT PIN PROJECT

See help page for further options, i.e., run

dst-login --help

Development workflow

  • Change code under src/dst_login/
  • No reinstall needed (because of editable mode).
  • If you add or change dependencies, run:
pip install -e .

About

Automatic login to DST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages