From 197f97dd006e6993f48dde633586af31e0968867 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Fri, 12 Mar 2021 10:33:26 -0500 Subject: [PATCH] eval dbus-launch in xfce so that it can start cleanly with or without a conda environment --- apps/bc_desktop/template/desktops/xfce.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/bc_desktop/template/desktops/xfce.sh b/apps/bc_desktop/template/desktops/xfce.sh index 6e2e1ae92d..b438164015 100755 --- a/apps/bc_desktop/template/desktops/xfce.sh +++ b/apps/bc_desktop/template/desktops/xfce.sh @@ -36,5 +36,9 @@ else "${TERM_CONFIG}" fi +# launch dbus first through eval becuase it can conflict with a conda environment +# see https://github.com/OSC/ondemand/issues/700 +eval $(dbus-launch --sh-syntax) + # Start up xfce desktop (block until user logs out of desktop) xfce4-session