Frederic Lepied wrote:

> 
> Could you show us your ~/.xsession-errors ?
> 


/usr/share/config/kdm/Xsession: /home/bor/.xsession: No such file or 
directory /usr/share/config/kdm/Xsession: exec: /home/bor/.xsession: 
cannot execute: No such file or directory

This is due to the lines in /usr/share/config/kdm/Xsession:

case "$sess" in
     failsafe)
         exec xterm -geometry 80x24-0-0 $*
         ;;
     ""|default)
         exec ~/.xsession $*
         ;;
esac

Now, the bug here is obvious. But some more comments:

- usually (a.k.a. on those Unices I was working with) "default" session 
means "whatever is system-wide default" and ~/.xsession is executed if 
exists. Or it is selected with "user session" (or similar name). 
Acceptable logic for "default" is - execute ~/.xsession if exists else 
default system session. I exepct some tool (in Mandrake Control Center) 
that allows me to select systemwide default session 9KDE, Gnome, ...).

- the case of uid > 500 was just covered I have seen. Good :-)

- kdmrc lists the session types:


# Session types the users can select. It is advisable to have "default" and
# "failsafe" listed herein, which is also the default.
# Note, that the meaning of this value is entirely up to your Xsession script.
SessionTypes=default,kde,failsafe


I remember some people complainig that they cannot select anything but 
KDE. Why no other sessions here? Of course, ideally we should have a 
directory where every installed environment (KDE, Gnome, etc) would put 
a file and this list should be selected dynamically based on this 
directory contents. Why have I feeling it was the case before?

- I still could not find where "console login" is configured, but do not 
forget it is broken as well.

-andrej




Reply via email to