Fwd: Unable to Connect to GUACD Server on Linux

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Fwd: Unable to Connect to GUACD Server on Linux

Amarjeet Singh
Hi Team,


I am working on Guacamole Client and Server. I did the following steps:-

AIM : To integrate Guacamole using a single URL which contains all the information instead of usermapping.xml or noauth-config.xml files.

Installed Guacamole client, Tomcat, in Windows 10.

Installed Gucamole Server on Linux ( Listening on port 4822 )  : Below is the output of netstat -ntpl 

            Inline image 1

Configuration in guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname:172.15.9.56
guacd-port:4822

# Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
 auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
 basic-user-mapping: user-mapping.xml

# NoAuth properties
# noauth-config: noauth-config.xml


I want to use NoAuthenticatorProvider.jar to directly get the RDP.  I was getting the RDP session directly without authentification  when I had configured everything  on the same Server ( Guacamole Client and Guacamole Server and Tomcat ) .

Now when I have installed the Gucamole Client and Tomcat  on Windows and provided the IP ( 172.15.9.56 )  in gucamole.properties I am getting the following error: - (  from Logs ) 


14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 172.15.9.56
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : localhost
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole.environment.Environment$2@6ba060f3
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty:Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty:Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole.environment.Environment$2@6ba060f3, property Name :guacd-port, properties : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty:Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  IntegerGuacamoleProperty Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole.environment.Environment$3@7c51782d
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty:Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty:Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole.environment.Environment$3@7c51782d, property Name :guacd-ssl, properties : null
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty:Environment Class
14:01:07.886 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  BooleanGuacamoleProperty Class
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : null
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment.LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : false
14:01:07.886 [http-nio-8080-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 172.15.9.56:4822.
14:01:08.889 [http-nio-8080-exec-4] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused: connect
14:01:08.895 [http-nio-8080-exec-4] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Error connecting WebSocket tunnel.
org.apache.guacamole.GuacamoleServerException: java.net.ConnectException: Connection refused: connect
at org.apache.guacamole.net.InetGuacamoleSocket.<init>(InetGuacamoleSocket.java:116) ~[guacamole-common-0.9.10-incubating.jar:na]
at org.apache.guacamole.net.auth.simple.SimpleConnection.connect(SimpleConnection.java:137) ~[guacamole-ext-0.9.12-incubating.jar:na]
at org.apache.guacamole.tunnel.TunnelRequestService.createConnectedTunnel(TunnelRequestService.java:173) ~[classes/:na]
at org.apache.guacamole.tunnel.TunnelRequestService.createTunnel(TunnelRequestService.java:351) ~[classes/:na]
at org.apache.guacamole.tunnel.websocket.RestrictedGuacamoleWebSocketTunnelEndpoint.createTunnel(RestrictedGuacamoleWebSocketTunnelEndpoint.java:124) ~[classes/:na]
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.onOpen(GuacamoleWebSocketTunnelEndpoint.java:112) ~[guacamole-common-0.9.10-incubating.jar:na]
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:133) [tomcat-websocket.jar:9.0.0.M22]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:842) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1372) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.0.M22]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_144]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.0.M22]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.8.0_144]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[na:1.8.0_144]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_144]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_144]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_144]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_144]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_144]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_144]
at org.apache.guacamole.net.InetGuacamoleSocket.<init>(InetGuacamoleSocket.java:102) ~[guacamole-common-0.9.10-incubating.jar:na]
... 13 common frames omitted
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Entering into createTunnel method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Entering into getClientInformation method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Value of height is 504 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - Value of dpi is 96 

 
I request youi to please help to resolve the above issue. I would be very grateful to you.

Thanks and Regards,
Amarjeet Singh
+91 8130604385
Software Engineer, Pune  Maharashtra, India.







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Nick Couchman-2
Amarjeet,
First, please do not post to both Dev and User lists at the same time.  It causes confusion.

Second, your issue is likely that your guacd instance is listening *only* on the loopback interface (127.0.0.1) on the Linux system and not on all interfaces.  This is denoted by the "127.0.0.1:4822" output from the netstat output you posted, which indicates that it is not listening on the Ethernet interface.  You need to make sure you start guacd with the correct parameters to listen on the interface you are actually trying to access it on.  This can be done with the -b flag on the guacd command line:

