It could be a bug: the version distributed with Fedora 37 is
4.1.0.3-19.fc37.x86_64.rpm whereas the one in CentOS 8 is
x2goserver-4.1.0.3-17.el8.1.x86_64.rpm , with this showing in the change
log:
2022-07-23 - Fedora Release Engineering <rel...@fedoraproject.org> -
4.1.0.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-05-30 - Jitka Plesnikova <jples...@redhat.com> - 4.1.0.3-18
- Perl 5.36 rebuild
Those are the permissions I have on my side (on Debian 11 but it should
be the same):
root@dev:~# ls -lah /var/lib/
drwxrwx---+ 2 x2gouser x2gouser 4.0K Dec 29 01:37 x2go
root@dev:~# ls -lah /var/lib/x2go/
-rw-rw----+ 1 root x2gouser 40K Dec 29 01:37 x2go_sessions
So try this:
sudo chmod 0770 /var/lib/x2go && sudo chown x2gouser:x2gouser
/var/lib/x2go && sudo chmod 0660 /var/lib/x2go/x2go_sessions && sudo
chown root:x2gouser /var/lib/x2go/x2go_sessions && echo "PERMISSIONS
FIXED"
If it still doesn't work: maybe you can revert to version
x2goserver-4.1.0.3-17 ? I tried to find the package for Fedora 37 but
could only find the el8 ones... Maybe this command would work:
sudo dnf install x2goserver-4.1.0.3-17.fc37
Otherwise, the only last option to test out would be to use the EPEL8
repo and install the x2goserver-4.1.0.3-17.el8 package...
Regards,
Chris,
Quantum HostingĀ®.
On 2023-01-02 02:26, Robert Kudyba wrote:
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 <m...@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Ā®.
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev