freerdp连接报错问题 [0x0002000B] [0x00020006]

文章描述了在使用xfreerdp工具连接到HTB主机时遇到的连接失败和激活超时错误,提供了两种解决方案:一是清除freerdp配置文件以解决连接请求回应问题,二是通过设置连接超时时间来避免激活超时问题。经过应用这些方法,作者成功解决了频繁掉线的问题。

使用xfreerdp指令连接HTB提供的目标主机,经常遇到连接失败的问题。
报错信息如下:

xfreerdp /v:10.129.248.153 /u:htb-student /p:Academy_WinFun!
[00:22:48:119] [1244932:1244933] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[00:22:48:119] [1244932:1244933] [ERROR][com.freerdp.core] - failed to connect to 10.129.248.153
[00:24:25:915] [1245573:1245574] [ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[00:24:25:918] [1245573:1245573] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]

在网上搜索后找到了两个解决方法,尝试后顺利连接,不再频繁掉线。
仅为学习记录。如有错误望指正,谢谢!

1 接收不到连接请求回应信息[0x00020006]

解决方法如下:
删除 ./config/freerdp 下的内容。

2 接收到了连接请求信息,但是激活超时Timeout waiting for activation[0x0002000B]

解决方法如下:
xfreerdp指令后设置 /timeout:60000

STMicroelectronics ST-LINK GDB server. Version 7.10.0 Copyright (c) 2025, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled InitWhile : Enabled GNU gdb (GNU Tools for STM32 13.3.rel1.20250523-0900) 14.2.90.20240526-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-w64-mingw32 --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". add-symbol-file "D:/STM32Cube/VSproject/LED_2/build/Debug/LED_2.elf" add symbol table from file "D:/STM32Cube/VSproject/LED_2/build/Debug/LED_2.elf" (y or n) [answered Y; input not from terminal] Reading symbols from D:/STM32Cube/VSproject/LED_2/build/Debug/LED_2.elf... Waiting for debugger connection... Debugger connected Waiting for debugger connection... 0x08001ddc in ?? () connected to remote target localhost:61234 Note: automatically using hardware breakpoints for read-only addresses. load "D:/STM32Cube/VSproject/LED_2/build/Debug/LED_2.elf" Loading section .isr_vector, size 0x10c lma 0x8000000 Loading section .text, size 0x10f4 lma 0x800010c Loading section .rodata, size 0x24 lma 0x8001200 Loading section .init_array, size 0x4 lma 0x8001224 Loading section .fini_array, size 0x4 lma 0x8001228 Loading section .data, size 0xc lma 0x800122c ------------------------------------------------------------------- STM32CubeProgrammer v2.20.0 ------------------------------------------------------------------- 3 Log output file: C:\Users\qiu\AppData\Local\Temp\STM32CubeProgrammer_a14332.log ST-LINK SN : E1007200D0D2139393740544 ST-LINK FW : V2J46S7 Board : -- Voltage : 3.19V Error: ST-LINK error (DEV_TARGET_RESET_ERR) Encountered Error when opening C:/Users/qiu/AppData/Local/stm32cube/bundles/programmer/2.20.0/bin\STM32_Programmer_CLI.exe Error in STM32CubeProgrammer Error finishing flash operation cube is killed by signal SIGTERM
最新发布
11-14
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值