Try windows mstsc login OK? Try no username/password - new Guacamole 1.3 
feature.

From: Bill Sandor [mailto:[email protected]]
Sent: 18 February 2021 19:06
To: [email protected]
Subject: Re: Cannot connect using RDP

I can ping all the RDP endpoint IPs and hostnames from the guac server.  
Connecting to client via IP or hostname fails the same either way.

I have tried with and without password (thinking it would prompt for password 
like MS’s RDP client).  Same failure either way.


--Bill Sandor
Allegiance Technologies & Consulting LLC
http://www.allegiance-it.com
330.315.2867


On Feb 18, 2021, at 12:42 PM, Adrian Owen 
<[email protected]<mailto:[email protected]>> wrote:

1st RDP fail  Putty to guac server. Is DNS setup ping by hostname?

2nd RDP fail. Username – no password given.

Adrian

From: Bill Sandor [mailto:[email protected]]
Sent: 18 February 2021 17:08
To: [email protected]<mailto:[email protected]>
Subject: Re: Cannot connect using RDP

See new config file below.  I’ve fixed the “passworde” typo on the one entry, 
removed the password from another.  Also, removed the domain viable (I’ve tried 
both ways).  I’ve also turned off the firewall on the Windows 10 PC altogether 
and unloaded the antivirus software for good measure, it still will not connect 
to it from Guacamole.


<user-mapping>

    <!-- Per-user authentication and config information -->

    <!-- A user using md5 to hash the password
         guacadmin user and its md5 hashed password below is used to
             login to Guacamole Web UI-->
    <authorize
            username="test"
            password="986b20d853c2c5eb9ebf1ed96d5b6724"
            encoding="md5">

        <!-- First authorized Remote connection -->
        <connection name="Cindy Starcher old PC">
            <protocol>rdp</protocol>
            <param 
name="hostname">DIS-WS-29.corp.ugins.com<http://dis-ws-29.corp.ugins.com/></param>
            <param name="port">3389</param>
            <param name="username">administrator</param>
            <param name="password”>XXXXXXX</param>
            <param name="domain">ugins</param>
            <param name="security">rdp</param>
            <param name="ignore-cert">true</param>
        </connection>

        <!-- Second authorized remote connection -->
        <connection name="Windows Server 2019">
            <protocol>rdp</protocol>
            <param name="hostname">192.168.236.11</param>
            <param name="port">3389</param>
            <param name="username">ugins\administrator</param>
            <param name="security">any</param>
            <param name="ignore-cert">true</param>
        </connection>

        <!-- Third authorized remote connection -->
        <connection name="FreeNAS Server">
            <protocol>ssh</protocol>
            <param name="hostname">192.168.236.20</param>
            <param name="port">22</param>
            <param name="username">root</param>
        </connection>

    </authorize>

</user-mapping>



