You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Neil Canham <ne...@vcommsolutions.com> on 2016/07/09 12:06:24 UTC

Unable to work with RDP using latest Guacamole code

Originally posted in user list, realised that was the wrong forum...

Having successfully installed and tested Guacamole 0.9.9 against a couple
of RDP connections, I've now tried to build the client and server (I want
to try out the desktop sharing functionality in the API). Build has gone
fine, then I had an issue with the FreeRDP libraries not being found (as
reported by running guacd directly in the console);

freerdp_load_library_symbol: failed to open
/usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so:
/usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so: cannot open shared object
file: No such file or directory

Solved by creating symbolic link as in this thread:
https://sourceforge.net/p/guacamole/discussion/1110834/thread/35f991bb/

ie: ln -s /usr/local/lib/freerdp/guac* /usr/lib/x86_64-linux-gnu/freerdp/

After that, the webapp looked as if it was connecting. Log shows:

guacd[684]: INFO: Creating new client for protocol "rdp"
guacd[684]: INFO: Connection ID is "$f45458f8-df00-42df-a751-c85623e9f159"
guacd[699]: DEBUG: Parameter "console" omitted. Using default value of 0.
guacd[699]: DEBUG: Parameter "console-audio" omitted. Using default value
of 0.
guacd[699]: DEBUG: Parameter "ignore-cert" omitted. Using default value of
0.
guacd[699]: DEBUG: Parameter "disable-auth" omitted. Using default value of
0.
guacd[699]: INFO: No security mode specified. Defaulting to RDP.
guacd[699]: DEBUG: User resolution is 1562x920 at 96 DPI
guacd[699]: DEBUG: Parameter "dpi" omitted. Using default value of 96.
guacd[699]: DEBUG: Using resolution of 1560x920 at 96 DPI
guacd[699]: DEBUG: Parameter "enable-wallpaper" omitted. Using default
value of 0.
guacd[699]: DEBUG: Parameter "enable-theming" omitted. Using default value
of 0.
guacd[699]: DEBUG: Parameter "enable-font-smoothing" omitted. Using default
value of 0.
guacd[699]: DEBUG: Parameter "enable-full-window-drag" omitted. Using
default value of 0.
guacd[699]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
default value of 0.
guacd[699]: DEBUG: Parameter "enable-menu-animations" omitted. Using
default value of 0.
guacd[699]: DEBUG: Parameter "color-depth" omitted. Using default value of
16.
guacd[699]: DEBUG: Parameter "disable-audio" omitted. Using default value
of 0.
guacd[699]: DEBUG: Parameter "enable-printing" omitted. Using default value
of 0.
guacd[699]: DEBUG: Parameter "enable-drive" omitted. Using default value of
0.
guacd[699]: DEBUG: Parameter "drive-path" omitted. Using default value of
"".
guacd[699]: DEBUG: Parameter "create-drive-path" omitted. Using default
value of 0.
guacd[699]: DEBUG: Parameter "recording-name" omitted. Using default value
of "recording".
guacd[699]: DEBUG: Parameter "create-recording-path" omitted. Using default
value of 0.
guacd[699]: INFO: Resize method: none
guacd[699]: INFO: User "@9795d9ab-d36e-44bd-b189-4252baec05b0" joined
connection "$f45458f8-df00-42df-a751-c85623e9f159" (1 users now present)
guacd[699]: INFO: Loading keymap "base"
guacd[699]: INFO: Loading keymap "en-us-qwerty"
connected to <IP-removed>:3389
guacd[699]: INFO: guacdr connected.
guacd[699]: INFO: guacsnd connected.
guacd[684]: INFO: Connection "$f45458f8-df00-42df-a751-c85623e9f159"
removed.

So the connection is formed, then removed. No reason given. Webapp never
showed the desktop but RDP connection was definitely made (I know that
because I kept a Windows RDP session connected one time and it was forcibly
closed when Guacamole connected).  Also worth nothing that VNC connections
work

So two things:

1. Is the symbolic link above required? Is it the right solution?
2. Any way I can find out more on why this isn't connecting?  Should I
expect RDP to work in the latest HEAD code (client and server)?

Cheers
Neil Canham

Re: Unable to work with RDP using latest Guacamole code

Posted by Neil Canham <ne...@vcommsolutions.com>.
Hi Mike
  I don't think there is anything wrong with the version of FreeRDP - I
