Issues with windows within interactive apps

Hi, we seem to be having issues with windows within interactive apps. For instance, we have ChimeraX set up as an interactive app. When we launch certain options within interactive apps, color palette options for instance that come up in another window, the box appears but there is no way to minimize it, i.e. the “x” at the top of the dialog box does not exist and we are stuck with it overlaying the ChimeraX app without any way to close it. This of course is not an issue when it is launched via an interactive desktop, for instance, but we would like this working as an interactive app on its own.

I am assuming this is something to do with xfce I need to change within our script.yml.erb, but I’m not sure what. I am pasting it here for reference:

# Clean the environment
module purge

# Work around spam message about dconf write permissions
#export XDG_RUNTIME_DIR="/tmp/${UID}"
unsetenv XDG_RUNTIME_DIR

# Set working directory to home directory
cd "${HOME}"

#
# Launch Xfce Window Manager and Panel
#

(
  export SEND_256_COLORS_TO_REMOTE=1
  export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>"
  export XDG_DATA_HOME="<%= session.staged_root.join("share") %>"
  export XDG_CACHE_HOME="$(mktemp -d)"
  export $(dbus-launch)
  module restore
  # set -x
  xfwm4 --compositor=off --daemon --sm-client-disable
  xsetroot -solid "#D3D3D3"
  xfsettingsd --sm-client-disable
  xfce4-panel --sm-client-disable
) &

# Launch chimerax

/usr/bin/chimerax

Any help on this is greatly appreciated.

You likely need some sort of toggle like this because things have changed for different OS versions because some of the commands now block when they did not in the past.

Of course this is a toggle for RHEL type operating systems.

This worked! Thank you very much.