[FreeNX-kNX] freenx fails to launch KDE4 but gnome works OK - mandriva 2010 x86_64

chris at ccburton.com chris at ccburton.com
Tue Dec 22 12:33:07 UTC 2009


alei69 <alei69 at free.fr> wrote on 22/12/2009 08:10:35:

> 
> Hi,
> some news.
> In order to get some KDE message, from nomachine client, I ran "xterm" 
then
> "startkde 2>startkdelog".
> The system crashes as expected (!, sigh).

That's good, else there is a witchcraft involved ;)

> See below, an extract of the log file.
> It's quite a long file, but there are some interesting messages.



Snipped
> ERROR: ld.so: object '/usr/lib/libXcomp.so' from LD_PRELOAD cannot be
> kdeinit4: preparing to launch /usr/lib64/libkdeinit4_ksmserver.so

> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libXext.so.6.4' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> Fin de la connexion (raccroche) (End of connexion, hang up) 

Eh, what ??

Oh !!

Bonjour à vous aussi, Monsieur ( ou Madame, Mademoiselle, Monsieur le 
President etc )


> /usr/bin/startkde: line 1: echo: erreur d'ecriture : Erreur 
d'entree/sortie
> (writing error, error input/output)
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXext.so.6.4' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXcomp.so' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXcompext.so' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> startkde: Done.
> ERROR: ld.so: object '/usr/lib/libX11.so.6.2' from LD_PRELOAD cannot be
> ERROR: ld.so: object '/usr/lib/libXrender.so.1.2' from LD_PRELOAD cannot 
be
> sh: --crashes : commande introuvable
> kdeinit4: sending SIGTERM to children.
> kdeinit4: Exit.
> 

Hmmmm

Run ( as a command )

        $(grep libpath= /usr/bin/startkde|cut -d \` -f2|cut -d \| -f1)

You should get the LD_PRELOAD path, which in your case should be something
like

        ~/.kde4/lib64:/usr/lib64/
not
        /usr/lib/

See if it's the same in the xterm.


My thinking hasn't changed (yet).

You are not kicking kde4 off properly.

What does your display manager fire off when you log in at the console ???


> -- 
> View this message in context: http://old.nabble.com/freenx-and-KDE4-
> tp26775953p26885079.html
> Sent from the freenx-knx mailing list archive at Nabble.com.
> 
> ________________________________________________________________
>      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/20091222/e0665563/attachment.html>


More information about the FreeNX-kNX mailing list