Hopefully, a fix for the gnome-session issues

pull/3/head
Ghost1227 15 years ago
parent 438df0524c
commit b3b3c3af9c

@ -122,6 +122,11 @@ mainmenu() {
else
export wm_bin="${wmbinlist[${wm}]}"
# Fix for gnome-session (I hope)
if [[ ${wm_bin} == "gnome-session" ]]; then
export wm_bin="dbus-launch gnome-session"
fi
# Start X
if [[ ${loginshell} == "yes" ]]; then
exec ck-launch-session bash --login -c startx /usr/share/cdm/xinitrc -- :${display} &> /dev/null &

Loading…
Cancel
Save