virtual display, linux, debug

Signed-off-by: qcloud <ubuntu@localhost.localdomain>
This commit is contained in:
qcloud
2023-03-29 17:39:16 +08:00
committed by fufesou
parent 6149c7f477
commit b82207f20b
4 changed files with 31 additions and 69 deletions

View File

@@ -111,6 +111,7 @@ impl DesktopManager {
pub fn new() -> Self {
let mut x11_username = "".to_owned();
let seat0_values = get_values_of_seat0(&[0, 1, 2]);
println!("REMOVE ME ======================== DesktopManager seato values {:?}", &seat0_values);
if !seat0_values[0].is_empty() {
if "x11" == get_display_server_of_session(&seat0_values[1]) {
x11_username = seat0_values[2].clone();
@@ -608,7 +609,7 @@ impl DesktopManager {
//"-logfile",
//"/tmp/RustDesk_xorg.log",
"-config",
"rustdesk/xorg.conf",
"/etc/rustdesk/xorg.conf",
"-auth",
xauth,
display,