Discussion:
[Freerdp-devel] Need Help - Error: HYBRID_REQUIRED_BY_SERVER
Vishal K. Gandhi
2012-09-28 15:09:08 UTC
Permalink
Hi,

We recently enabled NLA on one of our Windows 2008 R2 servers and I am
not able to use xfreerdp to access this machine remotely from Fedora 16.
xfreerdp works fine for all other windows machines where NLA is not
enabled yet.
I tried to Remote Desktop this machine from one of the local Windows 7
machine which worked fine.
Please, see following is the output of of my command execution.

[***@localhost ~]# xfreerdp -d domain -u username servername
xkbLayout: us xkbVariant:
xkbLayout: us xkbVariant:
find_keyboard_layout_in_xorg_rules: 409
detect_keyboard_layout_from_locale: 409
Using US (0x00000409)
Loading keymap evdev
xkbfilepath: /usr/share/freerdp/keymaps/evdev
Loading keymap aliases(qwerty)
xkbfilepath: /usr/share/freerdp/keymaps/aliases
kbd_init: detect_and_load_keyboard returned 1033
freerdp_kbd_init: 409
starting thread 0 to server_ip:3389
main thread, waiting for all threads to exit
freerdp_chanman_pre_connect:
keyboard_layout: 409
connecting to server_ip:3389
Error: HYBRID_REQUIRED_BY_SERVER
connecting to server_ip:3389
ui_error: ERROR: Connection closed
run_xfreerdp: inst->rdp_connect failed
main thread, all threads did exit


I actually found the same question on several posts and found different
answers as well such as using switch --sec nla or --sec tls etc.
But, none of those worked. I got errors saying "--sec is an invalid
option".
Same way, I tried "--ignore-certificate" with the hope that will change
error atleast , but gave me same error "--ignore-certificate is an
invalid option".

Any ideas? Suggestion?
What could be reason for me getting this error on Fedora 16 with
xfreerdp and not getting it on Windows 7 Remote Desktop (with support NLA)?

-- Vishal Gandhi --
Systems Analyst/E-Mail Specialist
Fairleigh Dickinson University
John Eke
2012-09-29 01:03:00 UTC
Permalink
Hi all,

I was wondering if anyone else was experiencing rdpsnd playback cutting
out? The playback seems somewhat choppy. Almost like it plays the actual
audio for a second, then plays silence for a second and it continues
that way

I ran

./xfreerdp -u user --plugin rdpsnd 192.168.xxx.xxx

The system I tested on was a Ubuntu system

Linux hostname 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:56:09 UTC
2012 x86_64 GNU/Linux

Thanks

- John E
Vishal K. Gandhi
2012-10-01 15:34:34 UTC
Permalink
Hi,

I am posting the following question again with the hope that someone
might be able to help me with this.
Thanks in advance.

Hi,

We recently enabled NLA on one of our Windows 2008 R2 servers and I am
not able to use xfreerdp to access this machine remotely from Fedora 16.
xfreerdp works fine for all other windows machines where NLA is not
enabled yet.
I tried to Remote Desktop this machine from one of the local Windows 7
machine which worked fine.
Please, see following is the output of of my command execution.

[***@localhost ~]# xfreerdp -d domain -u username servername
xkbLayout: us xkbVariant:
xkbLayout: us xkbVariant:
find_keyboard_layout_in_xorg_rules: 409
detect_keyboard_layout_from_locale: 409
Using US (0x00000409)
Loading keymap evdev
xkbfilepath: /usr/share/freerdp/keymaps/evdev
Loading keymap aliases(qwerty)
xkbfilepath: /usr/share/freerdp/keymaps/aliases
kbd_init: detect_and_load_keyboard returned 1033
freerdp_kbd_init: 409
starting thread 0 to server_ip:3389
main thread, waiting for all threads to exit
freerdp_chanman_pre_connect:
keyboard_layout: 409
connecting to server_ip:3389
Error: HYBRID_REQUIRED_BY_SERVER
connecting to server_ip:3389
ui_error: ERROR: Connection closed
run_xfreerdp: inst->rdp_connect failed
main thread, all threads did exit


I actually found the same question on several posts and found different
answers as well such as using switch --sec nla or --sec tls etc.
But, none of those worked. I got errors saying "--sec is an invalid
option".
Same way, I tried "--ignore-certificate" with the hope that will change
error atleast , but gave me same error "--ignore-certificate is an
invalid option".

Any ideas? Suggestion?
What could be reason for me getting this error on Fedora 16 with
xfreerdp and not getting it on Windows 7 Remote Desktop (with support NLA)?

-- Vishal Gandhi --
Systems Analyst/E-Mail Specialist
Fairleigh Dickinson University
Cook, Jason
2012-10-01 18:21:21 UTC
Permalink
Try changing the order of your command line parameters. The following has always worked for me:

