Hi. I’m wondering if anyone has had a similar issue in getting VNC sessions started properly when using RedHat 8 cluster nodes.
I’m trying to launch the ‘fiji’ application (though it doesn’t really matter what the end application is), and I’m basing this on the bc_desktop launcher. The main issue is that while the application starts, there’s no window manager and ‘marco’ isn’t launching.
If I ssh into the cluster node, then launch the vnc app through ondemand, it does work with window decorations and all. I had this problem a long time ago with RedHat 7 systems and it came down to the unsetting of these environment variables in script.sh.erb:
I think I made progress on this issue. I made sure that my RedHat8 system had the ‘dbus-x11’ package installed. Then in my script.sh.erb file, I had this:
dbus-launch /usr/bin/marco --no-composite --no-force-fullscreen --sm-disable &
# mate-panel blocks, but does not work reliably when launched in the same subshell as marco
dbus-launch mate-panel &
So I just stuck the dbus-launch in front of the window manager commands and it seemed happy. Just putting it in front of mate-panel wasn’t enough (looks like marco went away). If I just put the dbus launch in front of marco and not mate-panel, the panel doesn’t come up. So, it seems like putting it in front of both was the way to go.
I had looked at the docs online with the configuration you have for matlab, and tried that as well, but generally had the same issue until I did the dbus-launch. If you can find those topics, it might be helpful as well.