Skip to content

Commit

Permalink
eval dbus-launch in xfce so that it can start cleanly with or without…
Browse files Browse the repository at this point in the history
… a conda environment
  • Loading branch information
johrstrom committed Mar 12, 2021
1 parent 9a03be9 commit 197f97d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/bc_desktop/template/desktops/xfce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 197f97d

Please sign in to comment.