Open bartoldeman opened 1 year ago
when running vncserver on a cluster directly you can then just change mate-session to xfce4-session in $HOME/.vnc/xstartup but the extension ignores this.
The content of $HOME/.vnc/xstartup
is probably ignore because we explictly provide a value to the -xstartup
flag here:
https://github.com/cmd-ntrf/jupyter-desktop-server/blob/mate/jupyter_desktop/__init__.py#LL18C1-L18C1
Since it's a shell script, we could first look if the file is defined and if it is ignore the flag.
We could also as you suggest have two icons, one for each Desktop provider. However, I am wondering if the common user would care about Xfce4 vs Mate.
Sure for most users it does not matter whether you give them Mate or XFCE. This is just about users of Ansys Workbench, which apparently doesn't work correctly with Mate, but works well with XFCE4, and we need to be able to point them to an alternative in tickets.
Should XFCE4 be the default?
In which case, we could probably move back to using the upstream: https://github.com/jupyterhub/jupyter-remote-desktop-proxy
I'd be hesitant to make it the default now, since it hasn't had a lot of testing and users may be surprised by the sudden change in look & feel.
the mate branch simply hardcodes mate-session. It would be nice to support both MATE and XFCE4 (via xfce4-session) dynamically by pressing to different icons, since some software works better with XFCE4 (ANSYS Mechanical Workbench, apparently).