mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
virtual display, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1075,7 +1075,6 @@ impl Connection {
|
||||
#[cfg(target_os = "linux")]
|
||||
if _username.is_empty() {
|
||||
let username = crate::platform::linux_desktop_manager::get_username();
|
||||
println!("REMOVE ME ===================================== try_start_desktop username '{}'", &username);
|
||||
if username.is_empty() {
|
||||
LOGIN_MSG_XSESSION_NOT_READY
|
||||
} else {
|
||||
@@ -1315,14 +1314,12 @@ impl Connection {
|
||||
}
|
||||
} else {
|
||||
if desktop_err.is_empty() {
|
||||
println!("REMOVE ME =============================== send logon response");
|
||||
self.send_logon_response().await;
|
||||
self.try_start_cm(lr.my_id, lr.my_name, true);
|
||||
if self.port_forward_socket.is_some() {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
println!("REMOVE ME =============================== send login error {}", &desktop_err);
|
||||
self.send_login_error(desktop_err).await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user