Feb 18 16:43:50 dis-ububtu1 guacd[25418]: Creating new client for protocol "rdp"
Feb 18 16:43:50 dis-ububtu1 guacd[25418]: Connection ID is 
"$476fd94c-d906-41ac-811f-41e64b301d5f"
Feb 18 16:43:50 dis-ububtu1 guacd[25503]: Security mode: Negotiate (ANY)
Feb 18 16:43:50 dis-ububtu1 guacd[25503]: Resize method: none
Feb 18 16:43:50 dis-ububtu1 guacd[25503]: User 
"@4ac29186-6354-496b-8d2d-c5d0a26ba805" joined connection 
"$476fd94c-d906-41ac-811f-41e64b301d5f" (1 users now present)
Feb 18 16:43:50 dis-ububtu1 guacd[25503]: Loading keymap "base"
Feb 18 16:43:50 dis-ububtu1 guacd[25503]: Loading keymap "en-us-qwerty"
Feb 18 16:44:05 dis-ububtu1 guacd[25503]: RDP server closed/refused connection: 
Connection failed (server unreachable?)
Feb 18 16:44:05 dis-ububtu1 guacd[25503]: User 
"@4ac29186-6354-496b-8d2d-c5d0a26ba805" disconnected (0 users remain)
Feb 18 16:44:05 dis-ububtu1 guacd[25503]: Last user of connection 
"$476fd94c-d906-41ac-811f-41e64b301d5f" disconnected
Feb 18 16:44:05 dis-ububtu1 guacd[25418]: Connection 
"$476fd94c-d906-41ac-811f-41e64b301d5f" removed.
Feb 18 16:44:47 dis-ububtu1 guacd[25418]: Creating new client for protocol "rdp"
Feb 18 16:44:47 dis-ububtu1 guacd[25418]: Connection ID is 
"$cf6354bf-9352-4ccb-a1c9-b7f59a8291c9"
Feb 18 16:44:47 dis-ububtu1 guacd[25547]: Security mode: RDP
Feb 18 16:44:47 dis-ububtu1 guacd[25547]: Resize method: none
Feb 18 16:44:47 dis-ububtu1 guacd[25547]: User 
"@c3ac4deb-12c7-43ca-8731-9a4f3b3e93e2" joined connection 
"$cf6354bf-9352-4ccb-a1c9-b7f59a8291c9" (1 users now present)
Feb 18 16:44:47 dis-ububtu1 guacd[25547]: Loading keymap "base"
Feb 18 16:44:47 dis-ububtu1 guacd[25547]: Loading keymap "en-us-qwerty"
Feb 18 16:45:02 dis-ububtu1 guacd[25547]: RDP server closed/refused connection: 
Connection failed (server unreachable?)
Feb 18 16:45:02 dis-ububtu1 guacd[25547]: User 
"@c3ac4deb-12c7-43ca-8731-9a4f3b3e93e2" disconnected (0 users remain)
Feb 18 16:45:02 dis-ububtu1 guacd[25547]: Last user of connection 
"$cf6354bf-9352-4ccb-a1c9-b7f59a8291c9" disconnected
Feb 18 16:45:02 dis-ububtu1 guacd[25418]: Connection 
"$cf6354bf-9352-4ccb-a1c9-b7f59a8291c9" removed.
Feb 18 16:46:48 dis-ububtu1 guacd[25418]: Creating new client for protocol "rdp"
Feb 18 16:46:49 dis-ububtu1 guacd[25418]: Connection ID is 
"$6f8b5c57-1346-47ac-a467-3eab1a3edc93"
Feb 18 16:46:49 dis-ububtu1 guacd[25618]: Security mode: RDP
Feb 18 16:46:49 dis-ububtu1 guacd[25618]: Resize method: none
Feb 18 16:46:49 dis-ububtu1 guacd[25618]: User 
"@9156b7ce-1700-4238-bcbc-3bef36fd92d2" joined connection 
"$6f8b5c57-1346-47ac-a467-3eab1a3edc93" (1 users now present)
Feb 18 16:46:49 dis-ububtu1 guacd[25618]: Loading keymap "base"
Feb 18 16:46:49 dis-ububtu1 guacd[25618]: Loading keymap "en-us-qwerty"
Feb 18 16:47:04 dis-ububtu1 guacd[25618]: RDP server closed/refused connection: 
Connection failed (server unreachable?)
Feb 18 16:47:04 dis-ububtu1 guacd[25618]: User 
"@9156b7ce-1700-4238-bcbc-3bef36fd92d2" disconnected (0 users remain)
Feb 18 16:47:04 dis-ububtu1 guacd[25618]: Last user of connection 
"$6f8b5c57-1346-47ac-a467-3eab1a3edc93" disconnected
Feb 18 16:47:04 dis-ububtu1 guacd[25418]: Connection 
"$6f8b5c57-1346-47ac-a467-3eab1a3edc93" removed.
Feb 18 16:49:17 dis-ububtu1 guacd[25732]: Creating new client for protocol "rdp"
Feb 18 16:49:17 dis-ububtu1 guacd[25732]: Connection ID is 
"$88c4d256-4636-498f-bfea-356b1567b81f"
Feb 18 16:49:17 dis-ububtu1 guacd[25800]: Security mode: RDP
Feb 18 16:49:17 dis-ububtu1 guacd[25800]: Resize method: none
Feb 18 16:49:17 dis-ububtu1 guacd[25800]: User 
"@95c6f23f-4672-476f-903d-e1c4fd3790ce" joined connection 
"$88c4d256-4636-498f-bfea-356b1567b81f" (1 users now present)
Feb 18 16:49:17 dis-ububtu1 guacd[25800]: Loading keymap "base"
Feb 18 16:49:17 dis-ububtu1 guacd[25800]: Loading keymap "en-us-qwerty"
Feb 18 16:49:32 dis-ububtu1 guacd[25800]: RDP server closed/refused connection: 
Connection failed (server unreachable?)
Feb 18 16:49:32 dis-ububtu1 guacd[25800]: User 
"@95c6f23f-4672-476f-903d-e1c4fd3790ce" disconnected (0 users remain)
Feb 18 16:49:32 dis-ububtu1 guacd[25800]: Last user of connection 
"$88c4d256-4636-498f-bfea-356b1567b81f" disconnected
Feb 18 16:49:32 dis-ububtu1 guacd[25732]: Connection 
"$88c4d256-4636-498f-bfea-356b1567b81f" removed.




I’ve also now tried installing TightVNC server on my Windows 10 PC and 
configuring Guacamole to connect that way.  The screen shows "Connected to 
Guacamole. Waiting for response…” but does not connect.  The log shows:
Feb 18 17:04:14 dis-ububtu1 guacd[26473]: Creating new client for protocol "vnc"
Feb 18 17:04:14 dis-ububtu1 guacd[26473]: Connection ID is 
"$da1e89af-259f-45f6-a610-0d9ac1700503"
Feb 18 17:04:14 dis-ububtu1 guacd[26541]: Cursor rendering: local
Feb 18 17:04:14 dis-ububtu1 guacd[26541]: User 
"@5ff26938-4da3-4059-8f6b-08704a303d05" joined connection 
"$da1e89af-259f-45f6-a610-0d9ac1700503" (1 users now present)

My config is:
        <!-- First authorized Remote connection -->
        <connection name="Cindy Starcher old PC">
            <protocol>vnc</protocol>
            <param name="hostname">192.168.1.93</param>
            <param name="port">5900</param>
            <param name="password">Forevaluation2021</param>
            <param name="autoretry">3</param>
        </connection>

I can connect to the PC via VNC from my Mac over a VPN with no issue (again, 
the Guacamole server is on the same LAN as the PC).

I would suspect networking, but I can SSH into hosts on the same LAN with 
Guacamole no problem.



I might try using the docker install today if I have time just to try something 
else.



Thank you again for your help



--Bill




On Feb 17, 2021, at 10:00 PM, Mike Jumper 
<[email protected]<mailto:[email protected]>> wrote:

On Wed, Feb 17, 2021 at 5:35 PM Bill Sandor 
<[email protected]<mailto:[email protected]>> wrote:
...
            <param name="username”>ugins\administrator</param>

I notice that you are specifying the domain here AND with the "domain" 
parameter. I don't know what the effect of this will be (and that may depend on 
Windows), but you should either specify the domain as part of the username or 
separately with the "domain" parameter, not both.

            <param name="passworde”>XXXXX!</param>

The name of this parameter is misspelled. It should be "password", not 
"passworde".

...
Feb 18 01:14:47 dis-ububtu1 guacd[1931]: RDP server closed/refused connection: 
Connection failed (server unreachable?)

It looks like the RDP server is refusing the inbound connection outright. Are 
you sure that the firewall of the RDP server is configured to allow inbound RDP 
connections from the Guacamole server?

Michael Jumper
CEO, Lead Developer
Glyptodon Inc<https://enterprise.glyptodon.com/>.

Reply via email to