Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[bug] [solved] Can't set a user to log in automatically

Report Bugs, Issues and non- pacakage Requests
Post Reply
Message
Author
silvarius
Forum Novice
Forum  Novice
Posts: 9
Joined: Mon Feb 12, 2018 4:22 am

[bug] [solved] Can't set a user to log in automatically

#1 Post by silvarius » Mon Feb 12, 2018 8:34 am

Hello,

I tried to set a user to login automatically through the MX user manager but the new setting fails to apply. To do so, I go in the options tab, select the proper user and tick the "Log in automatically box". Then, whether I click on the Apply or Close button, the user is not logged in automatically when I reboot, and when I go again in the MX user manager and select the user again, the "log in automatically" box is once again not ticked. I tried to launch the mx-tools through terminal with sudo, but without better success. Also to be noticed: in the "options" tab of the user manager, I have 2 registered users I can choose from: root and elena. But when I start the computer, the choice is demo and elena. This demo user, inherited from the usb installation probably, shouldn't be there I think.

The distribution is MX17 32 bits running on a 7 years old packard bell notebook.

Nothing critical as I can boot elena user without problem, but it just seemed interesting to report.
Last edited by silvarius on Mon Feb 12, 2018 12:06 pm, edited 1 time in total.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8456
Joined: Sun Dec 16, 2007 1:17 pm

Re: [bug] Can't set a user to log in automatically

#2 Post by dolphin_oracle » Mon Feb 12, 2018 9:00 am

let's try to fix this manually. and yes, you are correct, demo should not be there.

open as root /etc/lightdm/lightdm.conf and find this line:

Code: Select all

autologin-user=demo
autologin-user-timeout=0
and change the autologin-user= line to whatever user you want to log in automatically.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

silvarius
Forum Novice
Forum  Novice
Posts: 9
Joined: Mon Feb 12, 2018 4:22 am

Re: [bug] Can't set a user to log in automatically

#3 Post by silvarius » Mon Feb 12, 2018 12:05 pm

Problem solved. Thank you very much.

You may be interested to know that in the file was the line "autologin-user=demo" in the middle of the file, but also an "autologin-user=elena" as the last line of the file. I suppose that when I tried to set the autologin through the visual interface, it added the last line without removing the initial "autologin-user=demo" line.

User avatar
richb
Administrator
Posts: 16581
Joined: Wed Jul 12, 2006 2:17 pm

Re: [bug] [solved] Can't set a user to log in automatically

#4 Post by richb » Mon Feb 12, 2018 12:17 pm

Please mark solved by adding [Solved] to the title of your first post.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

silvarius
Forum Novice
Forum  Novice
Posts: 9
Joined: Mon Feb 12, 2018 4:22 am

Re: [bug] [solved] Can't set a user to log in automatically

#5 Post by silvarius » Mon Feb 12, 2018 2:15 pm

I already had done it ;-)

Post Reply

Return to “Bugs and Non-Package Requests Forum”