also have the 0.9.9 tagged code in another folder, and if I swap to that
and make install, everything then works fine.  Swapping back to the head
code and building, I get the disconnect :(  Very strange

Neil

On 13 July 2016 at 23:56, Mike Jumper <mi...@guac-dev.org> wrote:

> On Sat, Jul 9, 2016 at 5:06 AM, Neil Canham <
> neil.canham@vcommsolutions.com>
> wrote:
>
> > Originally posted in user list, realised that was the wrong forum...
> >
> > Having successfully installed and tested Guacamole 0.9.9 against a couple
> > of RDP connections, I've now tried to build the client and server (I want
> > to try out the desktop sharing functionality in the API). Build has gone
> > fine, then I had an issue with the FreeRDP libraries not being found (as
> > reported by running guacd directly in the console);
> >
> > freerdp_load_library_symbol: failed to open
> > /usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so:
> > /usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so: cannot open shared object
> > file: No such file or directory
> >
> > Solved by creating symbolic link as in this thread:
> > https://sourceforge.net/p/guacamole/discussion/1110834/thread/35f991bb/
> >
> > ie: ln -s /usr/local/lib/freerdp/guac* /usr/lib/x86_64-linux-gnu/freerdp/
> >
> > After that, the webapp looked as if it was connecting. Log shows:
> >
> > guacd[684]: INFO: Creating new client for protocol "rdp"
> > guacd[684]: INFO: Connection ID is
> "$f45458f8-df00-42df-a751-c85623e9f159"
> > guacd[699]: DEBUG: Parameter "console" omitted. Using default value of 0.
> > guacd[699]: DEBUG: Parameter "console-audio" omitted. Using default value
> > of 0.
> > guacd[699]: DEBUG: Parameter "ignore-cert" omitted. Using default value
> of
> > 0.
> > guacd[699]: DEBUG: Parameter "disable-auth" omitted. Using default value
> of
> > 0.
> > guacd[699]: INFO: No security mode specified. Defaulting to RDP.
> > guacd[699]: DEBUG: User resolution is 1562x920 at 96 DPI
> > guacd[699]: DEBUG: Parameter "dpi" omitted. Using default value of 96.
> > guacd[699]: DEBUG: Using resolution of 1560x920 at 96 DPI
> > guacd[699]: DEBUG: Parameter "enable-wallpaper" omitted. Using default
> > value of 0.
> > guacd[699]: DEBUG: Parameter "enable-theming" omitted. Using default
> value
> > of 0.
> > guacd[699]: DEBUG: Parameter "enable-font-smoothing" omitted. Using
> default
> > value of 0.
> > guacd[699]: DEBUG: Parameter "enable-full-window-drag" omitted. Using
> > default value of 0.
> > guacd[699]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
> > default value of 0.
> > guacd[699]: DEBUG: Parameter "enable-menu-animations" omitted. Using
> > default value of 0.
> > guacd[699]: DEBUG: Parameter "color-depth" omitted. Using default value
> of
> > 16.
> > guacd[699]: DEBUG: Parameter "disable-audio" omitted. Using default value
> > of 0.
> > guacd[699]: DEBUG: Parameter "enable-printing" omitted. Using default
> value
> > of 0.
> > guacd[699]: DEBUG: Parameter "enable-drive" omitted. Using default value
> of
> > 0.
> > guacd[699]: DEBUG: Parameter "drive-path" omitted. Using default value of
> > "".
> > guacd[699]: DEBUG: Parameter "create-drive-path" omitted. Using default
> > value of 0.
> > guacd[699]: DEBUG: Parameter "recording-name" omitted. Using default
> value
> > of "recording".
> > guacd[699]: DEBUG: Parameter "create-recording-path" omitted. Using
> default
> > value of 0.
> > guacd[699]: INFO: Resize method: none
> > guacd[699]: INFO: User "@9795d9ab-d36e-44bd-b189-4252baec05b0" joined
> > connection "$f45458f8-df00-42df-a751-c85623e9f159" (1 users now present)
> > guacd[699]: INFO: Loading keymap "base"
> > guacd[699]: INFO: Loading keymap "en-us-qwerty"
> > connected to <IP-removed>:3389
> > guacd[699]: INFO: guacdr connected.
> > guacd[699]: INFO: guacsnd connected.
> > guacd[684]: INFO: Connection "$f45458f8-df00-42df-a751-c85623e9f159"
> > removed.
> >
> > So the connection is formed, then removed. No reason given. Webapp never
> > showed the desktop but RDP connection was definitely made (I know that
> > because I kept a Windows RDP session connected one time and it was
> forcibly
> > closed when Guacamole connected).  Also worth nothing that VNC
> connections
> > work
> >
> > So two things:
> >
> > 1. Is the symbolic link above required? Is it the right solution?
> >
>
> The symbolic links are required for providing sound, printing, etc. if the
> install location used by the build system does not match the install
> location used by FreeRDP or your distribution's packages for the same.
>
> Lacking those links, Guacamole will still work (the resulting errors
> encounted when loading the FreeRDP plugins are non-fatal), but they are
> required for the corresponding functionality to be enabled.
>
> 2. Any way I can find out more on why this isn't connecting?  Should I
> > expect RDP to work in the latest HEAD code (client and server)?
> >
> >
> Yes, you should definitely expect the latest code to work. While git master
> is definitely the "bleeding edge", it's rare that the edge is so bloody
> that it fails entirely.
>
> The Guacamole server I'm using right now to access my development
> environment uses the latest code, actually, so this definitely should be
> working.
>
> Is it possible that the version of FreeRDP you're using was upgraded after
> guacamole-server was built and installed, and thus the FreeRDP plugins are
> segfaulting due to ABI differences?
>
> Thanks,
>
> - Mike
>

Re: Unable to work with RDP using latest Guacamole code

Posted by Mike Jumper <mi...@guac-dev.org>.
On Sat, Jul 9, 2016 at 5:06 AM, Neil Canham <ne...@vcommsolutions.com>
wrote:

> Originally posted in user list, realised that was the wrong forum...
>
> Having successfully installed and tested Guacamole 0.9.9 against a couple
> of RDP connections, I've now tried to build the client and server (I want
> to try out the desktop sharing functionality in the API). Build has gone
> fine, then I had an issue with the FreeRDP libraries not being found (as
> reported by running guacd directly in the console);
>
> freerdp_load_library_symbol: failed to open
> /usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so:
> /usr/lib/x86_64-linux-gnu/freerdp/guacsnd.so: cannot open shared object
> file: No such file or directory
>
> Solved by creating symbolic link as in this thread:
> https://sourceforge.net/p/guacamole/discussion/1110834/thread/35f991bb/
>
> ie: ln -s /usr/local/lib/freerdp/guac* /usr/lib/x86_64-linux-gnu/freerdp/
>
> After that, the webapp looked as if it was connecting. Log shows:
>
> guacd[684]: INFO: Creating new client for protocol "rdp"
> guacd[684]: INFO: Connection ID is "$f45458f8-df00-42df-a751-c85623e9f159"
> guacd[699]: DEBUG: Parameter "console" omitted. Using default value of 0.
> guacd[699]: DEBUG: Parameter "console-audio" omitted. Using default value
> of 0.
> guacd[699]: DEBUG: Parameter "ignore-cert" omitted. Using default value of
> 0.
> guacd[699]: DEBUG: Parameter "disable-auth" omitted. Using default value of
> 0.
> guacd[699]: INFO: No security mode specified. Defaulting to RDP.
> guacd[699]: DEBUG: User resolution is 1562x920 at 96 DPI
> guacd[699]: DEBUG: Parameter "dpi" omitted. Using default value of 96.
> guacd[699]: DEBUG: Using resolution of 1560x920 at 96 DPI
> guacd[699]: DEBUG: Parameter "enable-wallpaper" omitted. Using default
> value of 0.
> guacd[699]: DEBUG: Parameter "enable-theming" omitted. Using default value
> of 0.
> guacd[699]: DEBUG: Parameter "enable-font-smoothing" omitted. Using default
> value of 0.
> guacd[699]: DEBUG: Parameter "enable-full-window-drag" omitted. Using
> default value of 0.
> guacd[699]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
> default value of 0.
> guacd[699]: DEBUG: Parameter "enable-menu-animations" omitted. Using
> default value of 0.
> guacd[699]: DEBUG: Parameter "color-depth" omitted. Using default value of
> 16.
> guacd[699]: DEBUG: Parameter "disable-audio" omitted. Using default value
> of 0.
> guacd[699]: DEBUG: Parameter "enable-printing" omitted. Using default value
> of 0.
> guacd[699]: DEBUG: Parameter "enable-drive" omitted. Using default value of
> 0.
> guacd[699]: DEBUG: Parameter "drive-path" omitted. Using default value of
> "".
> guacd[699]: DEBUG: Parameter "create-drive-path" omitted. Using default
> value of 0.
> guacd[699]: DEBUG: Parameter "recording-name" omitted. Using default value
> of "recording".
> guacd[699]: DEBUG: Parameter "create-recording-path" omitted. Using default
> value of 0.
> guacd[699]: INFO: Resize method: none
> guacd[699]: INFO: User "@9795d9ab-d36e-44bd-b189-4252baec05b0" joined
> connection "$f45458f8-df00-42df-a751-c85623e9f159" (1 users now present)
> guacd[699]: INFO: Loading keymap "base"
> guacd[699]: INFO: Loading keymap "en-us-qwerty"
> connected to <IP-removed>:3389
> guacd[699]: INFO: guacdr connected.
> guacd[699]: INFO: guacsnd connected.
> guacd[684]: INFO: Connection "$f45458f8-df00-42df-a751-c85623e9f159"
> removed.
>
> So the connection is formed, then removed. No reason given. Webapp never
> showed the desktop but RDP connection was definitely made (I know that
> because I kept a Windows RDP session connected one time and it was forcibly
> closed when Guacamole connected).  Also worth nothing that VNC connections
> work
>
> So two things:
>
> 1. Is the symbolic link above required? Is it the right solution?
>

The symbolic links are required for providing sound, printing, etc. if the
install location used by the build system does not match the install
location used by FreeRDP or your distribution's packages for the same.

Lacking those links, Guacamole will still work (the resulting errors
encounted when loading the FreeRDP plugins are non-fatal), but they are
required for the corresponding functionality to be enabled.

2. Any way I can find out more on why this isn't connecting?  Should I
> expect RDP to work in the latest HEAD code (client and server)?
>
>
Yes, you should definitely expect the latest code to work. While git master
is definitely the "bleeding edge", it's rare that the edge is so bloody
that it fails entirely.

The Guacamole server I'm using right now to access my development
environment uses the latest code, actually, so this definitely should be
working.

Is it possible that the version of FreeRDP you're using was upgraded after
guacamole-server was built and installed, and thus the FreeRDP plugins are
segfaulting due to ABI differences?

Thanks,

- Mike