[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can not login anymore with KDM

On Thu, May 18, 2006 at 08:47:41PM +0800, Richard wrote:
> Hi i have a problem: i can not use KDM anymore to login to KDE
> I found in my ~/.xsession-errors file this error:
> /etc/X11/Xsession.d/90im-switch: line 31: .: /etc/X11/xinit/xinput.d/:
> is a directory
> the parrt about this error in the file /etc/X11/Xsession.d/90im-switch is:
>     25 # Source first found configuration under $LNG locale
>     26 for f in   $HOME/.xinput.d/${LNG} \
>     27             $HOME/.xinput.d/all_ALL \
>     28             /etc/X11/xinit/xinput.d/${LNG} \
>     29             /etc/X11/xinit/xinput.d/all_ALL \
>     30             /etc/X11/xinit/xinput.d/default ; do
>     31     [ -r $f ] && . $f && break
>     32 done
> seems the dot '.' to source the file where it is looking for is not working.

to my unexperienced eye, the problem may be that LNG is not being set
properly resulting, in line 28, f being assinged to
/etc/X11/xinit/xinput.d/<nothing> and that is causing the source to
fail. the [ -r $f ] doesn't fail because the directory does exist, but
the source doesn't work because you can't source a directory, only a
file. I hope I'm reading that right.

> How can i change this without breaking something.

look back and see where LNG is assigned and figure out if that's
working right. also look at what is in /etc/X11/xinit/xinput.d/ 


Attachment: signature.asc
Description: Digital signature

Reply to: