Skip to content

tautek/py-freerdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-freerdp

Basic Python wrapper for FreeRDP

Tested under Python 3.4.

Currently seg faults on module exit. Need to debug.

sudo apt-get install -y python3.4-dev libfreerdp-client1.1 libfreerdp-gdi1.1
git clone https://github.com/tautek/py-freerdp
cd py-freerdp
git submodule update --init

# build locally
python3 setup.py build_ext --inplace

# install with pip
pip3 install --global-option=build_ext .
from freerdp import FreeRDP
import sys

def connected(client):
    print("Connected.")

c = FreeRDP("/v:MYMACHINE /cert-ignore /u:MYUSER /p:MYPASS /d:MYDOMAIN", connected)
print("Press ENTER to exit")
sys.stdin.readline()
print("Goodbye.")

About

Basic Python wrapper for FreeRDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published