Don't try to connect to X11/Wayland when headless (#15028)
Release Notes: - remote development: Stopped logging every 16ms when connected to a remote server with a badly configured X server.
This commit is contained in:
parent
5021397c01
commit
41a3e78b1e
2 changed files with 4 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ pub async fn spawn_ssh_task(
|
|||
"-x".to_string(),
|
||||
"-c".to_string(),
|
||||
format!(
|
||||
r#"~/.local/bin/zed -v >/dev/stderr || (curl -f https://zed.dev/install.sh || wget -qO- https://zed.dev/install.sh) | sh && ~/.local/bin/zed --dev-server-token {}"#,
|
||||
r#"~/.local/bin/zed -v >/dev/stderr || (curl -f https://zed.dev/install.sh || wget -qO- https://zed.dev/install.sh) | sh && ZED_HEADLESS=1 ~/.local/bin/zed --dev-server-token {}"#,
|
||||
access_token
|
||||
),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue