You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by blee <br...@gmail.com> on 2021/12/20 01:59:11 UTC

Remote Desktop Gateway Configuration

I have a 2019 Remote Desktop Gateway and Broker on the same server and am
attempting to configure Guacamole (1.3) to connect to a Session Host via
the Gateway/Broker.  Assume my Gateway/Broker IP is 192.168.1.1 and I can
connect to the traditional Gateway via https://192.168.1.1/RDWeb, and the
line in my RDP file for the load-balance-info parameter is

loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.Test_RDP

After reading the manual, I believe I entered in all of the information
correctly in my configuration file, but I am still not able to connect with
one of the lines in my error log being:

guacd[28097]: INFO:     RDP server closed/refused connection: Upstream
error.

Can I get some guidance on what fields need to be entered as well as the
values to enable connecting through the Broker?  For example, what part of
the string should I use for the load-balance-info parameter?  Can the
Hostname for the Remote Desktop Gateway be an IP or does it need to be an
FQDN?

I went through a large portion of the mailing list archives to find a
similar topic and had difficulties.  Any help would be appreciated.

Re: Remote Desktop Gateway Configuration

Posted by blee <br...@gmail.com>.
I am sorry for the late response, but I just wanted to follow-up with how I
resolved my issue in case someone else comes across this same problem.

Connecting via a traditional RDP/MSTSC and using the RDS settings within it
helped troubleshoot the issue.  I was actually putting all of the
information in correctly, for the most part, however the real problem was
permissions.  Here is one of the errors I found:

Dec 15 13:37:58 guacamole guacd[99179]: FreeRDP initialization may fail:
The current user's home directory ("/sbin") is not writable, but FreeRDP
generally requires a writable home directory for storage of configuration
files and certificates.
Dec 15 13:37:58 guacamole guacd: guacd[99179]: WARNING:#011FreeRDP
initialization may fail: The current user's home directory ("/sbin") is not
writable, but FreeRDP generally requires a writable home directory for
storage of configuration files and certificates.

I was running guacd as a user that did not have permissions to write to the
directory.  Once I changed that, it all worked perfect and I was able to
connect via RDS.  Thank you for the help.


On Tue, Dec 21, 2021 at 8:36 AM Tyler Marcotte <ma...@gmail.com> wrote:

> Have you tried connecting with traditional RDP from your laptop first to
> make sure it's working? In guacamole you need to specify both the PC you're
> trying to RDP into and the RDP gateway in the connection configuration. I
> use FQDN for both personally.
>
> On Sun, Dec 19, 2021 at 8:59 PM blee <br...@gmail.com> wrote:
>
>> I have a 2019 Remote Desktop Gateway and Broker on the same server and am
>> attempting to configure Guacamole (1.3) to connect to a Session Host via
>> the Gateway/Broker.  Assume my Gateway/Broker IP is 192.168.1.1 and I can
>> connect to the traditional Gateway via https://192.168.1.1/RDWeb, and
>> the line in my RDP file for the load-balance-info parameter is
>>
>> loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.Test_RDP
>>
>> After reading the manual, I believe I entered in all of the information
>> correctly in my configuration file, but I am still not able to connect with
>> one of the lines in my error log being:
>>
>> guacd[28097]: INFO:     RDP server closed/refused connection: Upstream
>> error.
>>
>> Can I get some guidance on what fields need to be entered as well as the
>> values to enable connecting through the Broker?  For example, what part of
>> the string should I use for the load-balance-info parameter?  Can the
>> Hostname for the Remote Desktop Gateway be an IP or does it need to be an
>> FQDN?
>>
>> I went through a large portion of the mailing list archives to find a
>> similar topic and had difficulties.  Any help would be appreciated.
>>
>>

Re: Remote Desktop Gateway Configuration

Posted by Tyler Marcotte <ma...@gmail.com>.
Have you tried connecting with traditional RDP from your laptop first to
make sure it's working? In guacamole you need to specify both the PC you're
trying to RDP into and the RDP gateway in the connection configuration. I
use FQDN for both personally.

On Sun, Dec 19, 2021 at 8:59 PM blee <br...@gmail.com> wrote:

> I have a 2019 Remote Desktop Gateway and Broker on the same server and am
> attempting to configure Guacamole (1.3) to connect to a Session Host via
> the Gateway/Broker.  Assume my Gateway/Broker IP is 192.168.1.1 and I can
> connect to the traditional Gateway via https://192.168.1.1/RDWeb, and the
> line in my RDP file for the load-balance-info parameter is
>
> loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.Test_RDP
>
> After reading the manual, I believe I entered in all of the information
> correctly in my configuration file, but I am still not able to connect with
> one of the lines in my error log being:
>
> guacd[28097]: INFO:     RDP server closed/refused connection: Upstream
> error.
>
> Can I get some guidance on what fields need to be entered as well as the
> values to enable connecting through the Broker?  For example, what part of
> the string should I use for the load-balance-info parameter?  Can the
> Hostname for the Remote Desktop Gateway be an IP or does it need to be an
> FQDN?
>
> I went through a large portion of the mailing list archives to find a
> similar topic and had difficulties.  Any help would be appreciated.
>
>