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

Marcelo Taube mail.marcelo.taube at gmail.com
Sat Jul 7 11:53:06 UTC 2012


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


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



On Tue, Jul 3, 2012 at 12:45 PM, <chris at ccburton.com> wrote:

>
> freenx-knx-bounces at kde.org wrote on 03/07/2012 10:33:03:
>
> > Hey, I tried a few more things, but yet I could not make shadow
> > work. I think I will give up this time.
> > I now installed the no machine server free edition and I am working
> > with it. I am not able to invest more hours in this setup.
> > Still I would the freenx people and particularly Chris that was
> > really helpful.
> > I really like open source and I would be glad to provide any info
> > you need to debug this if you want me to.
>
> Did you check the .Xauthority file in use, as I outlined
> using xauth, or had you given up by then ???
>
> X authority is almost certainly the issue.
>
> Failure produces the closing window which you describe.
>
>
> I've have shadow :0 working with FreeNX,( tho' the OpenSuse
> maintainer hasn't added the code at all and I had to
> dowload the Fedora package to see what had happened )
>
>
>
> > Thanks
> > Marcelo
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120707/41a4718c/attachment.html>


More information about the FreeNX-kNX mailing list