LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   lightdm-session error message after removal of lightdm (https://www.linuxquestions.org/questions/linux-general-1/lightdm-session-error-message-after-removal-of-lightdm-4175612709/)

rng 08-27-2017 06:31 AM

lightdm-session error message after removal of lightdm
 
I have Debian-9 stable running well with LXDE desktop. To change display manager, I installed 'lxdm' and removed 'lightdm'. The lxdm login screen appears properly, but on logging in I get an error message similar to following:

Quote:

x session: lightdm-session could not be started. Starting default session.
On pressing OK, the LXDE desktop starts properly and there is no further problem.

Why is this error coming and how can I get rid of it. I tried re-installing lxdm but the error is persisting. Thanks for your help.

ondoho 08-28-2017 12:03 AM

the exact/full error message, and where and how and when do you get it?

with this info, i'd say it has something to do with x-session.

maybe update-alternatives can help?

rng 08-28-2017 08:19 AM

The exact message was:

Quote:

Xsession: unable to launch "lightdm-xsession" Xsession --- "lightdm-xsession" not found; falling back to default xsession.
I found that "lightdm-xsession" was present in ~/.dmrc file. I deleted this file and uncommented following in /etc/lxdm/lxdm.conf

Quote:

session=/usr/bin/startlxde
This seems to have solved the problem. Now xsession is not trying to launch lighdm-xsession and LXDE is starting immediately on logging.

Which package creates .dmrc? This file is not removed or corrected even after purging lightdm package.

ondoho 08-28-2017 02:48 PM

Quote:

Originally Posted by rng (Post 5752824)
Which package creates .dmrc? This file is not removed or corrected even after purging lightdm package.

yes, that happens regularly for files created by the program.


All times are GMT -5. The time now is 02:45 AM.