[X2Go-User] x2goagent segfaulting on client connect

Norman Gaywood ngaywood at une.edu.au
Wed Oct 20 01:21:22 CEST 2021


I had something similar a few months ago:

https://lists.x2go.org/pipermail/x2go-user/2021-July/006579.html

Essentially, nvidia taking over libGL. I fixed it with (from the above
post):

Thanks Ulrich!
> Yes indeed the system was using the libGL of nvidia. I did these steps to
> recover the system:



yum reinstall libglvnd* mesa*



That fixes most of the symlinks of libGL in /usr/lib64 to again point to
> the system's libGL.



Except for this one:
> # ll /usr/lib64/libGLX_indirect.so.0
> lrwxrwxrwx. 1 root root 26 Jul  1 16:03 /usr/lib64/libGLX_indirect.so.0 ->
> libGLX_nvidia.so.470.42.01



So I did this:
> # cd /usr/lib64
> # rm -f libGLX_indirect.so.0
> # ln -s libGLX_mesa.so.0.0.0 libGLX_indirect.so.0
> # ll /usr/lib64/libGLX_indirect.so.0
> lrwxrwxrwx. 1 root root 20 Jul 14 11:43 /usr/lib64/libGLX_indirect.so.0 ->
> libGLX_mesa.so.0.0.0



Now glxinfo (and firefox) don't crash nxagent!
> Not sure of the full implications of manually modifying that symlink.



On Wed, 20 Oct 2021 at 04:36, Eric Shell <eshell at ucsc.edu> wrote:

> I have a CentOS 7.9 system on which X2Go was previously working perfectly,
> but which is now broken. It broke after a typical yum update but I am not
> sure what changed to break things and I would like some help debugging and
> resolving this issue. I should mention that as part of my troubleshooting I
> have begun using NVIDIA kmod drivers from the ELRepo instead of ones
> installed from NVIDIA's .run file.
>
> The behavior I'm seeing in every failed connection produces the following
> log entries. The system has both XFCE and MATE installed and both produce
> the same output.
>
> -
>
> Oct 19 10:21:29 c113256 /usr/bin/x2goruncommand: launching session with
> Xsession-x2go mechanism, using STARTUP="mate-session"
> Oct 19 10:21:29 c113256 /usr/bin/x2goruncommand: dbus wrapper available as
> /usr/bin/dbus-run-session
> Oct 19 10:21:30 c113256 kernel: resource sanity check: requesting [mem
> 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem
> 0x000c4000-0x000c7fff window]
> Oct 19 10:21:30 c113256 kernel: caller
> os_map_kernel_space.part.6+0x95/0xc0 [nvidia] mapping multiple BARs
> Oct 19 10:21:31 c113256 kernel: x2goagent[58376]: segfault at 48 ip
> 0000555fbee349ab sp 00007ffe380702a0 error 4 in nxagent[555fbecd6000+439000]
> Oct 19 10:21:31 c113256 abrt-hook-ccpp: Process 58376 (nxagent) of user
> 1001 killed by SIGSEGV - dumping core
>
> -
>
> Interestingly, x2goagent does not segfault if I have the X2Go client run
> /bin/xclock. The window opens without issue. /bin/firefox fails.
> /bin/glxgears also fails. Is this related to GL/GLX? How can I obtain more
> detailed information?
>
> Thank you!
>
> --
> Eric Shell
> PBSci Technical Staff
> eshell at ucsc.edu
> 831 459 4919
> _______________________________________________
> x2go-user mailing list
> x2go-user at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user
>


-- 
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngaywood at une.edu.au  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20211020/6107e4f0/attachment.htm>


More information about the x2go-user mailing list