Le 07/11/2021 à 22:45, Ulrich Sibiller a écrit :
On Sun, Nov 7, 2021 at 10:09 PM Papoteur <yves.brungard_mageia@gadz.org> wrote:
I'm trying to repair the packaging of x2go in Mageia.
It was functional in Mageia 7, but this is no more the case in Mageia 8 or cauldron (development version). I have never used or seen Mageia in action, so I have no idea how Mageia 7 differs from Mageia 8. At least, nx-libs has been updated from 3.5.0.33 to 3.5.99.25 I use also nxagent-3.5.99.25-1.mga8 and nxproxy-3.5.99.25-1.mga8 packaged for Mageia 8. Thus I have linked xgoagent to /usr/lib64/nx/bin/nxagent Why aren't you using the current 3.5.99.26? Because I first try with what is in the current state of the distribution. I will try to update it also.
Using pyhoca, I can establish the session with the VM, either with the main user or with a test user, using password. But when I try to launch the desktop or a single application like Terminal, this fails. In the journal of the server, i get:
sshd[96864]: Accepted password for test from 192.168.1.14 port 35740 ssh2 systemd-logind[683]: [🡕] New session c25 of user test. systemd[1]: Started Session c25 of user test. sshd[96864]: pam_unix(sshd:session): session opened for user test by (uid=0) /usr/local/bin/x2gostartagent[97691]: successfully started X2Go Agent session with ID test-93-1636213441_stDLXQt_dp24 sshd[96871]: error: connect_to 127.0.0.1 port 51346: failed. sshd[96871]: error: connect_to 127.0.0.1 port 51346: failed. First, as a test, disable printing, sound and file sharing. This will reduce the number of things that can go wrong. Thanks for that tip.
Then, on the server side you will find the log of the nxagent/x2goagent in /tmp/.x2go-<username>/C-*/session.log. What do you see there? Nothing, it doesn't exist.