devqore / myrdp

Remote Desktop administration tool
GNU General Public License v2.0
19 stars 7 forks source link

No connection when NLA is enabled #1

Closed Zjemm closed 7 years ago

Zjemm commented 8 years ago

Hi,

I found that when the windows client has NLA enabled (default in windows 10) i cannot connect from myrdp. I first have to disable it on the windows client and then i'm able to connect

NLA support is needed :)

I really like this peace of software. Keep up the good work

Some extra idea's:

What would really make it cool:

Kind regards Zjemm

devqore commented 8 years ago

Hello Zjemm,

Thank you for creating issue ;) Some of extra ideas can be already done in conf/config.yaml. At this time, there is no any manual to do this file, because I'm planning to make possibility of changing configuration in GUI.

As default, in config.yaml, xfreerdp client is used and if you wish to enable NLA support, you should change in xfreerdp -> args "-sec-nla" to "+sec-nla".

To add some share, to your connections you can add to args for example: "/drive:home,/home".

To change colour depth you can add arg like this "/bpp:16".

All possible arguments to Freerdp you can find here https://github.com/FreeRDP/FreeRDP/wiki/CommandLineInterface, but you propably never should use /w,/h,/u,/v ;)

All changes in config.yaml are global, and at this time after some changes, application restart is required.

I agree with connection grouping idea, and I'm planning to add support for this in future.

Separate domain field is also good idea. I'm adding this position to my TODO list ;)

Support for SSH at this time is not planned, because my favourite way to use SSH is using terminator terminal :) But in the distant future who knows ;)

Best regards mj

Zjemm commented 8 years ago

Hi Mj,

Thanks for your explenation. the settings do work nicely

Do you have any idea when a new version wil come out?

As for the SSH idea, well if you do manage to get it in, this will be a master tool i can guarante :)

One thing i noticed is that the db file is created in the path where the application is started from. i started it at first from the myrdp folder, set up some connections, and later i started it from another location in attempt to make some sort of application launcher in gnome 3 and all the connections were gone. later i discovered it created a new empty file :P

devqore commented 8 years ago

Ok, I have committed changes to detect relative path for db file not by working directory ;) Thank you for report ;)

I don't have any idea when new version will come out, but I always tries to commit each improvement/bug fix only if is working ;) At this time git repository should be always stable.

Zjemm commented 8 years ago

Thnx,

I'll follow your project.

Zjemm commented 8 years ago

Hi, how's is the project going? still working on it?

found something when running the program in the backgroud: ./main.py & [2] 19514 [esd@workpc myrdp-master]$ DEBUG:Running command: xfreerdp /h:958 /parent-window:41943082 /p:secret /u:abc\esd /w:1169 /v:DESKTOP-BGRL47K.ionip.local +clipboard /cert-ignore +drives /kbd:0x00000415 -themes +compression /gdi:sw +auto-reconnect +sec-nla /bpp:16 /drive:share,/home/esd/Downloads /sound:sys:alsa

it keeps sending debug messages in my console.

devqore commented 8 years ago

Hi, at this time I'm working on some other home project, and I don't have a lot of time to work on myrdp. But in unspecified future I will back to do something in myrdp.

For changing logging settings I have created other issue #2 ;)

Tahvok commented 7 years ago

@szatanszmatan I tried it long time ago, and wanted to open issue now, but I see that's it been done already. Not specifying -sec-nla or +sec-nla at all, will make xfreerdp to automatically detect the security protocol. I've been using it like this for almost an year (by updating the conf/config.yaml file), and it's been working completely fine for me, for both nla only and non nla machines. Can you check on your side, and consider removing in the master as well?

devqore commented 7 years ago

I have checked on windows server 2008r2/2012r2/2016 (with enabled/disabled NLA in Remote Desktop settings), windows 10 and XP. Looks that xfreerdp (version 2.0.0-dev git 90877f5ac) works fine without option +/- sec-nla :) Change in config.yaml commited, @Tahvok thank you for info ;) Issue closed.