Here are a couple I found off the top of my head. Again though, they deal with XFCE, not MATE, but could be a similar issue as they are also RHEL 7 → 8 migrations.
Hello, I am using OnDemand version: 2.0.31 and I’m halfway to getting the Interactive Matlab App working. With the usual script.sh.erb it doesn’t worked and i always got an Connection refused Error. I worked it around with help of other Discourse Topics where @JeffOhrstorm mentioned to put sleep in between the script.
Now i get a Launch Button on the Interactive App Session page but when i start the VNC Session i cant see Matlab, but i can see the desktop. So when i start a Terminal from the de…
There is some issue in the way we wrote our apps and RHEL/8. Your OOD version has no affect on this issue.
From the looks of your before.sh.erb you may have already seen these topics. I had to sprinkle in some sleep commands here and there. The last post on the MATLAB topic may be of interest too, it doesn’t have sleeps but also has eval $(dbus-launch --sh-syntax) which may be important in this context.