[root@hostname ~]# /opt/guac/sbin/guacd --help
/opt/guac/sbin/guacd: invalid option -- '-'
USAGE: /opt/guac/sbin/guacd [-l LISTENPORT] [-b LISTENADDRESS] [-p PIDFILE] [-L LEVEL] [-C CERTIFICATE_FILE] [-K PEM_FILE] [-f]

So, you'd want to start guacd like so:
guacd -b 172.15.9.56

Or, if you want it to listen on all interfaces:
guacd -b 0.0.0.0

Also, while you're debugging this, you should also make sure your firewall on the Linux system is allowing traffic in on port 4822.  I'm not sure what distribution you're using, so the exact way to verify and open the port will vary, but most Linux distros have the firewall enabled by default these days, so make sure you configure that.

-Nick


On Thursday, August 3, 2017, 6:54:39 AM EDT, Amarjeet Singh <[hidden email]> wrote:


Hi Team,


I am working on Guacamole Client and Server. I did the following steps:-

AIM : To integrate Guacamole using a single URL which contains all the information instead of usermapping.xml or noauth-config.xml files.

Installed Guacamole client, Tomcat, in Windows 10.

Installed Gucamole Server on Linux ( Listening on port 4822 )  : Below is the output of netstat -ntpl 

            

Configuration in guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname:172.15.9.56
guacd-port:4822

# Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
 auth-provider: net.sourceforge.guacamole.net. basic. BasicFileAuthenticationProvide r
 basic-user-mapping: user-mapping.xml

# NoAuth properties
# noauth-config: noauth-config.xml


I want to use NoAuthenticatorProvider.jar to directly get the RDP.  I was getting the RDP session directly without authentification  when I had configured everything  on the same Server ( Guacamole Client and Guacamole Server and Tomcat ) .

Now when I have installed the Gucamole Client and Tomcat  on Windows and provided the IP ( 172.15.9.56 )  in gucamole.properties I am getting the following error: - (  from Logs ) 


14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 172.15.9.56
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : localhost
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3, property Name :guacd-port, properties : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  IntegerGuacamoleProperty Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d, property Name :guacd-ssl, properties : null
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.886 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  BooleanGuacamoleProperty Class
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : null
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : false
14:01:07.886 [http-nio-8080-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 172.15.9.56:4822.
14:01:08.889 [http-nio-8080-exec-4] ERROR o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused: connect
14:01:08.895 [http-nio-8080-exec-4] DEBUG o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Error connecting WebSocket tunnel.
org.apache.guacamole. GuacamoleServerException: java.net.ConnectException: Connection refused: connect
at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:116) ~[guacamole-common-0.9.10- incubating.jar:na]
at org.apache.guacamole.net.auth. simple.SimpleConnection. connect(SimpleConnection.java: 137) ~[guacamole-ext-0.9.12- incubating.jar:na]
at org.apache.guacamole.tunnel. TunnelRequestService. createConnectedTunnel( TunnelRequestService.java:173) ~[classes/:na]
at org.apache.guacamole.tunnel. TunnelRequestService. createTunnel( TunnelRequestService.java:351) ~[classes/:na]
at org.apache.guacamole.tunnel. websocket. RestrictedGuacamoleWebSocketTu nnelEndpoint.createTunnel( RestrictedGuacamoleWebSocketTu nnelEndpoint.java:124) ~[classes/:na]
at org.apache.guacamole. websocket. GuacamoleWebSocketTunnelEndpoi nt.onOpen( GuacamoleWebSocketTunnelEndpoi nt.java:112) ~[guacamole-common-0.9.10- incubating.jar:na]
at org.apache.tomcat.websocket. server.WsHttpUpgradeHandler. init(WsHttpUpgradeHandler. java:133) [tomcat-websocket.jar:9.0.0. M22]
at org.apache.coyote. AbstractProtocol$ ConnectionHandler.process( AbstractProtocol.java:842) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net. NioEndpoint$SocketProcessor. doRun(NioEndpoint.java:1372) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net. SocketProcessorBase.run( SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.0.M22]
at java.util.concurrent. ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149) [na:1.8.0_144]
at java.util.concurrent. ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:624) [na:1.8.0_144]
at org.apache.tomcat.util. threads.TaskThread$ WrappingRunnable.run( TaskThread.java:61) [tomcat-util.jar:9.0.0.M22]
at java.lang.Thread.run(Thread. java:748) [na:1.8.0_144]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net. DualStackPlainSocketImpl. waitForConnect(Native Method) ~[na:1.8.0_144]
at java.net. DualStackPlainSocketImpl. socketConnect( DualStackPlainSocketImpl.java: 85) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. doConnect( AbstractPlainSocketImpl.java: 350) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. connectToAddress( AbstractPlainSocketImpl.java: 206) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. connect( AbstractPlainSocketImpl.java: 188) ~[na:1.8.0_144]
at java.net.PlainSocketImpl. connect(PlainSocketImpl.java: 172) ~[na:1.8.0_144]
at java.net.SocksSocketImpl. connect(SocksSocketImpl.java: 392) ~[na:1.8.0_144]
at java.net.Socket.connect( Socket.java:589) ~[na:1.8.0_144]
at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:102) ~[guacamole-common-0.9.10- incubating.jar:na]
... 13 common frames omitted
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into createTunnel method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into getClientInformation method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of height is 504 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of dpi is 96 

 
I request youi to please help to resolve the above issue. I would be very grateful to you.