xfreerdp -u username hostname.domain.tld

(then wait for the password prompt)

The FQDN should always be last, otherwise the other options do not get parsed correctly. NLA is enabled by default. There is normally no need to specify the --sec option.

--Jason
________________________________________
From: Vishal K. Gandhi [***@fdu.edu]
Sent: Monday, October 01, 2012 08:34 AM
To: freerdp-***@lists.sourceforge.net
Subject: [Freerdp-devel] Need Help - Error: HYBRID_REQUIRED_BY_SERVER

Hi,

I am posting the following question again with the hope that someone
might be able to help me with this.
Thanks in advance.

Hi,

We recently enabled NLA on one of our Windows 2008 R2 servers and I am
not able to use xfreerdp to access this machine remotely from Fedora 16.
xfreerdp works fine for all other windows machines where NLA is not
enabled yet.
I tried to Remote Desktop this machine from one of the local Windows 7
machine which worked fine.
Please, see following is the output of of my command execution.

[***@localhost ~]# xfreerdp -d domain -u username servername
xkbLayout: us xkbVariant:
xkbLayout: us xkbVariant:
find_keyboard_layout_in_xorg_rules: 409
detect_keyboard_layout_from_locale: 409
Using US (0x00000409)
Loading keymap evdev
xkbfilepath: /usr/share/freerdp/keymaps/evdev
Loading keymap aliases(qwerty)
xkbfilepath: /usr/share/freerdp/keymaps/aliases
kbd_init: detect_and_load_keyboard returned 1033
freerdp_kbd_init: 409
starting thread 0 to server_ip:3389
main thread, waiting for all threads to exit
freerdp_chanman_pre_connect:
keyboard_layout: 409
connecting to server_ip:3389
Error: HYBRID_REQUIRED_BY_SERVER
connecting to server_ip:3389
ui_error: ERROR: Connection closed
run_xfreerdp: inst->rdp_connect failed
main thread, all threads did exit


I actually found the same question on several posts and found different
answers as well such as using switch --sec nla or --sec tls etc.
But, none of those worked. I got errors saying "--sec is an invalid
option".
Same way, I tried "--ignore-certificate" with the hope that will change
error atleast , but gave me same error "--ignore-certificate is an
invalid option".

Any ideas? Suggestion?
What could be reason for me getting this error on Fedora 16 with
xfreerdp and not getting it on Windows 7 Remote Desktop (with support NLA)?

-- Vishal Gandhi --
Systems Analyst/E-Mail Specialist
Fairleigh Dickinson University
Vishal K. Gandhi
2012-10-03 17:24:13 UTC
Permalink
Hi Jason,

Thanks for the reply. I tried exactly the same command that you
mentioned, but I got error with name look up as hostname.domain.fdu.edu
not found.
This I think is name resolution problem.
I actually then tried "xfreerdp -u username ipaddress" directly, but it
gave me same error "Error: HYBRID_REQUIRED_BH_SERVER".

One more observation of mine is when I tried "xfreerdp -u username
ipaddress" from one of my peer's windows 7 machine, I saw username and
password prompt.
Providing the credentials username: domain\username and password, it
worked absolutely fine.

I asked around and found out that MAC users are also able to Remote
Desktop to the machine.

What do you think could be the problem with my Fedora 16 machine?

On 10/01/2012 02:21 PM, Cook, Jason wrote:
> Try changing the order of your command line parameters. The following has always worked for me:
>
> xfreerdp -u username hostname.domain.tld
>
> (then wait for the password prompt)
>
> The FQDN should always be last, otherwise the other options do not get parsed correctly. NLA is enabled by default. There is normally no need to specify the --sec option.
>
> --Jason
> ________________________________________
> From: Vishal K. Gandhi [***@fdu.edu]
> Sent: Monday, October 01, 2012 08:34 AM
> To: freerdp-***@lists.sourceforge.net
> Subject: [Freerdp-devel] Need Help - Error: HYBRID_REQUIRED_BY_SERVER
>
> Hi,
>
> I am posting the following question again with the hope that someone
> might be able to help me with this.
> Thanks in advance.
>
> Hi,
>
> We recently enabled NLA on one of our Windows 2008 R2 servers and I am
> not able to use xfreerdp to access this machine remotely from Fedora 16.
> xfreerdp works fine for all other windows machines where NLA is not
> enabled yet.
> I tried to Remote Desktop this machine from one of the local Windows 7
> machine which worked fine.
> Please, see following is the output of of my command execution.
>
> [***@localhost ~]# xfreerdp -d domain -u username servername
> xkbLayout: us xkbVariant:
> xkbLayout: us xkbVariant:
> find_keyboard_layout_in_xorg_rules: 409
> detect_keyboard_layout_from_locale: 409
> Using US (0x00000409)
> Loading keymap evdev
> xkbfilepath: /usr/share/freerdp/keymaps/evdev
> Loading keymap aliases(qwerty)
> xkbfilepath: /usr/share/freerdp/keymaps/aliases
> kbd_init: detect_and_load_keyboard returned 1033
> freerdp_kbd_init: 409
> starting thread 0 to server_ip:3389
> main thread, waiting for all threads to exit
> freerdp_chanman_pre_connect:
> keyboard_layout: 409
> connecting to server_ip:3389
> Error: HYBRID_REQUIRED_BY_SERVER
> connecting to server_ip:3389
> ui_error: ERROR: Connection closed
> run_xfreerdp: inst->rdp_connect failed
> main thread, all threads did exit
>
>
> I actually found the same question on several posts and found different
> answers as well such as using switch --sec nla or --sec tls etc.
> But, none of those worked. I got errors saying "--sec is an invalid
> option".
> Same way, I tried "--ignore-certificate" with the hope that will change
> error atleast , but gave me same error "--ignore-certificate is an
> invalid option".
>
> Any ideas? Suggestion?
> What could be reason for me getting this error on Fedora 16 with
> xfreerdp and not getting it on Windows 7 Remote Desktop (with support NLA)?
>
> -- Vishal Gandhi --
> Systems Analyst/E-Mail Specialist
> Fairleigh Dickinson University
>
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
>
Kevin Dalley
2012-10-05 18:12:20 UTC
Permalink
Have you tried these options:

--no-nla --ignore-certificate

The --sec lets you choose the security protocol.

Hybrid is related to CredSSP
http://msdn.microsoft.com/en-us/library/cc240806%28v=prot.10%29.aspx

----- Original Message -----
From: "Jason Cook" <***@wesd.org>
To: "Vishal K. Gandhi" <***@fdu.edu>, freerdp-***@lists.sourceforge.net
Sent: Monday, October 1, 2012 11:21:21 AM
Subject: Re: [Freerdp-devel] Need Help - Error: HYBRID_REQUIRED_BY_SERVER

Try changing the order of your command line parameters. The following has always worked for me:

xfreerdp -u username hostname.domain.tld

(then wait for the password prompt)

The FQDN should always be last, otherwise the other options do not get parsed correctly. NLA is enabled by default. There is normally no need to specify the --sec option.

--Jason
________________________________________
From: Vishal K. Gandhi [***@fdu.edu]
Sent: Monday, October 01, 2012 08:34 AM
To: freerdp-***@lists.sourceforge.net
Subject: [Freerdp-devel] Need Help - Error: HYBRID_REQUIRED_BY_SERVER

Hi,

I am posting the following question again with the hope that someone
might be able to help me with this.
Thanks in advance.

Hi,

We recently enabled NLA on one of our Windows 2008 R2 servers and I am
not able to use xfreerdp to access this machine remotely from Fedora 16.
xfreerdp works fine for all other windows machines where NLA is not
enabled yet.
I tried to Remote Desktop this machine from one of the local Windows 7
machine which worked fine.
Please, see following is the output of of my command execution.

[***@localhost ~]# xfreerdp -d domain -u username servername
xkbLayout: us xkbVariant:
xkbLayout: us xkbVariant:
find_keyboard_layout_in_xorg_rules: 409
detect_keyboard_layout_from_locale: 409
Using US (0x00000409)
Loading keymap evdev
xkbfilepath: /usr/share/freerdp/keymaps/evdev
Loading keymap aliases(qwerty)
xkbfilepath: /usr/share/freerdp/keymaps/aliases
kbd_init: detect_and_load_keyboard returned 1033
freerdp_kbd_init: 409
starting thread 0 to server_ip:3389
main thread, waiting for all threads to exit
freerdp_chanman_pre_connect:
keyboard_layout: 409
connecting to server_ip:3389
Error: HYBRID_REQUIRED_BY_SERVER
connecting to server_ip:3389
ui_error: ERROR: Connection closed
run_xfreerdp: inst->rdp_connect failed
main thread, all threads did exit


I actually found the same question on several posts and found different
answers as well such as using switch --sec nla or --sec tls etc.
But, none of those worked. I got errors saying "--sec is an invalid
option".
Same way, I tried "--ignore-certificate" with the hope that will change
error atleast , but gave me same error "--ignore-certificate is an
invalid option".

Any ideas? Suggestion?
What could be reason for me getting this error on Fedora 16 with
xfreerdp and not getting it on Windows 7 Remote Desktop (with support NLA)?

-- Vishal Gandhi --
Systems Analyst/E-Mail Specialist
Fairleigh Dickinson University



------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Freerdp-devel mailing list
Freerdp-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel
Loading...