From d0a3ae017618aa3bb1a2060b717703b08a616c42 Mon Sep 17 00:00:00 2001 From: ShadowKyogre Date: Mon, 16 Jul 2012 18:45:45 -0700 Subject: [PATCH] Officially fix this issue: https://bbs.archlinux.org/viewtopic.php?pid=1130930#p1130930 --- src/cdm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cdm b/src/cdm index 59094cc..a485c0f 100755 --- a/src/cdm +++ b/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