From 41ec79337b1af9ea6c1b9e51bfd11d30ab075b4a Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sun, 22 Oct 2023 00:11:38 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9=C3=A9criture=20de=20mon=20scrpit=20de?= =?UTF-8?q?=20lancement=20de=20session=20VNC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnc/xstartup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vnc/xstartup b/vnc/xstartup index 75bb0cf..89c79c6 100755 --- a/vnc/xstartup +++ b/vnc/xstartup @@ -1,10 +1,10 @@ #!/bin/sh +if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then + exec dbus-launch --exit-with-session ssh-agent "$0" "$@" +fi + cd -eval "$(ssh-agent)" -dbus-launch --exit-with-session xfwm4 & +xfwm4 & artix-pipewire-launcher & -disown %2 st wait -ssh-agent -k -