Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# journalctl -b | grep ight | tail
Nov 29 00:40:15 ab250 systemd[1]: Starting Light Display Manager...
Nov 29 00:40:16 ab250 systemd[1]: Started Light Display Manager.
Nov 29 00:40:16 ab250 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Nov 29 00:40:16 ab250 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Nov 29 00:40:17 ab250 systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
Nov 29 00:40:17 ab250 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 6.
Nov 29 00:40:17 ab250 systemd[1]: Stopped Light Display Manager.
Nov 29 00:40:17 ab250 systemd[1]: lightdm.service: Start request repeated too quickly.
Nov 29 00:40:17 ab250 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Nov 29 00:40:17 ab250 systemd[1]: Failed to start Light Display Manager.
# systemctl status lightdm.service
â lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-11-29 00:40:17 EST; 8min ago
Docs: man:lightdm(1)
Process: 7419 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Process: 7416 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
Main PID: 7419 (code=exited, status=1/FAILURE)
This was an "OEM" installation. How does one troubleshoot this? No manual entry for [/etc/lightdm/]lightdm.conf. I see no clues in dmesg. Searching 'lightdm FAQ' proved useless. I thought it might be https://bugs.freedesktop.org/show_bug.cgi?id=104993 fixed upstream last April not included in June Mint release or subsequent updates, but reenabling compositing doesn't fix it. Startx does work as expected (without compositing disabled). Restoring the original lightdm.conf works, but I don't want any autologin, and nothing happens when I select "configure the login window".
look for auto login on this page then open your config file then reverse the process for auto login by commenting it out using a terminal and your favorite terminal editor.
look for auto login on this page then open your config file then reverse the process for auto login by commenting it out using a terminal and your favorite terminal editor.
Reversing the process would technically involve reversing the installation process. Userdel didn't work because autologin in a normal boot has the user involved in a current process that respawns when killed. Userdel worked in multi-user boot, but lightdm apparently cannot cope with not having any autologin user configured. Commenting the autologin lines in lightdm.conf has the same effect as deleting those lines, as I tried before OP, which causes lightdm to fail to start. Aptitude does not find any such package accountservice. Looks like arch's lightdm docs are not appropriate for mint usage.
Reversing the process would technically involve reversing the installation process. Userdel didn't work because autologin in a normal boot has the user involved in a current process that respawns when killed. Userdel worked in multi-user boot, but lightdm apparently cannot cope with not having any autologin user configured. Commenting the autologin lines in lightdm.conf has the same effect as deleting those lines, as I tried before OP, which causes lightdm to fail to start. Aptitude does not find any such package accountservice. Looks like arch's lightdm docs are not appropriate for mint usage.
how so? it is called a config file for a reason. you say you have startx, keep it in that mode, login then
Edit the LightDM configuration file and ensure these lines are uncommented and correctly configured:
is they are not uncommented then auto login will not work. as this is the effects that commenting out an instruction, or command has on it. remove yourself from the auto login group, delete it. it is not like that is going to make you any worse off then you already are. I'd stip it al lout of there.
if it is not working then install an different login manager, or remove that one, make sure its cofig is gone then reinstall it. if that still is an issue then go talk to the MINT linux people and give them a piece of your mind.
my Linux MINT does not have auto login so I do not know how this happened to you. as a matter of fact let me go jump in to that an seee what is going on with mine.
ha I mine is not using lxdm, mine is using
Code:
DESCRIPTION="Linux Mint 19 Tara"
ExecStart=/usr/sbin/lightdm
Restart=always
BusName=org.freedesktop.DisplayManager
Code:
Linux Mint turn off automatic login
Enable Automatic Login from GUI. Navigate to Settings->Details->Users .
To start, first hit Unlock button and enter your administrative password.
Once ready turn the Automatic Login switch to ON.May 7, 2018
you can save yourself a head ache and install a different login manager.
How what so? It's not written to be directly reversible that I can grok.
Quote:
it is called a config file for a reason.
It has a header line and 3 content autologin lines. Without the autologin lines, it crashes. With them commented, it crashes. With them as provided, it's stuck in autologin mode.
Quote:
you say you have startx, keep it in that mode, login then
That's fine most of the time, but not for always.
Quote:
sudo nano /etc/lightdm/lightdm.conf
find the line where it states.
is they are not uncommented then auto login will not work.
Expected, yes, but what happens is lightdm doesn't work at all.
Quote:
as this is the effects that commenting out an instruction, or command has on it. remove yourself from the auto login group, delete it. it is not like that is going to make you any worse off then you already are. I'd stip it al lout of there.
stripping it causes crash.
Quote:
if it is not working then install an different login manager, or remove that one, make sure its cofig is gone then reinstall it. if that still is an issue then go talk to the MINT linux people and give them a piece of your mind.
I'd rather be sure what I should expect first. Maybe they already know it crashes. Maybe they expect everyone to use autologin. After all, Mint is supposed to be "easy" for Windows dweebs, right? All the more reason to figure out where the lightdm docs are squirreled away.
Quote:
my Linux MINT does not have auto login so I do not know how this happened to you. as a matter of fact let me go jump in to that an seee what is going on with mine.
I'm waiting....
Quote:
ha I mine is not using lxdm,
lxdm? lightdm here. Is yours an upgrade from 18.x or older rather than fresh 19 as mine is?
Quote:
mine is using
Code:
DESCRIPTION="Linux Mint 19 Tara"
ExecStart=/usr/sbin/lightdm
Restart=always
BusName=org.freedesktop.DisplayManager
What file is that?
Quote:
Code:
Linux Mint turn off automatic login
Enable Automatic Login from GUI. Navigate to Settings->Details->Users .
To start, first hit Unlock button and enter your administrative password.
Once ready turn the Automatic Login switch to ON.May 7, 2018
"Users & groups" settings never exits busy cursor, or reacts to its close button. "Settings" has no "Details" heading. "Session and Startup" has nothing that appears related to autologin. "Login Window" fails to open.
Quote:
you can save yourself a head ache and install a different login manager.
Purging lightdm and reinstalling it didn't help, even though the configuration settings in /etc/lightdm are entirely different: no lightdm.conf file, no lightdm.d directory, no lightdm-gtk-greeter.conf.d directory, plus a users.conf file with nothing about autologin in it:
I've never used lightdm before that I can remember. One reason I installed Mint was to have something different. No derivative (Mint) of a derivative (*buntu) stands much chance of becoming a primary OS here. It's just a (broken) tool that puzzles me about why it seems so highly recommended and popular.
looking at and grep'ing my config files I am not coming up with anything in the files themselves. too many different confi files for my taste. btw, still how did yours get set up for auto login in the first place?
from what I can find on it, it is everyone wanting to know how to have auto login and not turn it off, and they are using a gui to do it with. found one, this here might help,
well I just lost my mint install, I plugged in some externals they were not getting recognized, so I rebooted, to see if they would on booting up, then inframs something something came up saying it can't find /root/dev and some other things, and well it crashed. so i got a go see if I can do an easy fix on it, or burn it.
As a result of purging lightdm, then reinstalling it and slick-greeter, I was able with the help of https://wiki.archlinux.org/index.php/LightDM to stop the crashing. I still haven't found a clue to how to make the greeter produce a list of specified users to choose from, like KDM has made easy since somewhere around the end of last century.
As a result of purging lightdm, then reinstalling it and slick-greeter, I was able with the help of https://wiki.archlinux.org/index.php/LightDM to stop the crashing. I still haven't found a clue to how to make the greeter produce a list of specified users to choose from, like KDM has made easy since somewhere around the end of last century.
mine just adds the users as they are added to my system..
You mean all users over 500? That's not acceptable to me. I want to specify exactly which user(s).
hum.. that does pose a dilemma. You might want to look into other login managers, Mint is capable of using other than what you already have installed. Like KDM why not just install that one, seeings how you mentioned that you already knew how to use that one to do what it is you're looking for. You do not have to install KDE, they are separate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.