virtual display, linux, debug

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-03-29 18:31:42 +08:00
parent b82207f20b
commit bcf08ba26d
3 changed files with 4 additions and 36 deletions

View File

@@ -227,7 +227,7 @@ fn stop_rustdesk_servers() {
#[inline]
fn stop_xorg_subprocess() {
let _ = run_cmds(format!(
let _ = run_cmds(&format!(
r##"ps -ef | grep '/etc/rustdesk/xorg.conf' | grep -v grep | awk '{{printf("kill -9 %d\n", $2)}}' | bash"##,
));
}