- Complete rewrite of bash RDP script in Python with tkinter GUI - Multi-monitor support with intelligent monitor selection - Encrypted credential storage using Fernet encryption - Connection profiles with advanced configuration options - Fixed authentication issues (STATUS_ACCOUNT_RESTRICTION) - Enhanced monitor detection and selection logic - Professional tabbed interface with General/Advanced/Performance tabs - Install script and documentation included
25 lines
759 B
Bash
Executable File
25 lines
759 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# RDP Client Launcher Script
|
|
# This script launches the Python RDP client with the correct virtual environment
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PYTHON_VENV="$SCRIPT_DIR/.venv/bin/python"
|
|
PYTHON_SCRIPT="$SCRIPT_DIR/rdp_client.py"
|
|
|
|
# Check if virtual environment exists
|
|
if [[ ! -f "$PYTHON_VENV" ]]; then
|
|
echo "Error: Python virtual environment not found at $PYTHON_VENV"
|
|
echo "Please run: python3 -m venv .venv && .venv/bin/pip install cryptography"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if the Python script exists
|
|
if [[ ! -f "$PYTHON_SCRIPT" ]]; then
|
|
echo "Error: RDP client script not found at $PYTHON_SCRIPT"
|
|
exit 1
|
|
fi
|
|
|
|
# Launch the RDP client
|
|
echo "Starting RDP Client..."
|
|
exec "$PYTHON_VENV" "$PYTHON_SCRIPT" "$@" |