Replies: 4 comments 9 replies
-
@sahilyeole ask @21pages if you have any question. |
Beta Was this translation helpful? Give feedback.
-
Hey @21pages, Thanks for the clue. How about instead of I tried it and now those unnecessary Implementation of rustdesk/src/platform/linux.rs Lines 907 to 909 in 32a32e4 |
Beta Was this translation helpful? Give feedback.
-
@sahilyeole update?This super simple task should not take long. |
Beta Was this translation helpful? Give feedback.
-
Why do not we spawn a |
Beta Was this translation helpful? Give feedback.
-
Issue
The --server process may be started late on Wayland after installation, taking approximately 25 seconds. If the main window is started before the server, the server's IPC, will be occupied by the main window, causing the server to restart repeatedly.
How to reproduce
Clue
The issue is related to the code in the following links:
rustdesk/src/platform/linux.rs
Line 1091 in 82b730c
rustdesk/src/platform/linux.rs
Line 648 in 82b730c
The desktop.refresh() function takes about 25 seconds to execute, with most of the time consumed by the sleep_millis(300) function, which is used to retrieve the environment variables DISPLAY and XAUTHORITY. These variables are unnecessary for Wayland. However, the is_login_wayland function is giving a false result.
Task
Beta Was this translation helpful? Give feedback.
All reactions