Commit Graph

494 Commits

Author SHA1 Message Date
RustDesk
97f14d21e8
Merge pull request #5197 from 21pages/opt
log nothing if config file not found
2023-07-30 12:53:42 +08:00
21pages
2c619cbe41 quite if config file not found, remove HW_CODEC_CONFIG, option env LIBGL_ALWAYS_SOFTWARE=1
Signed-off-by: 21pages <pages21@163.com>
2023-07-30 12:42:23 +08:00
rustdesk
dd4f52b63d move closing-tabs to local config, and add glgetstring to stack check 2023-07-30 12:16:00 +08:00
fufesou
19c8ba719a refact, linux headless option, ui
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-29 15:51:42 +08:00
fufesou
c15e3c306e refact, option, allow linux headless
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-29 15:50:29 +08:00
Bob Weinand
4b58f0b4dd Allow to explicitly increase the bitrate massively
This has the benefit - over direct connections - to be able to send a lot more data.
In particular fast moving frames may avoid fps drops with a higher target bitrate.
2023-07-27 18:34:01 +08:00
21pages
e70f3f2125 fix qos and add auto_adjust_fps
Signed-off-by: 21pages <pages21@163.com>
2023-07-25 15:49:50 +08:00
21pages
02456280d4 fix win cpu monitor run once
Signed-off-by: 21pages <pages21@163.com>
2023-07-24 14:54:15 +08:00
21pages
aa740f4263 remove many unwrap and enum_value_or_default
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:58 +08:00
21pages
31b3c5d721 codec thread count depending on cpu condition
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:52 +08:00
21pages
fd9f5475f3 multiuser video qos and client increace fps support
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 19:54:42 +08:00
rustdesk
07137ac566 sys info 2023-07-22 14:30:47 +08:00
rustdesk
aacffd979b make config in exe name has highest priority, also overwrite config if
installation,
https://github.com/rustdesk/rustdesk-server-pro/issues/21#issuecomment-1638259580,
not tested yet
2023-07-19 14:45:11 +08:00
dignow
31fc018526 change message.proto
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-19 07:33:35 +08:00
dignow
c86a8fff03 add pointer device event
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-19 01:18:10 +08:00
dignow
7bbc5183db trackpad scale, mid commit
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-18 21:04:12 +08:00
RustDesk
a24a7e8d0f
Merge pull request #5017 from 21pages/fix
clear hwcodec config rather than remove
2023-07-16 11:53:32 +08:00
21pages
ec34470284 clear hwcodec config rather than remove
Signed-off-by: 21pages <pages21@163.com>
2023-07-16 09:59:46 +08:00
fufesou
77231f6538 simple refact
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-16 09:52:32 +08:00
fufesou
2051bee3cf fix, wayland, change resolutions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-07-16 08:29:26 +08:00
rustdesk
12149bf3e3 let's maintain ny and sg only 2023-07-07 15:59:03 +08:00
rustdesk
b85cb81d9e maintain one id server only 2023-07-07 15:55:51 +08:00
21pages
9ad9cb8ff2 Revert "remove peers platform filter for failed connections"
This reverts commit b5cf959206.
2023-07-05 09:58:00 +08:00
21pages
c42fbe3d45 update machine-uid for x86 sciter access x64 machine id
Signed-off-by: 21pages <pages21@163.com>
2023-07-02 18:31:24 +08:00
21pages
6f3123bf02 workaround: set the max encryption input length to 128 to avoid big
encryped data

