Add Python RDP Client with multi-monitor support and enhanced features
- 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
This commit is contained in:
25
rdp_client.sh
Executable file
25
rdp_client.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/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" "$@"
|
||||
Reference in New Issue
Block a user