If it's of any help, this is what my user-mapping.xml file looks like, while I am using vnc rather than rdp, they are essentially the same except that rdp has audio built in where as vnc has to make a separate connection to pulse-audio:

<user-mapping>
            <!-- Per-user authentication and config information -->
    <authorize username="public" password="public">
        <connection name="Centos7 Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">centos7.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Centos7 Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">centos7.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">centos7.eskimo.com</param>
        </connection>
        <connection name="Centos-Stream Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">centos-stream.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Centos-Stream Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">centos-stream.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">centos-stream.eskimo.com</param>
        </connection>
        <connection name="Debian Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">debian.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Debian Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">debian.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">debian.eskimo.com</param>
        </connection>
        <connection name="Fedora Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">fedora.eskimo.com</param>
                <param name="color-scheme">white-black</param>
                </connection>
        <connection name="Fedora Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">fedora.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">fedora.eskimo.com</param>
        </connection>
        <connection name="Mint Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">mint.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Mint Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">mint.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">mint.eskimo.com</param>
        </connection>
        <connection name="MxLinux Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">mxlinux.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="MxLinux Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">mxlinux.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">mxlinux.eskimo.com</param>
        </connection>
        <connection name="Scientific Linux 7 Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">scientific7.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Scientific Linux 7 Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">scientific7.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">scientific7.eskimo.com</param>
        </connection>
        <connection name="Ubuntu Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">ubuntu.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Ubuntu Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">ubuntu.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">ubuntu.eskimo.com</param>
        </connection>
        <connection name="Zorin Terminal">
                <protocol>ssh</protocol>
                <param name="hostname">zorin.eskimo.com</param>
                <param name="color-scheme">white-black</param>
        </connection>
        <connection name="Zorin Desktop">
                <protocol>vnc</protocol>
                <param name="hostname">zorin.eskimo.com</param>
                <param name="port">5900</param>
                <param name="enable-audio">true</param>
                <param name="audio-servername">zorin.eskimo.com</param>
        </connection>
    </authorize>
</user-mapping>

On 8/6/23 02:49, André R. Basel wrote:
Hi Mike

Thanks for coming back. According to Portainer, guacd is running. In the logs I can see RDP sessions but no mention of ssh sessions in any way. The initial logs I gave were from guacamole.

I did not configure guacd in any way, just used default docker install. RDP worked our the box. Looking at your comments, is there some other configuration I need to do for SSH?

Kind regards

André Basel
027 640 2527


Sent from ProtonMail mobile



-------- Original Message --------
On 6 Aug 2023, 7:08 pm, Michael Jumper < mjum...@apache.org> wrote:


    On 8/5/2023 2:14 PM, André R. Basel wrote: > Hi > > I have a
    simple SSH connection: > Name: MyVM > Location: Root > Protocol:
    SSH > > Hostname: IP Address > > I can access the above using
    Putty  but through Guacamole I get  the below > > Frontend: > "The
    connection has been closed because the server is taking too long
    to > respond. This is usually caused by network problems, such as
    a spotty > wireless signal, or slow network speeds. Please check
    your network > connection and try again or contact your system
    administrator." > > Logs: > "ERROR
    o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket >
    tunnel to guacd failed: java.net.ConnectException: Connection
    refused > (Connection refused)" > This indicates that guacd is
    either not running or not listening on the configured address.
    Given the context (one connection works while another doesn't), my
    guess would be that the hostname/address for the SSH connection
    was inadvertently specified for the connection-specific guacd
    parameters and not the network parameters of the SSH connection. -
    Mike
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For
additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to