Thanks and Regards,
Amarjeet Singh
+91 8130604385
Software Engineer, Pune  Maharashtra, India.







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Amarjeet Singh
Nick,

I apologize for posting on both user and dev. I am new to this mailing list. I was not sure whether  to post on dev or user team. 

I am really grateful to you. The above issue is resolved. 

So, you'd want to start guacd like so:
guacd -b 172.15.9.56

This  above command worked and I am able to get the RDP on Windows 10. Thanks  :)

but when I run the below command  

Or, if you want it to listen on all interfaces:
guacd -b 0.0.0.0

I got the following output :

[root@localhost .guacamole]# guacd -b 0.0.0.0
guacd[6666]: INFO:      Guacamole proxy daemon (guacd) version 0.9.12-incubating started
guacd[6666]: ERROR:     Unable to bind socket to any addresses.
 
I appreciate the quick response from Guacamole Team. Thanks everyone for the efforts.

Thanks and Regards,
Amarjeet Singh 


On Thu, Aug 3, 2017 at 6:06 PM, Nick Couchman <[hidden email]> wrote:
Amarjeet,
First, please do not post to both Dev and User lists at the same time.  It causes confusion.

Second, your issue is likely that your guacd instance is listening *only* on the loopback interface (127.0.0.1) on the Linux system and not on all interfaces.  This is denoted by the "127.0.0.1:4822" output from the netstat output you posted, which indicates that it is not listening on the Ethernet interface.  You need to make sure you start guacd with the correct parameters to listen on the interface you are actually trying to access it on.  This can be done with the -b flag on the guacd command line:

[root@hostname ~]# /opt/guac/sbin/guacd --help
/opt/guac/sbin/guacd: invalid option -- '-'
USAGE: /opt/guac/sbin/guacd [-l LISTENPORT] [-b LISTENADDRESS] [-p PIDFILE] [-L LEVEL] [-C CERTIFICATE_FILE] [-K PEM_FILE] [-f]

So, you'd want to start guacd like so:
guacd -b 172.15.9.56

Or, if you want it to listen on all interfaces:
guacd -b 0.0.0.0

Also, while you're debugging this, you should also make sure your firewall on the Linux system is allowing traffic in on port 4822.  I'm not sure what distribution you're using, so the exact way to verify and open the port will vary, but most Linux distros have the firewall enabled by default these days, so make sure you configure that.

-Nick


On Thursday, August 3, 2017, 6:54:39 AM EDT, Amarjeet Singh <[hidden email]> wrote:


Hi Team,


I am working on Guacamole Client and Server. I did the following steps:-

AIM : To integrate Guacamole using a single URL which contains all the information instead of usermapping.xml or noauth-config.xml files.

Installed Guacamole client, Tomcat, in Windows 10.

Installed Gucamole Server on Linux ( Listening on port 4822 )  : Below is the output of netstat -ntpl 

            

Configuration in guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname:172.15.9.56
guacd-port:4822

# Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
 auth-provider: net.sourceforge.guacamole.net. basic. BasicFileAuthenticationProvide r
 basic-user-mapping: user-mapping.xml

# NoAuth properties
# noauth-config: noauth-config.xml


I want to use NoAuthenticatorProvider.jar to directly get the RDP.  I was getting the RDP session directly without authentification  when I had configured everything  on the same Server ( Guacamole Client and Guacamole Server and Tomcat ) .

