[GH-ISSUE #3600] RDP 远程桌面无法连接 #2471

Closed
opened 2026-02-27 00:53:08 +03:00 by kerem · 9 comments
Owner

Originally created by @lizhongyue248 on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3600

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-xx.xx.xx-win-x64-installer.exe

Platform detail (平台详情)

Microsoft Windows NT 10.0.22631.0 x64

What steps will reproduce the bug?(重新问题的详细步骤)

现在有一台远程 windows 11 主机,需要使用 VPN 进行连接。使用windows 自带的远程桌面可以正常连接,已经关闭网络级别身份验证
image
连接的时候为黑屏
image
测试连接失败
image

What should have happened?(期望的结果)

正常连接

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

使用同类软件 Royal TS 版本: 7.2.50424 能够正常连接
image

Additional information(其他任何相关信息)

electerm 版本 1.40

Originally created by @lizhongyue248 on GitHub (Sep 19, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3600 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-xx.xx.xx-win-x64-installer.exe ### Platform detail (平台详情) Microsoft Windows NT 10.0.22631.0 x64 ### What steps will reproduce the bug?(重新问题的详细步骤) 现在有一台远程 windows 11 主机,需要使用 VPN 进行连接。使用windows 自带的远程桌面可以正常连接,已经关闭网络级别身份验证 ![image](https://github.com/user-attachments/assets/1040f1b0-51a0-41a6-a4d6-f49ee5169400) 连接的时候为黑屏 ![image](https://github.com/user-attachments/assets/21549c3f-1e2e-4455-a0ca-5d661bee491c) 测试连接失败 ![image](https://github.com/user-attachments/assets/0af08545-a961-44ce-afc8-0e8763677161) ### What should have happened?(期望的结果) 正常连接 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 使用同类软件 Royal TS 版本: 7.2.50424 能够正常连接 ![image](https://github.com/user-attachments/assets/2fbb0b90-846f-4243-8074-a6d046b82dbf) ### Additional information(其他任何相关信息) electerm 版本 1.40
kerem closed this issue 2026-02-27 00:53:08 +03:00
Author
Owner

@lizhongyue248 commented on GitHub (Sep 19, 2024):

maybe this will helphttpsIf you don't have the c compliator, install it.(gcc or clang)

Already install gcc

❯❯ ~   17:05 gcc -v
Using built-in specs.
COLLECT_GCC=C:\Users\zyue\sdk\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/Users/zyue/sdk/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-13.2.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64 --enable-host-shared --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libstdcxx-threads=yes --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-libssp --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-win32-seh-rev1, Built by MinGW-Builds project' --with-bugurl=https://github.com/niXman/mingw-builds CFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/lib -L/c/buildroot/prerequisites/x86_64-zlib-static/lib -L/c/buildroot/prerequisites/x86_64-w64-mingw32-static/lib ' LD_FOR_TARGET=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/bin/ld.exe --with-boot-ldflags=' -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc'
Thread model: win32
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (x86_64-win32-seh-rev1, Built by MinGW-Builds project) 
<!-- gh-comment-id:2360434199 --> @lizhongyue248 commented on GitHub (Sep 19, 2024): > maybe this will helphttpsIf you don't have the c compliator, install it.(gcc or clang) Already install gcc ``` ❯❯ ~  17:05 gcc -v Using built-in specs. COLLECT_GCC=C:\Users\zyue\sdk\mingw64\bin\gcc.exe COLLECT_LTO_WRAPPER=C:/Users/zyue/sdk/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../src/gcc-13.2.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64 --enable-host-shared --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libstdcxx-threads=yes --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-libssp --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-win32-seh-rev1, Built by MinGW-Builds project' --with-bugurl=https://github.com/niXman/mingw-builds CFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/lib -L/c/buildroot/prerequisites/x86_64-zlib-static/lib -L/c/buildroot/prerequisites/x86_64-w64-mingw32-static/lib ' LD_FOR_TARGET=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/bin/ld.exe --with-boot-ldflags=' -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' Thread model: win32 Supported LTO compression algorithms: zlib gcc version 13.2.0 (x86_64-win32-seh-rev1, Built by MinGW-Builds project) ```
Author
Owner

@zxdong262 commented on GitHub (Sep 19, 2024):

需要把domain也填写,跟host一样就行

<!-- gh-comment-id:2360468500 --> @zxdong262 commented on GitHub (Sep 19, 2024): 需要把domain也填写,跟host一样就行
Author
Owner

@zxdong262 commented on GitHub (Sep 19, 2024):

maybe this will helphttpsIf you don't have the c compliator, install it.(gcc or clang)

Already install gcc

❯❯ ~   17:05 gcc -v
Using built-in specs.
COLLECT_GCC=C:\Users\zyue\sdk\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/Users/zyue/sdk/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-13.2.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64 --enable-host-shared --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libstdcxx-threads=yes --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-libssp --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-win32-seh-rev1, Built by MinGW-Builds project' --with-bugurl=https://github.com/niXman/mingw-builds CFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/lib -L/c/buildroot/prerequisites/x86_64-zlib-static/lib -L/c/buildroot/prerequisites/x86_64-w64-mingw32-static/lib ' LD_FOR_TARGET=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/bin/ld.exe --with-boot-ldflags=' -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc'
Thread model: win32
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (x86_64-win32-seh-rev1, Built by MinGW-Builds project) 

上面是病毒

<!-- gh-comment-id:2360470015 --> @zxdong262 commented on GitHub (Sep 19, 2024): > > maybe this will helphttpsIf you don't have the c compliator, install it.(gcc or clang) > > Already install gcc > > ``` > ❯❯ ~  17:05 gcc -v > Using built-in specs. > COLLECT_GCC=C:\Users\zyue\sdk\mingw64\bin\gcc.exe > COLLECT_LTO_WRAPPER=C:/Users/zyue/sdk/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe > Target: x86_64-w64-mingw32 > Configured with: ../../../src/gcc-13.2.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64 --enable-host-shared --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libstdcxx-threads=yes --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-libssp --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-win32-seh-rev1, Built by MinGW-Builds project' --with-bugurl=https://github.com/niXman/mingw-builds CFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/opt/lib -L/c/buildroot/prerequisites/x86_64-zlib-static/lib -L/c/buildroot/prerequisites/x86_64-w64-mingw32-static/lib ' LD_FOR_TARGET=/c/buildroot/x86_64-1320-win32-seh-msvcrt-rt_v11-rev1/mingw64/bin/ld.exe --with-boot-ldflags=' -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' > Thread model: win32 > Supported LTO compression algorithms: zlib > gcc version 13.2.0 (x86_64-win32-seh-rev1, Built by MinGW-Builds project) > ``` 上面是病毒
Author
Owner

@lizhongyue248 commented on GitHub (Sep 20, 2024):

@zxdong262 还是不行,配置如下

image

image

<!-- gh-comment-id:2362526627 --> @lizhongyue248 commented on GitHub (Sep 20, 2024): @zxdong262 还是不行,配置如下 ![image](https://github.com/user-attachments/assets/b9b8e35d-3b08-43c8-8133-24cc5cfd695f) ![image](https://github.com/user-attachments/assets/a1004a17-4f00-4c52-81e4-fa2acc14ffab)
Author
Owner

@zxdong262 commented on GitHub (Sep 20, 2024):

新版本支持网络身份验证,你试试打开行不行,如果还不行就是其他问题了,我这里试过win11是可以的

<!-- gh-comment-id:2362567390 --> @zxdong262 commented on GitHub (Sep 20, 2024): 新版本支持网络身份验证,你试试打开行不行,如果还不行就是其他问题了,我这里试过win11是可以的
Author
Owner

@lizhongyue248 commented on GitHub (Sep 20, 2024):

新版本支持网络身份验证,你试试打开行不行,如果还不行就是其他问题了,我这里试过win11是可以的

不行,报错信息是
image

<!-- gh-comment-id:2362568983 --> @lizhongyue248 commented on GitHub (Sep 20, 2024): > 新版本支持网络身份验证,你试试打开行不行,如果还不行就是其他问题了,我这里试过win11是可以的 不行,报错信息是 ![image](https://github.com/user-attachments/assets/20e8c020-bb08-4a6f-9266-1d64abf90650)
Author
Owner

@lizhongyue248 commented on GitHub (Sep 20, 2024):

貌似是 浏览器 的问题

https://github.com/electron/electron/issues/31042#issuecomment-924530909

https://github.com/rumblefishdev/electron-ssl-problem

<!-- gh-comment-id:2362700295 --> @lizhongyue248 commented on GitHub (Sep 20, 2024): 貌似是 浏览器 的问题 https://github.com/electron/electron/issues/31042#issuecomment-924530909 https://github.com/rumblefishdev/electron-ssl-problem
Author
Owner

@lizhongyue248 commented on GitHub (Sep 23, 2024):

node-rdpjs 也有类似的 issue

https://github.com/citronneur/node-rdpjs/issues/32

<!-- gh-comment-id:2367169193 --> @lizhongyue248 commented on GitHub (Sep 23, 2024): node-rdpjs 也有类似的 issue https://github.com/citronneur/node-rdpjs/issues/32
Author
Owner

@zxdong262 commented on GitHub (Jan 18, 2025):

-> https://github.com/electerm/electerm/issues/3764

<!-- gh-comment-id:2599524916 --> @zxdong262 commented on GitHub (Jan 18, 2025): -> https://github.com/electerm/electerm/issues/3764
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2471
No description provided.