Linux Debian support - Re: Starting up KDE hangs with a black desktop and movable mouse

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > November 2007 > Re: Starting up KDE hangs with a black desktop and movable mouse





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Starting up KDE hangs with a black desktop and movable mouse
J.O. Aho

2007-11-19, 1:15 pm

Ant wrote:

> test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
> echo "test wm" >> /home/ant/download/log.txt
> kwrapper ksmserver $KDEWM
> echo "kwrapper ksmserver" >> /home/ant/download/log.txt


> I got "test wm" in log.txt, but nothing after it. It looks like the hang
> happens with kwrapper ksmserver section. I tried to view kwrapper and
> ksmserver files, but they are binaries. Now, I am stuck but at least we
> can see where it is hanging now.


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

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

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

connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = -1 ENOENT (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 take
care of all rights, you could test and see if it helped or not, if not, then
this wasn't the problem (don't worry, 1777 is what the /tmp should have).

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 refused)
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 lets
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"

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


--

//Aho
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com