View previous topic :: View next topic |
Author |
Message |
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Thu Jan 01, 2004 4:42 pm Post subject: KDE problem. [Finally Solved] |
|
|
Ok i've just made a fresh install on my box, i installed everything, and everything went fine. After the install i foolishly made an attempt to install prelink. I ran prelink -afmR like on the howto, howerver it gave me a bunch of errors so i put it aside and forgot about it. Now i think it came back to haunt me
I've emerged k3b 0.10.3-r2 and kopete 0.7.4 and both these act very very weird. kopete just keeps crashing, and sometimes when i launch it it comes with no menubar text (the text tags just say "No Text!")?? As for k3b it takes some 5 minutes to come up it (it's not the scanning devices problem, i have my scsi-emulation well configed). It justs stops on the "Creating GUI" part of the startup.
Also if i begin both from a terminal i see some errors about QPixmap not beeing able use a GUI or something weird like that.
This is weird because it to some other KDE/QT apps, so i think prelink is the guilty part here. I've done an prelink -au but that didn't seem to solve things. Does anyone know how can i revert the pre-linked binaries backed to their original state? I'm afraid that the problem is some fsck'ed up lib that is used by some kde/qt app and that is b0rking my system.
Any idea is very very welcome
Last edited by malloc on Tue Jan 06, 2004 12:04 am; edited 3 times in total |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jan 01, 2004 8:31 pm Post subject: |
|
|
prelink -au should work.
I remeber I tried once to use prelink but it did not work and so I undo whatever prelink has done with the above command.
Did you install k3b before or after you run the above command.
Maybe you need to reemerge k3b or even qt. |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Thu Jan 01, 2004 9:55 pm Post subject: |
|
|
I emerged k3b afterwards. I've tried to re-emerge qt and kdelibs after i ran prelink -au however it was a no go.
I'm just re-installing my system, so now that i've learned that prelink is bad, everything should be ok.
Thanks for the reply
PS - they should put a big warning on the prelink ebuild adverting ppl.
"Prelink can really bork your system" |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Jan 03, 2004 2:48 am Post subject: |
|
|
Sorry for the bump but this is really annoying me...
Things started out again, kopete won't load, k3b hangs, i'm getting really pissed at this...
When i launch either one of them i get this error
Code: | kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /home/user/.DCOPserver_abc.def__0
and start dcopserver again.
---------------------------------
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
KDE Daemon (kded) already running.
|
and nothing happens...Then if i start any other kde/qt app i get
Code: | kdeinit: Shutting down running client.
Mutex destroy failure: Device or resource busy
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
|
What the hell is going on...This is a fresh install no ~x86 packages. I'm getting really annoyed by this, can anybody help me at all!? |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Sat Jan 03, 2004 2:59 am Post subject: |
|
|
If you run these programs as root, do you get any error?
I did a search on Google and I found the following:
Quote: |
Run the command locale as both the normal user and root.
Are there any discrepancies?
If there are, set the LC_MESSAGES variable to equal whatever root has --
$ export LC_MESSAGES="<whatever root is set to>"
$ strace kword
|
I do not know if this is going to help you, but give it a try. |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Jan 03, 2004 3:02 am Post subject: |
|
|
MasterX wrote: | If you run these programs as root, do you get any error?
I did a search on Google and I found the following:
Quote: |
Run the command locale as both the normal user and root.
Are there any discrepancies?
If there are, set the LC_MESSAGES variable to equal whatever root has --
$ export LC_MESSAGES="<whatever root is set to>"
$ strace kword
|
I do not know if this is going to help you, but give it a try. |
Thanks for the reply but it's a no go. They both show the exact same thing. Also i do get the exact same problem running either as root or as a regular user
EDITED:
i just got a very very weird error msg
Code: | galfbox root # QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
Id 'kde2.2/b1' was already in done-list!
Id 'kde3.1/cvs' was already in done-list!
Id 'kde-3.1-toolbar' was already in done-list!
Id 'kde2.2/r1' was already in done-list!
Id 'kde2.2/r2' was already in done-list!
Id 'kde2.2/r3' was already in done-list!
Id 'kde3.0' was already in done-list!
Mutex destroy failure: Device or resource busy
|
|
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Jan 03, 2004 6:37 pm Post subject: |
|
|
Well after reinstalling qt, kdelibd, kopete,k3b,kdebase for a number of times, upgrading to 3.2, and a bunch of other things i've given up.
No matter what i do i can't get this problem solved.
I even tried to install the full kde stuff but it hangs on "Initialising System devices", just stands there and does nothing. I'm officially ridding my box of kde and all kde-components, wich is a pitty because it sure has some good apps. |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Sat Jan 03, 2004 6:54 pm Post subject: |
|
|
I am sorry for this. Unfortunately I can not help you. The only thing I can suggest to you is to report this to the KDE team. They know better and they will tell you what is wrong.
Good luck. |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Jan 03, 2004 9:53 pm Post subject: |
|
|
Ok since i'm a mulehead i've decided not to let this get over me so i'm submiting a bug report and posting my findings here...
I've freshly installed kdelibs 3.1.4, arts 1.1.4 and k3b 0.10.3-r2. I clean evey kde file from my box before i reeinstlled these.
So first i tried running k3b as root...and after it the bootsplash hangs for about 10 min on the "Creating GUI" part it spurts out these messages
Code: | root # k3b
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
---#Hangs for 10 minutes and then prints the msgs below#----
kbuildsycoca running...
File kcookiejarrc, id kcookiescfg.upd:kde2.2/b1
File kcookiejarrc, id kcookiescfg.upd:kde3.1/cvs
File kdeprintrc, id kdeprintrc.upd:kde-3.1-toolbar
File kio_httprc, id kioslave.upd:kde2.2/r1
File kioslaverc, id kioslave.upd:kde2.2/r1
File kio_httprc, id kioslave.upd:kde2.2/r2
File kioslaverc, id kioslave.upd:kde2.2/r3
File kdeglobals, id kded.upd:kde3.0
Write ViewMenuBar -> false
Remove Key 'General'/'ViewToolBar'
Running script 'useragent.pl'
Script: Writing entries to /tmp/kde-root/kconf_updateHLXXCb.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateE2fPQa.tmp
Running script 'proxytype.pl'
Script: Writing entries to /tmp/kde-root/kconf_update76RKpa.tmp
File kioslaverc, id kioslave.upd:kde2.2/r3
File kdeglobals, id kded.upd:kde3.0
Write ViewMenuBar -> false
Remove Key 'General'/'ViewToolBar'
Running script 'useragent.pl'
Script: Writing entries to /tmp/kde-root/kconf_updateHLXXCb.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateE2fPQa.tmp
Running script 'proxytype.pl'
Script: Writing entries to /tmp/kde-root/kconf_update76RKpa.tmp
Script: Filtered entries written to /tmp/kde-root/kconf_updateC8Kkka.tmp
ERROR: filesharelist not found in
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gc$
mcop warning: user defined signal handler found for SIG_PIPE, overriding
ERROR: (K3bSongManager) Can't open file
/root/.kde/share/apps/k3b/songlist.xml
|
k3b then started normally. I quited and ran it again, this time these were the msgs
Code: | root # k3b
ERROR: filesharelist not found in
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gc$
mcop warning: user defined signal handler found for SIG_PIPE, overriding
|
Same thing...10 mins and then launches fine...
Then i tried it with a regular user...
Code: |
galf $ k3b
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
----Hangs for 10 min----
kbuildsycoca running...
File kcookiejarrc, id kcookiescfg.upd:kde2.2/b1
File kcookiejarrc, id kcookiescfg.upd:kde3.1/cvs
File kdeprintrc, id kdeprintrc.upd:kde-3.1-toolbar
File kio_httprc, id kioslave.upd:kde2.2/r1
File kioslaverc, id kioslave.upd:kde2.2/r1
File kio_httprc, id kioslave.upd:kde2.2/r2
File kioslaverc, id kioslave.upd:kde2.2/r3
File kdeglobals, id kded.upd:kde3.0
Write ViewMenuBar -> false
Remove Key 'General'/'ViewToolBar'
Running script 'useragent.pl'
Script: Writing entries to /tmp/kde-galf/kconf_updatePAQJxa.tmp
Script: Filtered entries written to /tmp/kde-galf/kconf_updateyc50pc.tmp
Running script 'proxytype.pl'
Script: Writing entries to /tmp/kde-galf/kconf_updateA14Bfa.tmp
Script: Filtered entries written to /tmp/kde-galf/kconf_updateJ0sigc.tmp
ERROR: filesharelist not found in /bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/sbin
mcop warning: user defined signal handler found for SIG_PIPE, overriding
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)
ERROR: (K3bSongManager) Can't open file /home/galf/.kde/share/apps/k3b/songlist.xml
ERROR: (K3bSongManager) Can't open file /home/galf/.kde/share/apps/k3b/songlist.xml
|
So maybe this can shed some lights about my problem
EDITED:
Ok from what i gather this seems some sort of DCOP/kbuildsycoca problem, when i try to run kbuildsycoca i get
Code: |
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
|
Anyone knows what might be causing this? |
|
Back to top |
|
|
muffy n00b
Joined: 15 Sep 2003 Posts: 28 Location: :noitacoL
|
Posted: Sun Jan 04, 2004 1:05 pm Post subject: |
|
|
I had similar problem with k3b and kbuildsyscoa.
K3b and k3bsetup would report a DCOP server error, but following another thread led me to change my /etc/hostname file. It appears the entry needs to be of the form:
Code: |
name.domainname.tld
|
rather than just
or
Code: |
name.domainname.tld name
|
k3b still takes hangs for 10-20 seconds before starting though whiile "scanning for CD devices".
Hope this helps. |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sun Jan 04, 2004 1:11 pm Post subject: |
|
|
Thanks for the reply, however i had seen that thread already. Didn't help
You know this is really strange since this is exactly the setup i had and before the fresh install things worked fine. The only change my system had was that i changed my / fs from ext3 to reiserfs. Does anybody think this might be the problem?
Edited:
Ok i've been able to emulate some part of the weird behaviour.
The first time i run any kde apps things just hang. It gives those QPixmap errrors and is just sit there's. Then i need to send a sigkill to the offending app, then i need to run kbuildsycoca, then if i launch any app they get weird behaviour issues (kopete won't connect, k3b will hang). Now if i send another sigkill to the app and restart it again they appear to work ok, (kopete works ok, k3b hangs for 10 min but then launches ok). Now i don't have much kde experience, but from what i've gather there seems to be 2 diferente problems here. First kbuildsycoca isn't saving it's config wich can explain for the hangs and also DCOP doesn't seem to be doing it's job.
If it would be possible i would like to hear from some kde guru to see if these ideas are correct or not.
Thanks in Advance |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Tue Jan 06, 2004 12:03 am Post subject: |
|
|
YEEPEEE F*CKIN CAYEEEE
Sorry for the bad language but i'm definetly a happy man...
I finally found out what was wrong.
I ran strace and after studying it i found out that the problem happened everytime the programs tried to bind sockets to localhost so i began investigating and found out that the problem was that mcop was trying to bind to port 111 wich was in my iptables rule to drop
0/0 --dport 1:1024 -j DROP
so i changed the 0/0 to !127.0.0.1 and now everything works...
Just a little something isn't it strange to have a user program trying to bind a port <1024?? |
|
Back to top |
|
|
|