From b3b3c3af9cf1ad3d89261ced7a90a8f7e489bf8a Mon Sep 17 00:00:00 2001 From: Ghost1227 Date: Wed, 11 Nov 2009 22:50:27 -0600 Subject: [PATCH] Hopefully, a fix for the gnome-session issues --- src/cdm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cdm b/src/cdm index 64d67b5..8b6566b 100755 --- a/src/cdm +++ b/src/cdm @@ -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 &