Signed-off-by: 21pages <pages21@163.com>
2023-07-02 18:31:24 +08:00
21pages
b5cf959206 remove peers platform filter for failed connections
Signed-off-by: 21pages <pages21@163.com>
2023-07-02 18:30:54 +08:00
rustdesk
8ab2a79fa2 refactoring conn audit, add session_id (both session_id and conn_id on
sever side), use session_id instead of conn_id for client id, and remove
conn_id in protobuf
2023-07-01 16:21:36 +08:00
dignow
588168f638 replace close button to inkwell
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-01 14:43:00 +08:00
rustdesk
56eac7294c reuseaddr in listen_any 2023-06-27 15:20:32 +08:00
dignow
d15deabba5 better conditional compilation
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-24 21:09:45 +08:00
RustDesk
e30f09e7f7
Revert "Fix/mobile connection login state" 2023-06-23 18:25:42 +08:00
dignow
96d95fa08a fix user login state
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-23 13:27:36 +08:00
rustdesk
f327364d32 remove odic in config 2023-06-20 21:15:46 +08:00
fufesou
ccd2cbd760 try fix clipboard, flutter version
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-20 00:57:01 +08:00
rustdesk
1ededa3476 add some serde skip 2023-06-11 13:33:38 +08:00
21pages
2ececed0c1 use uuid as session id
Signed-off-by: 21pages <pages21@163.com>
2023-06-08 07:24:02 +08:00
fufesou
6959f044f0 debug restore resolution
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-05 20:33:24 +08:00
fufesou
3c2bf2c154 debug restore resolutions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-05 20:33:24 +08:00
fufesou
e670989e0f restore custom resolution for each display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-05 20:33:24 +08:00
fufesou
113bf15cd4 fix default peer options
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-06-04 19:58:55 +08:00
21pages
e482dc3e2b aom encode/decode
Signed-off-by: 21pages <pages21@163.com>
2023-05-21 16:26:18 +08:00
fufesou
0f07b71f18 fix build windows i686
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 23:38:18 +08:00
fufesou
6b4cc6443f fix resolutions query on linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 11:43:35 +08:00
fufesou
8c0fa989b6 fix macro_role: serde_field_string, add config tests
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 11:10:24 +08:00
fufesou
a603e046e3 refactor resolution, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-18 23:46:53 +08:00
rustdesk
8706541aa9 fix ci 2023-05-18 13:06:49 +08:00
RustDesk
b3115de028
Merge pull request #4395 from 21pages/config
Config
2023-05-18 13:01:13 +08:00
21pages
abaa7adfa8 run ci tests
Signed-off-by: 21pages <pages21@163.com>
2023-05-18 09:57:00 +08:00
21pages
33fb415b9d Config deserialization field type protection
Signed-off-by: 21pages <pages21@163.com>
2023-05-18 09:56:45 +08:00
21pages
5bd8befb0f remove time check
Signed-off-by: 21pages <pages21@163.com>
2023-05-16 15:59:31 +08:00
fufesou
edf6b00f13 remove all assert in non-test code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 14:40:33 +08:00
rustdesk
baecf3edb8 enc punch 2023-05-14 18:17:02 +08:00
fufesou
4eb6bd82a4 plugin_framework, handle plugin list
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
db71dd039d plugin_framework, manager, install plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
rustdesk
302f1c48d3 update crates, test on mac only 2023-05-11 12:04:38 +08:00
Kingtous
7a82070420 fix: make event loop in tray compatible with main window 2023-05-02 12:52:27 +08:00
fufesou
82bfa9ca29 plugin_framework, split call function to server side and client side
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-26 13:29:55 +08:00
Awalon
82c44d71f9
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of 2nd review for initial PR #4165.
Reduced number of info/log messages
2023-04-24 23:45:23 +02:00
Awalon
dcc9337f86
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of review for PR #4165.
2023-04-23 23:58:04 +02:00
Awalon
028767da8b
Fix for #4136 connection to linux refused by using wrong Xauthority file
Solution:
1. Get file from sddm-greeter and startplasma-x11 (aka KDE) processes as well
2. Get users home dir from system instead of hard coded pattern /home/<user>
3. Prefer XAUTHORITY environment variable over Xorg -auth if available
2023-04-23 03:43:47 +02:00
hiteshbedre
21f9add9ce
Corrected IPv4 Validation 2023-04-21 16:07:48 +05:30
fufesou
f7e2938e6b handle peer event
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 17:07:56 +08:00
fufesou
ecf8c2664c plugin, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 11:38:01 +08:00
fufesou
9d8e7745e2 refact virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:32 +08:00
fufesou
35ec3ffef6 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:31 +08:00
rustdesk
c83b4398af minor 2023-04-10 18:29:33 +08:00
RustDesk
045235d8d1
Merge pull request #3953 from 21pages/fps
client side fps control for reduce delay
2023-04-07 19:02:08 +08:00
21pages
b79f14af12 client side fps control for reduce delay
Signed-off-by: 21pages <pages21@163.com>
2023-04-07 18:53:29 +08:00
fufesou
ac74ed1914 legacy mode, win, fix layout code simulation
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 17:53:07 +08:00
fufesou
83cfa24bae suppress warn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 12:02:49 +08:00
fufesou
a65611da48 do not handle signal on debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 12:02:01 +08:00
21pages
f2aeff974c disable hwcodec if causing crash
Signed-off-by: 21pages <pages21@163.com>
2023-04-04 21:00:13 +08:00
RustDesk
cb66c6f9f4
Merge pull request #3902 from fufesou/feat/linux_virtual_display
Feat/linux virtual display (headless linux)
2023-04-03 14:28:50 +08:00
fufesou
73358502e9 linux headless feature, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:58 +08:00
fufesou
ee3ac31083 add deps libpam0g-dev
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:57 +08:00
fufesou
d86ef4a86e headless, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
d82d2471d7 temp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
34c3615320 get values of seat0, do not filter gdm
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
127ab57d62 ignore 'gdm' on loginctl
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
888c851167 desktop, remote toolbar, os account
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:53 +08:00
fufesou
c944d6093d virtual display, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:52 +08:00
qcloud
b82207f20b virtual display, linux, debug
Signed-off-by: qcloud <ubuntu@localhost.localdomain>
2023-04-03 13:16:52 +08:00
fufesou
5e79481860 linux, refact desktop env
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:51 +08:00
fufesou
a94052a24a ignore seat0 on gdm
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:49 +08:00
fufesou
10eddc139c linux virtual display, init commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:49 +08:00
21pages
c842650c11 vp8
Signed-off-by: 21pages <pages21@163.com>
2023-04-03 12:22:36 +08:00
fufesou
ae53ec877b translate mode, win2win, Send both unicode and virtual keycode to remote side
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 18:09:53 +08:00
fufesou
de485ca3a4 remove wait prelogin in service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 10:59:23 +08:00
fufesou
3ab73bdf36 fix x11 login screen
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 10:27:15 +08:00
RustDesk
83b7518897
Revert "vp8" 2023-04-01 10:13:39 +08:00
21pages
78748271ac vp8
Signed-off-by: 21pages <pages21@163.com>
2023-03-31 22:32:34 +08:00
fufesou
f3bb3067cd trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:58:05 +08:00
fufesou
4d87364bd8 trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:54:45 +08:00
fufesou
0b417ac479 start --server on gmd wayland, just for communications, no connections will be established
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:42:35 +08:00
fufesou
8cb361c51e remove android build warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-27 21:11:07 +08:00
rustdesk
b763ec3080 revert #560 for #3748 2023-03-23 14:31:50 +08:00
fufesou
1d122b5a73 platform additions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-21 11:27:30 +08:00
RustDesk
8b229f304d
Merge pull request #3719 from chiehw/win-linux
translate mode: support linux in server
2023-03-20 15:55:24 +08:00
asur4s
6ffa2cacb1 Clean remapped keycodes when breakdown 2023-03-19 19:02:59 -07:00
21pages
774694714d fix view mode
Signed-off-by: 21pages <pages21@163.com>
2023-03-17 11:28:13 +08:00
21pages
0e05df12fc client side view mode
Signed-off-by: 21pages <pages21@163.com>
2023-03-16 14:35:41 +08:00
rustdesk
3af77af983 sync hbb_common 2023-03-16 00:56:36 +08:00
rustdesk
a3c6ac24a9 add region to proto 2023-03-15 19:29:03 +08:00
Kingtous
7a05910807 feat: identical msg in flutter and sciter 2023-03-15 17:21:15 +08:00
Kingtous
b627a0d6c1 feat: post file confirm and make files with the same name confirm 2023-03-15 17:21:15 +08:00
rustdesk
22174bea37 fix ci 2023-03-11 01:53:36 +08:00
rustdesk
8a27c55db2 remove sys-info crate for mobile because which depends on libunwind, it
is not in ndk r22b
2023-03-11 01:34:33 +08:00
rustdesk
09b823d637 higher sysinfo version 2023-03-10 23:41:01 +08:00
21pages
cdea6daf89 fix frequent load RustDesk_default.toml
Signed-off-by: 21pages <pages21@163.com>
2023-03-10 11:24:43 +08:00
rustdesk
61679a1072 upgrade some crates, fix scrap benchmark on mac, fix compile issue on
osx10.14
2023-03-09 17:22:14 +08:00
rustdesk
d1e0ae7815 never show empty display server, use x11 instead, #3541 2023-03-08 11:28:00 +08:00
rustdesk
5052ba5f00 refactor log 2023-03-04 17:26:24 +08:00
fufesou
0d64ee39de remove print
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-01 12:20:54 +08:00
fufesou
303462a87c default config filed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-01 12:12:02 +08:00
sjpark
b5c4de9c83 Merge remote-tracking branch 'github/master' into sigma
# Conflicts:
#	flutter/lib/desktop/widgets/remote_menubar.dart
2023-02-25 11:37:12 +09:00
21pages
91a2a5b56e win resolution && api
Signed-off-by: 21pages <pages21@163.com>
2023-02-24 09:14:13 +08:00
21pages
4beacf93d7 kill check-hwcodec-config process
Signed-off-by: 21pages <pages21@163.com>
2023-02-21 16:34:24 +08:00
fufesou
0491950e01 macos remove unused code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 22:29:10 +08:00
fufesou
b4beb78e8f macOS, ignore alert for now
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 21:28:48 +08:00
fufesou
e1254c0b24 macos better alert
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 21:12:34 +08:00
fufesou
626fdefb18 debug macos and linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 12:01:46 +08:00
fufesou
a333a261fd add alert for macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 11:40:59 +08:00
fufesou
b733ad9379 refact register_breakdown_handler
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 10:19:28 +08:00
fufesou
302499d1e0 fix sync displays info && select monitor menu
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-17 13:32:17 +08:00
fufesou
e24f5e7eed mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-14 21:42:30 +08:00
rustdesk
d416d7d965 base64 icon only for sciter 2023-02-11 00:21:19 +08:00
sjpark
edff4acbcb swap key update 2023-02-09 12:16:41 +09:00
rustdesk
7c13be5876 update issue template and clippy for hbb_common 2023-02-08 17:26:44 +08:00
Kingtous
e944b776bc opt: remove unnecessary config field 2023-02-07 20:59:13 +08:00
Kingtous
a04980fa13 refactor: remove audio mode 2023-02-07 16:20:37 +08:00
Kingtous
45b93100d6 feat: add voice call proto 2023-02-07 16:20:37 +08:00
Kingtous
05822991bf opt: rename to dual-way 2023-02-07 16:20:37 +08:00
Kingtous
cb228bef2b feat: add audio switch ui 2023-02-07 16:20:37 +08:00
21pages
92145eeb71 other bool default display settings
Signed-off-by: 21pages <pages21@163.com>
2023-02-02 10:47:49 +08:00
21pages
359f19af02 default display settings
Signed-off-by: 21pages <pages21@163.com>
2023-02-02 10:47:42 +08:00
rustdesk
ec1da900ec fix issue #2963: run gen_version no matter debug or release 2023-02-01 10:42:02 +08:00
rustdesk
a8c3499d7b sync with rustdesk-server hbb_common 2023-01-27 11:42:08 +08:00
4JX
f591f5686c Use OUT_DIR in build.rs 2023-01-23 19:26:10 +01:00
rustdesk
efa7b52f49 fix nightly build RS_PUB_KEY issue 2023-01-24 01:32:56 +08:00
rustdesk
d4851ebb40 revert 8fb3c452be 2023-01-24 01:24:53 +08:00
21pages
333092f983 switch sides
Signed-off-by: 21pages <pages21@163.com>
2023-01-20 14:53:05 +08:00
RustDesk
b3465e1c13
Merge pull request #2851 from AutumnSun1996/master
Allow direct connect to {hostname}:{port}
2023-01-18 14:35:50 +08:00
rustdesk
8fb3c452be Allow setting custom server and key with env variables #2810 2023-01-18 14:22:41 +08:00
qiushiyang
aa2cd37fb3 use more accurate regex for {domain}:{port} 2023-01-18 06:08:46 +00:00
RustDesk
7aced73393
Revert "Allow setting custom server and key with env variables" 2023-01-18 11:48:10 +08:00
RustDesk
a46c373081
Merge pull request #2810 from botanicvelious/master
Allow setting custom server and key with env variables
2023-01-18 11:48:01 +08:00
qiushiyang
12d446b217 fix test for is_hostname_port_str 2023-01-18 03:35:13 +00:00
botanicvelious
b59ae9bd42
requires 3 elements in array 2023-01-17 08:03:24 -07:00
botanicvelious
9980246b90
add RS_DEF_PUB_KEY 2023-01-17 07:54:11 -07:00
qiushiyang
d601a82b5a Allow direct connect to {hostname}:{port} 2023-01-17 22:46:11 +08:00