Well a hypothesis was tested with simply changing permissions as follows X2Go launched:

sudo chmod 777 /var/lib/x2go
pascal:~/$ sudo chmod 666 /var/lib/x2go/x2go_sessions

Is x2go_sessions is needed after a session is up and running?

This proves that it is a problem of permission to read and write the db.  Permission should be gotten via the sgid wrapper, but for some reason it is not.  

Uninstalling and reinstalling did not work.
 Is there a script to fix permissions correctly? Should we remove the x2go user and group and re-add?

On Sun, Jan 1, 2023, 2:33 PM <me@jcn50.com> wrote:
Hi again Robert,


I have tried (and succeeded) on a server using AlmaLinux 8 (I don't have
access to Fedora 37, sorry) and this is the command I used (you might
skip the 2x "epel" commands?):

dnf upgrade -y && dnf install
https://urldefense.proofpoint.com/v2/url?u=https-3A__dl.fedoraproject.org_pub_epel_epel-2Drelease-2Dlatest-2D8.noarch.rpm&d=DwIDaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=7p_4VYLAUDElk8vMZgdq0Z9McN077vuO0VabguwetT409bSXJvY1JoGQ0Pc6wHog&s=zksEEUIvkzgtDnM8715wOsqYfM21ArqKZhRQdldhWWA&e= 
-y && dnf config-manager --enable epel && dnf config-manager
--set-enabled powertools && dnf install -y xfdesktop gtk-doc xfce*
--exclude=xfce4-sensors-plugin-devel lightdm firefox x2goserver
x2goserver-xsession && systemctl isolate graphical.target && systemctl
set-default graphical.target && echo "PLEASE REBOOT NOW"

Pausing and resuming the session didn't work though (probably bec my 1x
CPU and 768 MB RAM are too small!).

Again: I really prefer the LXQt or LXDE on Ubuntu/Debian as it is a lot
faster than XFDE...(I can't imagine how slow MATE could be!).


Regards,
Chris,
Quantum Hosting®.