Now when I have installed the Gucamole Client and Tomcat  on Windows and provided the IP ( 172.15.9.56 )  in gucamole.properties I am getting the following error: - (  from Logs ) 


14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 172.15.9.56
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : localhost
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3, property Name :guacd-port, properties : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  IntegerGuacamoleProperty Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d, property Name :guacd-ssl, properties : null
14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
14:01:07.886 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  BooleanGuacamoleProperty Class
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : null
14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : false
14:01:07.886 [http-nio-8080-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 172.15.9.56:4822.
14:01:08.889 [http-nio-8080-exec-4] ERROR o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused: connect
14:01:08.895 [http-nio-8080-exec-4] DEBUG o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Error connecting WebSocket tunnel.
org.apache.guacamole. GuacamoleServerException: java.net.ConnectException: Connection refused: connect
at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:116) ~[guacamole-common-0.9.10- incubating.jar:na]
at org.apache.guacamole.net.auth. simple.SimpleConnection. connect(SimpleConnection.java: 137) ~[guacamole-ext-0.9.12- incubating.jar:na]
at org.apache.guacamole.tunnel. TunnelRequestService. createConnectedTunnel( TunnelRequestService.java:173) ~[classes/:na]
at org.apache.guacamole.tunnel. TunnelRequestService. createTunnel( TunnelRequestService.java:351) ~[classes/:na]
at org.apache.guacamole.tunnel. websocket. RestrictedGuacamoleWebSocketTu nnelEndpoint.createTunnel( RestrictedGuacamoleWebSocketTu nnelEndpoint.java:124) ~[classes/:na]
at org.apache.guacamole. websocket. GuacamoleWebSocketTunnelEndpoi nt.onOpen( GuacamoleWebSocketTunnelEndpoi nt.java:112) ~[guacamole-common-0.9.10- incubating.jar:na]
at org.apache.tomcat.websocket. server.WsHttpUpgradeHandler. init(WsHttpUpgradeHandler. java:133) [tomcat-websocket.jar:9.0.0. M22]
at org.apache.coyote. AbstractProtocol$ ConnectionHandler.process( AbstractProtocol.java:842) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net. NioEndpoint$SocketProcessor. doRun(NioEndpoint.java:1372) [tomcat-coyote.jar:9.0.0.M22]
at org.apache.tomcat.util.net. SocketProcessorBase.run( SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.0.M22]
at java.util.concurrent. ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149) [na:1.8.0_144]
at java.util.concurrent. ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:624) [na:1.8.0_144]
at org.apache.tomcat.util. threads.TaskThread$ WrappingRunnable.run( TaskThread.java:61) [tomcat-util.jar:9.0.0.M22]
at java.lang.Thread.run(Thread. java:748) [na:1.8.0_144]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net. DualStackPlainSocketImpl. waitForConnect(Native Method) ~[na:1.8.0_144]
at java.net. DualStackPlainSocketImpl. socketConnect( DualStackPlainSocketImpl.java: 85) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. doConnect( AbstractPlainSocketImpl.java: 350) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. connectToAddress( AbstractPlainSocketImpl.java: 206) ~[na:1.8.0_144]
at java.net. AbstractPlainSocketImpl. connect( AbstractPlainSocketImpl.java: 188) ~[na:1.8.0_144]
at java.net.PlainSocketImpl. connect(PlainSocketImpl.java: 172) ~[na:1.8.0_144]
at java.net.SocksSocketImpl. connect(SocksSocketImpl.java: 392) ~[na:1.8.0_144]
at java.net.Socket.connect( Socket.java:589) ~[na:1.8.0_144]
at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:102) ~[guacamole-common-0.9.10- incubating.jar:na]
... 13 common frames omitted
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into createTunnel method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into getClientInformation method of of TunnelRequestService
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of height is 504 
14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of dpi is 96 

 
I request youi to please help to resolve the above issue. I would be very grateful to you.

Thanks and Regards,
Amarjeet Singh
+91 8130604385
Software Engineer, Pune  Maharashtra, India.








Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Nick Couchman-2
Amarjeet,

I'm not sure why the 0.0.0.0 option does not work - I will have to dig into that.  Glad it is working for you, though.

