Preserve environment while running dbus session
This commit is contained in:
parent
6898e3c26d
commit
3135643d3f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ begin
|
||||||
end | sudo -u "$name" tee "$entryPoint" > /dev/null
|
end | sudo -u "$name" tee "$entryPoint" > /dev/null
|
||||||
|
|
||||||
sudo chmod +x "$entryPoint"
|
sudo chmod +x "$entryPoint"
|
||||||
sudo -u "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null
|
sudo -Eu "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null
|
||||||
rm "$entryPoint"
|
rm "$entryPoint"
|
||||||
rm ~"$name"/.config/plasma-welcomerc
|
rm ~"$name"/.config/plasma-welcomerc
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue