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

Bug#236520: kdm: cannot start 'custom' session with $HOME/.xsession



Package: kdm
Version: 3.2.1-1

When choosing 'KDE' as session type in kdm, the .xsession 
script will not be executed (I did not have my key mappigns 
anymore and the euro sign did not either). Choosing 'Custom' 
always put me back to the kdm welcome screen.

I changed /etc/X11/Xsession.d/20xfree86-common_process-args by 
adding the following code at line 24:

---
custom)
  if grep -qs ^allow-user-xsession "$OPTIONFILE"; then
    if [ -x "$USERXSESSION" ]; then
      exec "$USERXSESSION"
    elif [ -x "$ALTUSERXSESSION" ]; then
      exec "$ALTUSERXSESSION"
    else
      errormsg "unable to launch custom X session ---" \
               "neither $USERXSESSION nor $ALTUSERXSESSION" \
               "can be executed; aborting."
    fi
  else
    errormsg "unable to launch custom X session ---" \
             "allow-user-xsession is set to false; aborting."
  fi
;;
-----

Maybe this report does not really consider the kdm package. I 
filed it here, because the problem did not exist with old kdm.

Wish you a nice weekend.

Philipp Imhof






Reply to: