[kde-linux] X problem trying to run KDE4

Rod Butcher rbutcher at hyenainternet.com
Sat Jun 16 02:12:15 UTC 2007


On Fri, 2007-06-15 at 16:10 -0700, James Richard Tyrer wrote:
> When I try to start the KDE4 desktop or a KDE4 app, I always get this 
> error message:
> 
> xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
>From memory (+- 1 year ago), that is an assertion in libxcb that
deliberately crashes if it thinks the program that called it is doing
something incorrectly. Since KDE 4 is a development release still, that
assertion needs to be turned off in xcb. Just comment out the line of
code in xcb and recompile it.
cheers
Rod
> 
> I think that I have all the environment variables set correctly:
> 
> KDEDIR=/usr/local/KDE-4.0
> KDEHOME=$HOME/.kde4
> KDETMP=/tmp/$USER-kde4
> mkdir -p $KDETMP
> KDEVARTMP=/var/tmp/$USER-kde4
> mkdir -p $KDEVARTMP
> KDEDIRS=$KDEDIR
> export KDEDIR KDEHOME KDETMP KDEVARTMP KDEDIRS
> 
> QTDIR=/usr/local/Trolltech/Qt-4
> QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
> PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH
> export QTDIR QT_PLUGIN_PATH PKG_CONFIG_PATH
> 
> PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
> export PATH
> 
> unset XDG_DATA_DIRS
> unset XDG_CONFIG_DIRS
> 
> LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
> export LD_LIBRARY_PATH
> 




More information about the kde-linux mailing list