[FreeNX-kNX] fedora - FreeNX shadowing :0 needs correct xauth + nxserver bug fix

chris at ccburton.com chris at ccburton.com
Sat Jul 7 16:56:35 UTC 2012


Marcelo Taube <mail.marcelo.taube at gmail.com> Sent by: 
freenx-knx-bounces at kde.org

The xauthority files are different.

If you don't have a valid X authority between your NX session
and
the running current :0 console session
then
you will just see the window close, which is what you reported.


 But Its not the main problem i think.
I used xauth add to add the authorization to ~/.Xauthority and run again

Are they both using ~/Xauthority tho ??


I foundsome more info which could point to the problem.
The nxagent has a segmentation fault a little after it tries to .
I found the coredump in the system


[root at marcelot-fd ccpp-2012-07-07-12:50:33-308]# gdb --core coredump
GNU gdb (GDB) Fedora (7.3.50.20110722-13.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Reading symbols from /usr/libexec/nx/nxagent...Reading symbols from 
/usr/lib/debug/usr/libexec/nx/nxagent.debug...done.
done.
[New LWP 308]
Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install 
/usr/lib/debug/.build-id/8f/b0aa894d75a99ff368157141678587ef230005
Core was generated by `/usr/libexec/nx/nxagent -nopersistent -S -shadow :0 
-shadowmode 1 -name NX - ma'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000048e4e4 in nxagentCreateColormap (pCmap=0x7f17d2ea9010) at 
Colormap.c:148
148          pCmap->green[i].co.local.green = colors[i].green;
Missing separate debuginfos, use: debuginfo-install 
libXcursor-1.1.11-3.fc15.x86_64
(gdb) bt
#0  0x000000000048e4e4 in nxagentCreateColormap (pCmap=0x7f17d2ea9010) at 
Colormap.c:148
#1  0x00000000004666dd in CreateColormap (mid=163, pScreen=0x1a1a9a0, 
pVisual=<optimized out>, 
    ppcmap=0x7fffbc658cb8, alloc=<optimized out>, client=0) at 
colormap.c:410
#2  0x000000000048ef46 in nxagentCreateDefaultColormap (pScreen=0x1a1a9a0) 
at Colormap.c:518
#3  0x00000000004a3313 in nxagentOpenScreen (index=<optimized out>, 
pScreen=<optimized out>, argc=14, 
    argv=0x7fffbc659218) at Screen.c:1843
#4  0x00000000004706ab in AddScreen (pfnInit=0x4a2eb0 <nxagentOpenScreen>, 
argc=14, argv=0x7fffbc659218)
    at main.c:781
#5  0x000000000049fbe5 in InitOutput (screenInfo=0xabad40, argc=14, 
argv=0x7fffbc659218) at Init.c:330
#6  0x000000000042f3d6 in main (argc=14, argv=0x7fffbc659218, 
envp=<optimized out>) at main.c:372
(gdb) l
143          if (blue > pVisual->blueMask) blue = 0L;
144        }
145        XQueryColors(nxagentDisplay, nxagentColormap(pCmap), colors, 
ncolors);
146        for (i = 0; i < ncolors; i++) {
147          pCmap->red[i].co.local.red = colors[i].red;
148          pCmap->green[i].co.local.green = colors[i].green;
149          pCmap->blue[i].co.local.blue = colors[i].blue;
150        }
151        xfree(colors);
152        break;
(gdb) p pCmap->green
$1 = (Entry *) 0x0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120707/ca528969/attachment.html>


More information about the FreeNX-kNX mailing list