Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when starting RDP client on os x 10.9 #20

Closed
viktor-evdokimov opened this issue Mar 13, 2015 · 4 comments
Closed

Exception when starting RDP client on os x 10.9 #20

viktor-evdokimov opened this issue Mar 13, 2015 · 4 comments

Comments

@viktor-evdokimov
Copy link
Contributor

Followed installation instructions.

on

 rdpy-rdpclient.py server-name

Rdp window opens and I have a popup with this text:

 Lost connection : [Failure instance: Traceback (failure with no frames): 
 <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly. ]

And here is what I have in terminal:

INFO : failed to auto detect keyboard layout [Errno 2] No such file or directory
INFO : keyboard layout set to en
INFO : *******************************************
INFO : *          NLA Security selected          *
INFO : *******************************************
^[[A2015-03-13 11:48:59.010 Python[52516:d07] modalSession has been exited 
prematurely - check for a reentrant call to endModalSession:

pyqt installed via homebrew (brew install qt sip pyqt)

I did not expected it to work on os x 10.9 as you don't mentioned os x at all, but it was worth checking out. If it would've work for me, that going to be my replacement for CoRD as I cannot make changes to that, and contributing to python source code is actually an option.

Thank you for this project!

@viktor-evdokimov
Copy link
Contributor Author

In case I provide all parameters

  rdpy-rdpclient.py -u **** -d **** -p **** -r log.txt server-ip

It worked on os x 10.9

screen shot 2015-03-13 at 12 04 07 pm

@citronneur
Copy link
Owner

Hello,
Try to precise domain username and password.
This is a bug because NLA want credentials to work. i need to add something to precise security layer in client.

in rdpy-rdpclient.py change line 118 self._security = rdp.SecurityLevel.RDP_LEVEL_NLA -> self._security = rdp.SecurityLevel.RDP_LEVEL_SSL

I will fixed it in next hotfix.

Sylvain

@citronneur
Copy link
Owner

thanks!

@viktor-evdokimov
Copy link
Contributor Author

Thanks. What is interesting, RDP clients opens and i it works fine so far, but i still has the same popup with error in the background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants