Apache-Guacamole 连接win10失败
生活随笔
收集整理的這篇文章主要介紹了
Apache-Guacamole 连接win10失败
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
個人嘗試使用win10 + debian子系統(tǒng)安裝運行Apache Guacamole實現(xiàn)web端遠程連接服務器。
在安裝完成后,可以正常連接華為云服務器(window Server2008),在遠程本地win10時報錯。
web端面頁面提示如下
| The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs. ? |
guacamole-client Tomcat報錯如下
| 14:15:01.718 [http-nio-8081-exec-2] INFO ?o.a.g.tunnel.TunnelRequestService - User "user" disconnected from connection "*.*.*.*". Duration: 50055 milliseconds 14:15:01.719 [http-nio-8081-exec-2] DEBUG o.a.g.net.InetGuacamoleSocket - Closing socket to guacd. 14:15:02.223 [Thread-13] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd closed. org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is closed. ? ? ? ? at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:183) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246) ~[guacamole-common-1.0.0.jar:na] Caused by: java.net.SocketException: Socket closed ? ? ? ? at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_232] ? ? ? ? at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_232] ? ? ? ? at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[na:1.8.0_232] ? ? ? ? at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_232] ? ? ? ? at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[na:1.8.0_232] ? ? ? ? at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[na:1.8.0_232] ? ? ? ? at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[na:1.8.0_232] ? ? ? ? at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.8.0_232] ? ? ? ? at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169) ~[guacamole-common-1.0.0.jar:na] ? ? ? ? ... 5 common frames omitted |
經過查找相關解決方案(適用于Windows Server 2016 RDP),需要修改win10注冊表。內容如下
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
|
做個記錄..
總結
以上是生活随笔為你收集整理的Apache-Guacamole 连接win10失败的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 开关电源-1.选择熔断器,可以取最Irm
- 下一篇: 这些学校可以查考研成绩排名!