rustdesk / rustdesk/rustdesk-server
Rustdesk: password does not match, but does not ask to enter it manually when connecting to client.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 10.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I don't know if it was a coincidence, but after I had a problem in Ubuntu 24.04, I ran out of desk, then I repaired. the next day I was going to connect to a client and he indicated a connection error, password does not match, but he did not ask for the password, so check forget password and the problem persists. Uninstall ruskdesk and reinstall clean and the problem persists.
Also try to connect me from another PC to my computer and you cannot connect. I have rustdesk hosted.
However, I can connect to the client who wants to connect from another PC and even from a cell phone.
rust version 1.4.0
Linux 6.8.0-52-generic #53-Ubuntu SMP PREEMPT_DYNAMIC Sat Jan 11 00:06:25 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
[2025-05-20 19:45:50.985042 -04:00] INFO [src/core_main.rs:151] main start args: [], env: Args { inner: ["/usr/bin/rustdesk"] }
[2025-05-20 19:45:50.986581 -04:00] INFO [src/server.rs:540] DISPLAY=Ok(":1")
[2025-05-20 19:45:50.986637 -04:00] INFO [src/server.rs:541] XAUTHORITY=Ok("/run/user/1000/gdm/Xauthority")
[2025-05-20 19:45:51.987810 -04:00] INFO [libs/scrap/src/common/hwcodec.rs:523] set hwcodec config
[2025-05-20 19:45:51.987952 -04:00] DEBUG [libs/scrap/src/common/hwcodec.rs:524] HwCodecConfig { signature: 0, ram_encode: [CodecInfo { name: "h264_nvenc", mc_name: None, format: H264, priority: 0, hwdevice: AV_HWDEVICE_TYPE_NONE }, CodecInfo { name: "h264_vaapi", mc_name: None, format: H264, priority: 1, hwdevice: AV_HWDEVICE_TYPE_NONE }, CodecInfo { name: "hevc_nvenc", mc_name: None, format: H265, priority: 0, hwdevice: AV_HWDEVICE_TYPE_NONE }], ram_decode: [CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 1, hwdevice: AV_HWDEVICE_TYPE_VAAPI }, CodecInfo { name: "h264", mc_name: None, format: H264, priority: 1, hwdevice: AV_HWDEVICE_TYPE_VAAPI }, CodecInfo { name: "h264", mc_name: None, format: H264, priority: 1, hwdevice: AV_HWDEVICE_TYPE_CUDA }, CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 1, hwdevice: AV_HWDEVICE_TYPE_CUDA }, CodecInfo { name: "h264", mc_name: None, format: H264, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }, CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }] }
[2025-05-20 19:45:52.751640 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/hs.rs:73] No cached session for DnsName("api.rustdesk.com")
[2025-05-20 19:45:52.751864 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/hs.rs:132] Not resuming any session
[2025-05-20 19:45:52.991953 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/hs.rs:615] Using ciphersuite TLS13_AES_256_GCM_SHA384
[2025-05-20 19:45:52.992000 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/tls13.rs:142] Not resuming
[2025-05-20 19:45:52.992085 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/tls13.rs:381] TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(687474702f312e31)])]
[2025-05-20 19:45:52.992093 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.12/src/client/hs.rs:472] ALPN protocol is Some(b"http/1.1")
[2025-05-20 19:45:59.092822 -04:00] INFO [src/flutter.rs:1330] Session 3379949219 start, use texture render: true
[2025-05-20 19:45:59.099372 -04:00] INFO [src/client.rs:278] rendezvous server: xxxxhidenxxx.com:21116
[2025-05-20 19:45:59.099578 -04:00] INFO [src/client.rs:296] #1 punch attempt with 192.168.100.50:42215, id: 3379949219
[2025-05-20 19:45:59.100239 -04:00] ERROR [src/client.rs:3300] Connection closed: Key mismatch(1)
[2025-05-20 19:45:59.100364 -04:00] INFO [src/client/io_loop.rs:1027] sync transfer job status
[2025-05-20 19:45:59.100645 -04:00] INFO [src/client/io_loop.rs:1038] meta: TransferSerde { write_jobs: [], read_jobs: [] }
[2025-05-20 19:45:59.100703 -04:00] INFO [src/client.rs:2628] Audio decoder loop exits
[2025-05-20 20:28:36.232475 -04:00] ERROR [src/ui_interface.rs:1169] ipc connection closed: reset by the peer
[2025-05-20 20:30:25.756035 -04:00] INFO [src/flutter.rs:1330] Session 3379949219 start, use texture render: true
[2025-05-20 20:30:25.762565 -04:00] INFO [src/client.rs:278] rendezvous server: wehserver.servebbs.com:21116
[2025-05-20 20:30:25.762752 -04:00] INFO [src/client.rs:296] #1 punch attempt with 192.168.100.50:40857, id: 3379949219
[2025-05-20 20:30:25.763496 -04:00] ERROR [src/client.rs:3300] Connection closed: Key mismatch(1)
[2025-05-20 20:30:25.763583 -04:00] INFO [src/client/io_loop.rs:1027] sync transfer job status
[2025-05-20 20:30:25.763911 -04:00] INFO [src/client/io_loop.rs:1038] meta: TransferSerde { write_jobs: [], read_jobs: [] }
[2025-05-20 20:30:25.763944 -04:00] INFO [src/client.rs:2628] Audio decoder loop exits
thankyou for help
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failed connection path in src/client.rs, especially the logged “Key mismatch(1)” at the reported session attempts. Read the related session and UI handling in src/flutter.rs and src/ui_interface.rs, using the Ubuntu 24.04 and Rust 1.4.0 details as the reproduction context. Done means the cause of the missing password prompt and failed connection is identified and the affected behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- authentication, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100