Do keep in mind that, in the configuration you have there, the Guacamole Protocol traffic between the Guacamole Client instance and guacd will be plaintext and readable over the wire - so, if someone is sniffing your network, they may be able to intercept the traffic and pull out things like username/password combinations, keystrokes, etc.  Both the Guacamole Client and guacd support encryption of the connection between the two - if you're running the client on a different system than guacd and transporting data over the network, I highly suggest you use a certificate/key pair to encrypt the traffic.  The configuration shouldn't be all that difficult.

Regards,
Nick



On Thursday, August 3, 2017, 9:32:51 AM EDT, Amarjeet Singh <[hidden email]> wrote:


Nick,

I apologize for posting on both user and dev. I am new to this mailing list. I was not sure whether  to post on dev or user team. 

I am really grateful to you. The above issue is resolved. 

> So, you'd want to start guacd like so:
> guacd -b 172.15.9.56

This  above command worked and I am able to get the RDP on Windows 10. Thanks  :)

but when I run the below command  

> Or, if you want it to listen on all interfaces:
> guacd -b 0.0.0.0

I got the following output :

> [root@localhost .guacamole]# guacd -b 0.0.0.0
> guacd[6666]: INFO:      Guacamole proxy daemon (guacd) version 0.9.12-incubating started
> guacd[6666]: ERROR:     Unable to bind socket to any addresses.
 
I appreciate the quick response from Guacamole Team. Thanks everyone for the efforts.

Thanks and Regards,
Amarjeet Singh 


On Thu, Aug 3, 2017 at 6:06 PM, Nick Couchman <[hidden email]> wrote:

> Amarjeet,
> First, please do not post to both Dev and User lists at the same time.  It causes confusion.
>
> Second, your issue is likely that your guacd instance is listening *only* on the loopback interface (127.0.0.1) on the Linux system and not on all interfaces.  This is denoted by the "127.0.0.1:4822" output from the netstat output you posted, which indicates that it is not listening on the Ethernet interface.  You need to make sure you start guacd with the correct parameters to listen on the interface you are actually trying to access it on.  This can be done with the -b flag on the guacd command line:
>
> [root@hostname ~]# /opt/guac/sbin/guacd --help
> /opt/guac/sbin/guacd: invalid option -- '-'
> USAGE: /opt/guac/sbin/guacd [-l LISTENPORT] [-b LISTENADDRESS] [-p PIDFILE] [-L LEVEL] [-C CERTIFICATE_FILE] [-K PEM_FILE] [-f]
>
> So, you'd want to start guacd like so:
> guacd -b 172.15.9.56
>
> Or, if you want it to listen on all interfaces:
> guacd -b 0.0.0.0
>
> Also, while you're debugging this, you should also make sure your firewall on the Linux system is allowing traffic in on port 4822.  I'm not sure what distribution you're using, so the exact way to verify and open the port will vary, but most Linux distros have the firewall enabled by default these days, so make sure you configure that.
>
> -Nick
>
>
> On Thursday, August 3, 2017, 6:54:39 AM EDT, Amarjeet Singh <[hidden email]> wrote:
>
>
> Hi Team,
>
>
> I am working on Guacamole Client and Server. I did the following steps:-
>
> AIM : To integrate Guacamole using a single URL which contains all the information instead of usermapping.xml or noauth-config.xml files.
>
> Installed Guacamole client, Tomcat, in Windows 10.
>
> Installed Gucamole Server on Linux ( Listening on port 4822 )  : Below is the output of netstat -ntpl 
>
>             
>
> Configuration in guacamole.properties
>
> # Hostname and port of guacamole proxy
> guacd-hostname:172.15.9.56
> guacd-port:4822
>
> # Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
>  auth-provider: net.sourceforge.guacamole.net. basic. BasicFileAuthenticationProvide r
>  basic-user-mapping: user-mapping.xml
>
> # NoAuth properties
> # noauth-config: noauth-config.xml
>
>
> I want to use NoAuthenticatorProvider.jar to directly get the RDP.  I was getting the RDP session directly without authentification  when I had configured everything  on the same Server ( Guacamole Client and Guacamole Server and Tomcat ) .
>
> Now when I have installed the Gucamole Client and Tomcat  on Windows and provided the IP ( 172.15.9.56 )  in gucamole.properties I am getting the following error: - (  from Logs ) 
>
>
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 172.15.9.56
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : localhost
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$2@ 6ba060f3, property Name :guacd-port, properties : 4822
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of IntegerGuacamoleProperty: Environment Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  IntegerGuacamoleProperty Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : 4822
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with two arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
> 14:01:07.885 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method with 1 arguments of Local Environment , property is  : org.apache.guacamole. environment.Environment$3@ 7c51782d, property Name :guacd-ssl, properties : null
> 14:01:07.885 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  getName()  of BooleanGuacamoleProperty: Environment Class
> 14:01:07.886 [http-nio-8080-exec-4] INFO  GuacamoleProperty Interface - Entering into  parseValue of  BooleanGuacamoleProperty Class
> 14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : null
> 14:01:07.886 [http-nio-8080-exec-4] INFO  o.a.g.environment. LocalEnvironment - Inside getProperty method of Local Environment , Value of property is  : false
> 14:01:07.886 [http-nio-8080-exec-4] DEBUG o.a.g.net.InetGuacamoleSocket - Connecting to guacd at 172.15.9.56:4822.
> 14:01:08.889 [http-nio-8080-exec-4] ERROR o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Creation of WebSocket tunnel to guacd failed: java.net.ConnectException: Connection refused: connect
> 14:01:08.895 [http-nio-8080-exec-4] DEBUG o.a.g.w. GuacamoleWebSocketTunnelEndpoi nt - Error connecting WebSocket tunnel.
> org.apache.guacamole. GuacamoleServerException: java.net.ConnectException: Connection refused: connect
> at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:116) ~[guacamole-common-0.9.10- incubating.jar:na]
> at org.apache.guacamole.net.auth. simple.SimpleConnection. connect(SimpleConnection.java: 137) ~[guacamole-ext-0.9.12- incubating.jar:na]
>  at org.apache.guacamole.tunnel. TunnelRequestService. createConnectedTunnel( TunnelRequestService.java:173) ~[classes/:na]
> at org.apache.guacamole.tunnel. TunnelRequestService. createTunnel( TunnelRequestService.java:351) ~[classes/:na]
> at org.apache.guacamole.tunnel. websocket. RestrictedGuacamoleWebSocketTu nnelEndpoint.createTunnel( RestrictedGuacamoleWebSocketTu nnelEndpoint.java:124) ~[classes/:na]
> at org.apache.guacamole. websocket. GuacamoleWebSocketTunnelEndpoi nt.onOpen( GuacamoleWebSocketTunnelEndpoi nt.java:112) ~[guacamole-common-0.9.10- incubating.jar:na]
> at org.apache.tomcat.websocket. server.WsHttpUpgradeHandler. init(WsHttpUpgradeHandler. java:133) [tomcat-websocket.jar:9.0.0. M22]
> at org.apache.coyote. AbstractProtocol$ ConnectionHandler.process( AbstractProtocol.java:842) [tomcat-coyote.jar:9.0.0.M22]
> at org.apache.tomcat.util.net. NioEndpoint$SocketProcessor. doRun(NioEndpoint.java:1372) [tomcat-coyote.jar:9.0.0.M22]
> at org.apache.tomcat.util.net. SocketProcessorBase.run( SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.0.M22]
> at java.util.concurrent. ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149) [na:1.8.0_144]
> at java.util.concurrent. ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:624) [na:1.8.0_144]
> at org.apache.tomcat.util. threads.TaskThread$ WrappingRunnable.run( TaskThread.java:61) [tomcat-util.jar:9.0.0.M22]
>  at java.lang.Thread.run(Thread. java:748) [na:1.8.0_144]
> Caused by: java.net.ConnectException: Connection refused: connect
>  at java.net. DualStackPlainSocketImpl. waitForConnect(Native Method) ~[na:1.8.0_144]
> at java.net. DualStackPlainSocketImpl. socketConnect( DualStackPlainSocketImpl.java: 85) ~[na:1.8.0_144]
> at java.net. AbstractPlainSocketImpl. doConnect( AbstractPlainSocketImpl.java: 350) ~[na:1.8.0_144]
> at java.net. AbstractPlainSocketImpl. connectToAddress( AbstractPlainSocketImpl.java: 206) ~[na:1.8.0_144]
> at java.net. AbstractPlainSocketImpl. connect( AbstractPlainSocketImpl.java: 188) ~[na:1.8.0_144]
> at java.net.PlainSocketImpl. connect(PlainSocketImpl.java: 172) ~[na:1.8.0_144]
> at java.net.SocksSocketImpl. connect(SocksSocketImpl.java: 392) ~[na:1.8.0_144]
> at java.net.Socket.connect( Socket.java:589) ~[na:1.8.0_144]
> at org.apache.guacamole.net. InetGuacamoleSocket.<init>( InetGuacamoleSocket.java:102) ~[guacamole-common-0.9.10- incubating.jar:na]
> ... 13 common frames omitted
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into createTunnel method of of TunnelRequestService
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Entering into getClientInformation method of of TunnelRequestService
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of width is 1920 
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of height is 504 
> 14:01:08.908 [http-nio-8080-exec-2] INFO  o.a.g.tunnel. TunnelRequestService - Value of dpi is 96  I request youi to please help to resolve the above issue. I would be very grateful to you.Thanks and Regards,Amarjeet Singh+91 8130604385Software Engineer, Pune  Maharashtra, India.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Mike Jumper
On Aug 3, 2017 06:38, "Nick Couchman" <[hidden email]> wrote:
Amarjeet,

I'm not sure why the 0.0.0.0 option does not work - I will have to dig into that.  Glad it is working for you, though.

My guess would be that guacd is already running. Since the wildcard address would result in guacd listening on all interfaces, that's guaranteed to conflict with any instance of guacd listening on any interface.

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Mike Jumper
In reply to this post by Amarjeet Singh
On Aug 3, 2017 03:54, "Amarjeet Singh" <[hidden email]> wrote:
...

Configuration in guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname:172.15.9.56
guacd-port:4822

# Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
 auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
 basic-user-mapping: user-mapping.xml

Beware that the "auth-provider" property was deprecated in 0.9.7 and removed entirely as of 0.9.10-incubating. It has no effect.


# NoAuth properties
# noauth-config: noauth-config.xml


I want to use NoAuthenticatorProvider.jar to directly get the RDP.

Beware that the NoAuth extension is deprecated as of the most recent release (0.9.13-incubating). It still exists to ease migration, but should not be used for new deployments.

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Unable to Connect to GUACD Server on Linux

Amarjeet Singh
Mike,

I really appreciate your help and quick response. 
 
1. 


My guess would be that guacd is already running. Since the wildcard address would result in guacd listening on all interfaces, that's guaranteed to conflict with any instance of guacd listening on any interface.

That is what I understood from the above . 

When we start guacd using   /etc/init.d/guacd  restart  .   It automatically starts listening on 127.0.0.1 and 4822. 
Now, if we will try wildcard address, it will conflict it's own instance that is already running on 127.0.0.1 

Correct me if I am wrong .


Do we have any option to start guacd with the wildcard address  ( using  /etc/init.d/guacd  restart  ) so that it won't conflict with any instance of  guacd listening on any interface ?

2. 


Beware that the NoAuth extension is deprecated as of the most recent release (0.9.13-incubating). It still exists to ease migration, but should not be used for new deployments.

OBJECTIVE : To get the RDP session with a single URL which has all the parameters ( hostname, port, protocol, height, width, and others ) 

I am using my own extension (  URLAuthenticationProvider.java )  to directly get the RDP without authentication. I want to use the URL ( GET or POST method )  to get the protocol, hostname and port and set into configs instead of reading from the file.

I want to send these parameters along with this URL :    http://localhost:8080/tokens  .  I am studying AngularJS as of now.  I would appreciate any help from Guacamole team.

Thanks and Regards,
Amarjeet Singh


On Fri, Aug 4, 2017 at 2:34 AM, Mike Jumper <[hidden email]> wrote:
On Aug 3, 2017 03:54, "Amarjeet Singh" <[hidden email]> wrote:
...

Configuration in guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname:172.15.9.56
guacd-port:4822

# Auth provider class (authenticates user/pass combination, needed if using the provided login screen)
 auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
 basic-user-mapping: user-mapping.xml

Beware that the "auth-provider" property was deprecated in 0.9.7 and removed entirely as of 0.9.10-incubating. It has no effect.


# NoAuth properties
# noauth-config: noauth-config.xml


I want to use NoAuthenticatorProvider.jar to directly get the RDP.

Beware that the NoAuth extension is deprecated as of the most recent release (0.9.13-incubating). It still exists to ease migration, but should not be used for new deployments.

- Mike


Loading...