Fix an odd issue involving launching consolekit mentioned in Arch Linux forums #5

Merged
merged 1 commit into from Aug 10, 2012
View
4 src/cdm
@@ -273,9 +273,9 @@ xstart() {
fi
if $(checkyesno loginshell); then
- nohup bash --login -c "startx $wm_bin -- ${serverargs}" &> /dev/null &
+ setsid bash --login -c "startx $wm_bin -- ${serverargs}" &> /dev/null &
else
- nohup startx $wm_bin -- ${serverargs} &> /dev/null &
+ setsid startx $wm_bin -- ${serverargs} &> /dev/null &
fi
if [[ -n $clockpid ]]; then