use dbus-launch fixes core dumps

This commit is contained in:
Tobias Powalowski 2022-05-23 15:47:52 +02:00
parent e3ffb79e6f
commit 6e46e3349e

View file

@ -34,7 +34,7 @@ _start_gnome() {
echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc
echo "export GDK_BACKEND=x11" >> /root/.xinitrc
echo "export LANG=C.UTF-8" >> /root/.xinitrc
echo "exec gnome-session" >> /root/.xinitrc
echo "exec dbus-launch gnome-session" >> /root/.xinitrc
startx >/dev/tty8 2>&1
echo -e "To relaunch GNOME desktop use: \033[92mstartx\033[0m"
}