[X2go-Dev] KDE applications causing session crash with latest builds

newsgroups.mail2 at stefanbaur.de newsgroups.mail2 at stefanbaur.de
Sat Jan 21 23:12:25 CET 2012


Hi list,

after upgrading to the latest Debian packages, I can no longer run KDE 
applications in rootless mode - neither with NX nor with X2Go.

Steps to reproduce:
1. Run Terminal as single application (not in a full-blown desktop - 
everything works fine there)
2. Type: kdialog --yesno "Test"
3. Session will crash

Affected system is Debian Squeeze (upgraded from Lenny).

Sources.list used:
# Security Updates
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# Backports
deb http://ftp.de.debian.org/debian-backports squeeze-backports main 
contrib non-free

# ClamAV etc.
deb http://ftp.debian.org/debian squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian squeeze-updates main contrib non-free

# Acrobat Reader
deb http://www.debian-multimedia.org squeeze main non-free

# Stable
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

# NX
deb http://ppa.launchpad.net/freenx-team/legacy/ubuntu intrepid main
deb-src http://ppa.launchpad.net/freenx-team/legacy/ubuntu intrepid main

# X2go Repository - leaving this out and using NX only, everything works 
fine
deb http://packages.x2go.org/debian squeeze main
# X2go Repository (sources) - leaving this out and using NX only, 
everything works fine
deb-src http://packages.x2go.org/debian squeeze main



These are the relevant packages when the machine is in "broken" state:
box02:~# COLUMNS=200 dpkg -l libnx-x11 libxcomp3 libxcompext3 
libxcompshad3 nxagent nxlibs x2go-keyring x2goagent x2goserver 
x2goserver-extensions x2goserver-printing
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                         
Version                                      Description
+++-============================================-============================================-======================================================================================================== 

ii  libnx-x11                                    
2:3.5.0.7-0+squeeze~main~229~build1          nx-X11
ii  libxcomp3                                    
2:3.5.0.7-0+squeeze~main~229~build1          NX X compression library
ii  libxcompext3                                 
2:3.5.0.7-0+squeeze~main~229~build1          NX X11 protocol compression 
extensions library
ii  libxcompshad3                                
2:3.5.0.7-0+squeeze~main~229~build1          NX shadowing library
ii  nxagent                                      
2:3.5.0.7-0+squeeze~main~229~build1          NX agent
un  nxlibs <none>                                       (no description 
available)
ii  x2go-keyring                                 
2011.12.07+squeeze~main~12~build1            GnuPG keys of X2go developers
ii  x2goagent                                    
2:3.5.0.7-0+squeeze~main~229~build1          X2Go agent
ii  x2goserver                                   
3.0.99.9-0~x2go1+squeeze~main~416~build1     X2go server daemon scripts
ii  x2goserver-extensions                        
3.0.99.9-0~x2go1+squeeze~main~416~build1     X2go server daemon scripts 
(extensions)
ii  x2goserver-printing                          
3.0.99.9-0~x2go1+squeeze~main~416~build1     X2go server daemon scripts 
(printing)

Working state, though NX-only, has the following packages:
box01:~# COLUMNS=200 dpkg -l libxcomp3 libxcompext3 libxcompshad3 
nxagent nxlibs
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                         
Version                                      Description
+++-============================================-============================================-======================================================================================================== 

ii  libxcomp3                                    
3.3.0-4-0ubuntu1~intrepid1                   NX X compression library
ii  libxcompext3                                 
1:3.3.0-4-0ubuntu1~intrepid1                 NX X11 protocol compression 
extensions library
ii  libxcompshad3                                
3.3.0-2-0freenxteam1                         NoMachine NX - NX 
compression library
ii  nxagent                                      
1:3.3.0-6-0ubuntu1~intrepid1                 X server for remote access
ii  nxlibs                                       
1:3.3.0-6-0ubuntu1~intrepid1                 NX support libraries

Please fix this issue - it was what drove me from NX to X2Go, as the 
FreeNX guys couldn't figure out what caused the crash, and back then, 
X2Go worked just fine for me. Now it seems you've "crossported" the bug 
to X2Go. :-(

I have been in contact with Mike Gabriel regarding this issue, he 
suggests debugging the issue by stepping through the patches one by one.
However, he won't get around to doing that in the next two weeks, and 
the last time I touched C code was 10 years ago and not much more than 
"hello world" stuff, so it's unlikely that I'll be able to find the 
reason myself. Anyone willing and able to assist?

What Mike suggested (paraphrased and translated for your convenience):

> Clone nx-libs.git
>
> git clone git://code.x2go.org/nx-libs.git
> cd nx-libs
> debuild -uc -us
> # 20min compiler run
> cd ..
> dpkg -i *.deb
> # Start testing... 
> That will provide the current version of nx-libs. The directory 
> debian/patches contains a file "series", which contains a list of the 
> patches, commenting out a patch in this file will keep it from getting 
> compiled in.
> Only one patch should be commented out for each compiler run, the 
> relevant patches are the ones matching "1XX_*.patch".


Kind regards,
Stefan



More information about the x2go-dev mailing list