[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 20:47:41 +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.
> 
> How can i change this without breaking something.

I think that I found a solution for this. I saw that you already have
submitted a bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367880

I have appended my proposed patch. This bug breaks xdm, too, so it might
be interesting for more people. (If gdm sources the Xsession.d scripts
it is most probably also affected by this.)

-- 
Regards,
          Florian



Reply to: