[X2Go-User] Unable to start a desktop
Ulrich Sibiller
uli42 at gmx.de
Sun Nov 7 22:45:37 CET 2021
On Sun, Nov 7, 2021 at 10:09 PM Papoteur <yves.brungard_mageia at 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.
> I have tried 2 clients: x2goclient 4.1.2.2 and pyhoca-gui 0.6.1.1
> packaged for Mageia 8.
>
> For the server, in a virtualbox VM, I tried to install the master
> version of x2goserver; through make && make install.
Unfortunately I have never built the x2goserver so I cannot tell you
for sure if that's the way to do it. Maybe there's more to do than
this.
> I had to change the rights to add write credential on /var/lib/x2go and
> /var/lib/x2go/x2go_session
This is how it looks on my (debian) system:
$ ls -la /var/lib/x2go/
insgesamt 52
drwxrwx--- 2 x2gouser x2gouser 4096 Okt 25 22:12 .
drwxr-xr-x 69 root root 4096 Nov 6 13:50 ..
-rw-rw---- 1 root x2gouser 40960 Okt 25 22:12 x2go_sessions
> 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?
Uli
More information about the x2go-user
mailing list