But due to lack of experience with xfce and vnc I am not sure what to change to achieve what I want.
Is there any experience out there that I could benefit from?
Is this software publicly available? I’ll probably have to replicate to try stuff out as I’m not sure off hand what to do. Indeed some of our apps boot up like that and you have to full screen it afterwards.
For reference - here’s what the MATLAB settings are doing - they’re creating that menu bar that I have open there that has firefox, terminal and a file manager. There’s no desktop.
If you want the enitre desktop - i think this is the command. Instead of launching xfce4-panel you launch xfce4-session. Though even with the panel you should be able to drag the application around and resize it.
# Start up xfce desktop (block until user logs out of desktop)
xfce4-session
Yes, for the MATLAB config, I understood there were several panels, so I did actually try to simplifiy that config file and remove all the panels except the one for the main application. But, I am not sure if that change was actually picked up, as I could not spot any difference in how the application was shown.
Just a note - I am not sure if I need to change something in the vnc settings or the desktop (gnome/mate/xfce) settings.
So far, “whatever” I try (not meaning that what I tried is correct) I see no changes in the panel size when the app opens. Where whatever is changing obvious parameters in the xfce config file, trying some geometry settings in the script.sh.erb etc.
So maybe it is vnc that needs to be set up differently. But what would that be then?
Update: I would expect that the bc_vnc_resolution is the right parameter to use to set this value, but I cant quite find the proper documentation to be able to set it in a way that works.
Since this part of the documentation Form Widgets — Open OnDemand 3.0.0 documentation seems to indicate that this is what should be used. However, the bc_vnc_resolution field does not show up in the form for some reason.
I attempted to add another custom variable
my_vnc_resolution:
widget: "resolution_field"
Then the field appears - but the setting still does not have any effect in the actual app. The size of the panel is still the default 800x600
Meanwhile I have opted to use xfce4-session instead of xfce4-panel as in this way I get the possibility to actually move around and rescale the app gui windows.
If you have some tips on how to actually manage to set bc_vnc_resolution or some other variable so that it actually does resize the window in panel mode, that would be highly appreciated.