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 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?
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.
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?
I have now build the package x2goserver with release 3.5.99.26.
I caught the logs of the session:
running as X2Go Agent
NXAGENT - Version 3.5.99.26
Copyright (c) [...]
Info: Agent running with pid '6217'. Session: Starting session at 'Mon Nov 8 19:00:56 2021'.
Not very useful.
I join an extract from the journal after establishing the session and when trying to start the desktop session.