LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-27-2017, 06:31 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,117

Rep: Reputation: 43
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.
 
Old 08-28-2017, 12:03 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,097
Blog Entries: 10

Rep: Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131
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?
 
Old 08-28-2017, 08:19 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,117

Original Poster
Rep: Reputation: 43
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.

Last edited by rng; 08-28-2017 at 09:26 AM.
 
Old 08-28-2017, 02:48 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,097
Blog Entries: 10

Rep: Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131Reputation: 5131
Quote:
Originally Posted by rng View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lightdm removal takes away many packages rng Debian 3 08-26-2017 09:03 AM
lightdm PhilipH Slackware 5 12-24-2016 11:02 AM
LightDM for Slackware? kikinovak Slackware 24 11-06-2015 07:52 AM
Lightdm for Slackware? lensilvan Slackware 4 11-04-2013 06:47 AM
LXer: Simple LightDM Manager: Change The LightDM Background Or Logo Using A GUI LXer Syndicated Linux News 0 10-05-2011 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration