Re: Starting up KDE hangs with a black desktop and movable mouse
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Re: Starting up KDE hangs with a black desktop and movable mouse




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Starting up KDE hangs with a black desktop and movable mouse  
Ant


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-19-07 06:15 PM

>> test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM" 
> 
>
> As you too concluded, the problem seems to be in the kwrapper line
>
> I would suggest you add the following line before it
>
> test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
> echo "kwrapper ksmserver $KDEWM" >> /home/ant/download/log.txt
> kwrapper ksmserver $KDEWM

OK, I copied exactly how you had it.


> This way you will see exactly what the command gets as parameters.

I checked in /home/ant/download and see nothing! No log created during
the hang. The log showed "kwrapper ksmserver" after I hit
ctrl-alt-backspace. 


> Looking at your strace results, I think it may be your /tmp that is part o
f
> the problem (I may be wrong too)

Maybe. I never had problems weeks ago. Wouldn't Gnome use /tmp too? I
even deleted everything in it too. Here is what it looks like when I ls
-all in /:

drwxrwxrwt  29 root root  4096 2007-11-19 10:01 tmp


> connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = -1 EN
OENT (No
> such file or directory)
> close(3)                                = 0
>
> I guess that the user you are starting the startx with may not have full
> privileges on the directory, try with 'chmod 1777 -R /tmp', that should ta
ke
> care of all rights, you could test and see if it helped or not, if not, th
en
> this wasn't the problem (don't worry, 1777 is what the /tmp should have).

I checked again and it looked the same:
drwxrwxrwt  29 root root  4096 2007-11-19 10:01 tmp
Restarting X with KDE still hangs. 


> Next thing that looks a bit bad is
>
> connect(3, {sa_family=AF_INET, sin_port=htons(6000),
> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refuse
d)
> close(3
>
> This leads to another possible problem, your X is started with "-nolisten
> tcp", which means it won't listen to tcp/ip traffic, while the row above l
ets
> me think that KDE is set to use tcp/ip for communication.
>
> I would suggest you edit your startx, change
>
> defaultserverargs="-nolisten tcp -br"
>
> to
>
> defaultserverargs="-br"

Um, I don't have that parameter in that line at all! Here's my startx
copy online: http://pastebin.ca/784413


> Try again, if it won't work now, then I'm out of ideas for the moment.

So, I tried both defaultserverargs="-nolisten tcp -br" and
defaultserverargs="-br" separately but again they hung. 


A KDE developer told me to run kdebugdialog in the KDE's mailing list: I
checked ALL options (forgot to see if ksmserver was checked already or
not) and ran startkde from Gnome's terminal (did this twice in two
different X sessions to be sure):

$ startkde
startkde: Starting up...
ICE default IO error handler doing an exit(), pid = 12634, errno = 95
ICE default IO error handler doing an exit(), pid = 12636, errno = 0
WARNING: DCOP communication problem!
kdeinit: Communication error with launcher. Exiting!

<<I hit my enter key a few times (was frustrated) in Gnome terminal and
it threw more messages in Gnnome terminal; I couldn't reproduce this
through startx though and I don't know if these are valid and useful
errors to us>>

kbuildsycoca running...

kwin: unable to claim manager selection, another wm running? (try using
--replace)

ASSERT: "!name.isEmpty()" in
/build/buildd/kdelibs-3.5.8.dfsg.1/./kio/kio/kdirlister.cpp (969)
add font path: '/home/ant/.fonts'
add font path: '/usr/share/fonts'
add font path: '/usr/share/fonts/truetype'
add font path: '/usr/share/fonts/truetype/msttcorefonts'
add font path: '/usr/share/fonts/truetype/ttf-bitstream-vera'
add font path: '/usr/share/fonts/truetype/openoffice'
add font path: '/usr/share/fonts/truetype/latex-xft-fonts'
add font path: '/usr/share/fonts/truetype/freefont'
add font path: '/usr/share/fonts/truetype/ttf-dejavu'
add font path: '/usr/share/fonts/truetype/sjfonts'
add font path: '/usr/share/fonts/truetype/dustin'
add font path: '/usr/share/fonts/truetype/kochi'
add font path: '/usr/share/fonts/type1'
add font path: '/usr/share/fonts/type1/gsfonts'
add font path: '/usr/share/fonts/X11'
add font path: '/usr/share/fonts/X11/encodings'
add font path: '/usr/share/fonts/X11/util'
add font path: '/usr/share/fonts/X11/misc'
add font path: '/usr/share/fonts/X11/100dpi'
add font path: '/usr/share/fonts/X11/75dpi'
add font path: '/usr/share/fonts/X11/Type1'
loaded font VeraMoBd/8
loaded font Vera/7
xscreensaver: 09:37:02: already running on display :0.0 (window
0x2200001) from process 12645
+(ant@ANTian).

--
"Imagine what it would be like to dive into a pool of army ants? You
would be nothing but bone in a matter of seconds. If you're not up to
that, just imagine putting your hand in a jar of them. It would have to
be labeled corrosive or something." --Zhan Huan Zhou
/\___/\
/ /\ /\ \      Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| |        Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ /       Remove ANT from e-mail address: philpi@earthlink.netANT
( )                                           or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register