We are running comsol 6.0 on rhel8 nodes and when I run the app inside an interactive desktop I can resize the consol window but when I run it as an interactive app alone the comsol window will not maximize or resize at all. Is there something I should do on the command that starts up comsol to make that available? The command we are using to start it up as an interactive is:
It sounds like in the one case you are running it as a vnc app and have access to a window manager while in the other it is the app alone running which doesn’t provide such functionality.
Here’s OSC’s repo for comsol that you can see is using vnc as well, and may prove useful if you haven’t seen it:
it’s the difference in whether you are using a basic or vnc setting in the batch_connect app that is the difference to note. In one case there’s a web server, in the other it’s VNC server.
Hopefully that helps explain some behavior. Are you able to use it as a vnc app?
I’ve uploaded the output.log and vnc.log which doesn’t really show much and I do not see a session directory under my ~/.config dir. vnc.log.txt (3.7 KB) output.log.txt (3.0 KB)
No, the session has a directory created in that same place you retrieved the files you just uploaded that is named config which would have the logs for the window manager.
That is very odd. There should be logs there for the window manager, which makes me think it’s not running.
For instance we use xfce so in my session data i have a config/xfce4 directory with logs, but you are saying that doesn’t exist?
If so, you’ll have to look at your logs to find where it’s trying to start the window manager and what it says, and check the install of the window manager because it should have generated that directory and logs.
Generating connection YAML file...
Cleaning up...
Killing Xvnc process ID 2468093
+ xfce4-panel --sm-client-disable
Unable to init server: Could not connect: Connection refused
xfce4-panel: Cannot open display: .
Type "xfce4-panel --help" for usage.
So there’s an error to start on. So we can at least see what is now causing OOD to not work as expected.
I am not sure reading this what is immediately wrong and will have to look into this a bit more to understand why those errors are happening.
When I look at the output file of a currently running comsol interactive the end does not have these lines:
Cleaning up...
Killing Xvnc process ID 2468093
+ xfce4-panel --sm-client-disable
Unable to init server: Could not connect: Connection refused
xfce4-panel: Cannot open display: .
Type "xfce4-panel --help" for usage.
But it does still have the
xfsettingsd: No window manager registered on screen 0
xfsettingsd: No window manager registered on screen 0
Nothing is coming up so far that is obvious to me, but this seems likely as the problem. We have the wm starting but then not being what is connected to. I don’t know why that would be happening off the top of my head though. I’ll look into this more on my end and check back soon.