Réécriture de mon scrpit de lancement de session VNC

This commit is contained in:
Hippolyte Chauvin 2023-10-22 00:11:38 +02:00
parent 7fb3eff9dc
commit 41ec79337b

View file

@ -1,10 +1,10 @@
#!/bin/sh #!/bin/sh
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
fi
cd cd
eval "$(ssh-agent)" xfwm4 &
dbus-launch --exit-with-session xfwm4 &
artix-pipewire-launcher & artix-pipewire-launcher &
disown %2
st st
wait wait
ssh-agent -k