21pages
50d080d098
enable retina scale factor ( #7269 )
...
* enable retina scale factor
* enabled only when there are only one video service running
* scale mouse event
* scale cursor position
* scale remote menu display button
* adjust resolution
Signed-off-by: 21pages <pages21@163.com>
* Update server.rs
---------
Signed-off-by: 21pages <pages21@163.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-02-27 22:28:23 +08:00
fufesou
1dde5c5689
Refact. get_version_number support '- patch version' ( #7197 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-24 20:11:27 +08:00
wangweijie
cce1ce0ee0
Add loongarch64 support ( #7244 )
...
Signed-off-by: wangweijie <wangweijie@loongson.cn>
2024-02-23 20:08:35 +08:00
21pages
0f44de7dc3
refactor windows specific session ( #7170 )
...
1. Modify the process to have the control side lead the session switching: After the control side sends a `LoginRequest`, the controlled side will add all session information and the current session ID in the `LoginResponse`. Upon receiving the `LoginResponse`, the control side will check if the current session ID matches the ID in the `LoginConfigHandler`. If they match, the control side will send the current session ID. If they don't match, a session selection dialog will pop up, the selected session id will be sent. Upon receiving this message, the controlled side will restart if different or sub service if same .
2. Always show physical console session on the top
3. Show running session and distinguish sessions with the same name
4. Not sub service until correct session id is ensured
5. Fix switch sides not work for multisession session
6. Remove all session string join/split except get_available_sessions in
windows.rs
7. Fix prelogin, when share rdp is enabled and there is a rdp session,
the console is in login screen, get_active_username will be the rdp's
username and prelogin will be false, cm can't be created an that
causes disconnection in a loop
8. Rename all user session to windows session
Known issue:
1. Use current process session id for `run_as_user`, sahil says it can
be wrong but I didn't reproduce.
2. Have not change tray process to current session
3. File transfer doesn't update home directory when session changed
4. When it's in login screen, remote file directory is empty, because cm
have not start up
Signed-off-by: 21pages <pages21@163.com>
2024-02-18 22:08:25 +08:00
Sahil Yeole
4bf3764b5d
Feat: Windows connect to a specific user session ( #6825 )
...
* feat windows connect to specific user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix import
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple user session fields
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix file transfer
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix text color on light theme
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat windows connect to specific user session code changes and sciter support
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update texts
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter selected user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add translations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Use Y,N options
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update dialog.dart
* Update connection.rs
* Update connection.rs
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use lr.union
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused peer options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* select user only when authorised and no existing connection
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* check for multiple users only once
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* optimise and add check for client version
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use misc option message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update rdp user session proto
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cm on user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update pl.rs
* update on_message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove user_session_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple connections
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2024-02-14 23:59:17 +08:00
rustdesk
72fc34cd40
upgrade to tokio 1.36
2024-02-14 12:19:18 +08:00
21pages
5581248a1e
fix startup crash on windows without adapter ( #7093 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-02-09 16:53:15 +08:00
wesley800
c97cc15c0e
Warn on MIT-SHM not working on Linux X11 ( #6856 )
...
* Clarify video capture method
* fix improper level of pointer usage of xcb_generic_error_t
* add ffi of xcb_shm_query_version
* throw a warn about MIT-SHM not working
* add missing #[cfg]
* checks SHM validity on the fly, rather than cache on creation
---------
Co-authored-by: root <root@localhost>
Co-authored-by: rustdesk-fork <rustdesk@fork.com>
2024-01-31 17:49:09 +08:00
rustdesk
dd4b5349cb
revert https://github.com/rustdesk/rustdesk/pull/6980
2024-01-26 19:22:26 +08:00
rustdesk
3899e4e12e
add round to avoid precision problem
2024-01-26 12:59:47 +08:00
rustdesk
f016281e30
fix ci
2024-01-26 12:54:36 +08:00
Sahil Yeole
1d755c705b
Fix: Mac retina display video blur ( #6980 )
...
* fix mac retina display blur
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update display.rs
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-01-26 12:50:13 +08:00
21pages
71d7398ae7
video handler holds only one decoder of the current codec format ( #6939 )
...
1. For example: when receiving h264 video frames, only 1 decoder is created, vram > ram
2. For creation and decoding failed:
* Remove real_supported_decodings, this will update real existing decoders, replace it with the "mark_unsupported" vector. After creating the decoder failure, marks the codec as unsupported and updates supported decoding to the controlled side
* Add `fail_counter` in the decoder. When decoding 10 consecutive frames failed, adding codec type to 'mark_unsupported' vector
* The controlled end always ignores the unavailability of VP9
Signed-off-by: 21pages <pages21@163.com>
2024-01-22 20:01:17 +08:00
RustDesk
804f035a87
Revert "disable ffmpeg ram codec temporarily" ( #6928 )
2024-01-20 17:20:08 +08:00
21pages
267342e7e6
disable ffmpeg ram codec temporarily ( #6927 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-20 17:19:30 +08:00
rustdesk
44e6b7dbb0
2fa for unattended access
2024-01-19 15:35:58 +08:00
rustdesk
fdb038c7c9
one byte for future use
2024-01-10 11:48:23 +08:00
rustdesk
f7b35defc9
finish tcp rendezvous keep alive logic following mqtt, but defined by
...
server so that it can be easily to be controlled at server side.
2024-01-09 22:41:11 +08:00
21pages
89150317e1
add zero copy mode hareware codec for windows ( #6778 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-02 16:58:10 +08:00
rustdesk
36ed8f3f73
change REG_INTERVAL to 15 seconds to follow quic
2024-01-02 13:42:32 +08:00
Sahil Yeole
20b4ce3213
Wayland: Skip remote desktop portal calls when uinput is available ( #6758 )
...
* skip rdp when uinput is available
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix is_server_running
* remove clones
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-12-28 10:40:58 +08:00
RustDesk
4b581c385c
Revert "fix xdg portal verison check for persist_mode ( #6742 )" ( #6755 )
...
This reverts commit 57acadd52a
.
2023-12-27 11:28:17 +08:00
linuxrider
57acadd52a
fix xdg portal verison check for persist_mode ( #6742 )
2023-12-24 16:33:36 +08:00
Sahil Yeole
445fe6e714
Feat: Wayland flatpak input support | Remote desktop portal ( #6675 )
...
* autogen portal code
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use remote desktop portal
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove clipboard portal in favour of #6586
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove clipboard portal
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use select_devices for input capture
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove embedded cursor code as not being used | return session path for input capture
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* setup rdp input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove simulate example
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* setup rdp input raw key events + mouse movements
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix rdp raw key input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* refact rdp raw key inpuy & fix right meta key
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* refact and support rdp layout mode key input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* support rdp mouse clicks
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* support rdp mouse scroll
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* support rdp key sequence input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use rdp input only when uinput is not available
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* combine rdp input and get_capturables into a single rdp request
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* rdp fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* rdp fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix rdp caps lock
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* format pipewire.rs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* format rdp_input.rs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* revert #6628 as rdp request state is now managed (better solution)
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix rdp crash on arch kde
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* rdp_input.rs improvements
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* refact request_remote_desktop
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* improve unwraps
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unwraps
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use session references instead of clones
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-12-19 10:44:58 +08:00
RustDesk
ebb14af488
Revert "use fullrange by default for yuv420p if supported ( #6655 )" ( #6656 )
...
This reverts commit 80afa98d66
.
2023-12-11 22:46:32 +08:00
21pages
80afa98d66
use fullrange by default for yuv420p if supported ( #6655 )
...
1. Explicitly specify the color space as bt601
2. Use fullrange by default for yuv420p if supported
3. Use the pix_fmt space range format to identify codec capabilities, make i444 proto field deprecated, and cause the non-release version of 444 true color to fail.
Signed-off-by: 21pages <pages21@163.com>
2023-12-11 22:31:01 +08:00
21pages
03c8d94024
mobile/desktop use same 'other default settings' ( #6652 )
...
1. mobile add 'reverse mouse wheel' default setting
2. change related menu position
Signed-off-by: 21pages <pages21@163.com>
2023-12-11 15:32:13 +08:00
RustDesk
b8f7259fbd
Merge pull request #6520 from 21pages/wakelock
...
wake lock for all connection type
2023-11-25 20:34:14 +08:00
21pages
2de1c62daf
wake lock for all connection type
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-25 17:43:07 +08:00
RustDesk
dbcf1fdb6f
Merge pull request #6515 from 21pages/android_service_wakelock
...
android video service wakelock
2023-11-24 13:14:06 +08:00
21pages
bd81e4d0fb
android video service wakelock
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-24 12:02:45 +08:00
rustdesk
fa8e0ed27b
brotli 3.4
2023-11-23 19:52:53 +08:00
rustdesk
b6e403a3fb
zstd 0.13
2023-11-23 19:35:42 +08:00
Sahil Yeole
948db1451f
fix stream resolution mismatch/distortion on scaling
...
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-21 16:59:45 +05:30
fufesou
3100930136
translation & Rustdesk to RustDesk
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-21 10:55:46 +08:00
fufesou
83dbf88ffb
feat, win10, virtual display, not support message
...
Signed-off-by: fufesou <shuanglongchen@yeah.ne>
2023-11-20 21:44:25 +08:00
fufesou
3e8c5d3b79
trivial changes
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 17:42:34 +08:00
fufesou
2aaca0c54a
Remove get_error() in windows.rs
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 17:38:53 +08:00
fufesou
c6d587f0c7
Refact, use std::io::Error::from_raw_os_error() to format message
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 17:22:14 +08:00
fufesou
c85682de8d
Refact, replace GetLastError() by std::io::Error::last_os_error()
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 17:15:15 +08:00
fufesou
9c12c3ee4e
remove useless \n
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 16:48:05 +08:00
fufesou
2c432dbf4d
format idd error message
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 16:41:02 +08:00
fufesou
0c8643837f
Modify the error message
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 16:11:59 +08:00
fufesou
3fd97f7e60
modify error message
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 15:54:29 +08:00
fufesou
6f0fbd1088
feat, format idd error message
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 15:30:56 +08:00
fufesou
c23f377039
feat, topmost window, exclude from capture
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-20 07:41:04 +08:00
21pages
9847fc5c77
fix exceeding max allowed thread count, thread count <= available memory / 2
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-19 11:36:23 +08:00
21pages
f9ee0189f0
format log, add space after colon
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-18 09:52:46 +08:00
RustDesk
8d327af0ac
Merge pull request #6411 from fufesou/fix/displays_order
...
fix, windows displays' order mismatch the system settings display
2023-11-15 15:39:59 +08:00
fufesou
182ee8f233
fix, order displays from dxgi
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 22:04:17 +08:00