LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-28-2014, 11:17 AM   #16
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,065
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227

Quote:
Originally Posted by fixer1234 View Post
I looked at that configuration file. A few excerpts:

[X-*-Core]
AllowNullPasswd=false

[X-:*-Core]
AllowNullPasswd=true
NoPassEnable=true
NoPassUsers=

[X-:0-Core]
AutoLoginEnable=true
AutoLoginLocked=false
AutoLoginUser=

I'm not sure what I'm looking at. I assume the colon in the section label means something; it's the only difference between two conflicting entries that appear to relate to passwordless login. The autologinenabled line you mentioned is set to true. I excluded a line here that shows me as the default user. There is no user name in the autologinuser line, but I'm the only user so the system does pre-enter my user name on the login screen. It would be great if there was a user manual for these configuration files.
The lines in bold are the only two you should need to worry about. Just add your username after "AutoLoginUser=" (ex AutoLoginUser=fixer1234), and make sure neither one of those lines has a "#" before it. Like others have mentioned, it's insecure without any other security measures.
 
Old 09-28-2014, 12:48 PM   #17
fixer1234
Member
 
Registered: Aug 2014
Location: Virginia, USA
Posts: 50

Original Poster
Rep: Reputation: Disabled
If I understand the KDM options, the function of autologin is to pre-select a user so you don't get a menu of users to pick from, and passwordless login bypasses the request for a password. It does preselect me, and my user name is filled in on the login screen. Does autologinuser apply to both features and if so, shouldn't there be a place where I need to specify the user for passwordless login (the KDM setup page has separate user specifications for the two features).
 
Old 09-28-2014, 02:45 PM   #18
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Rep: Reputation: 27
I've had a look at that file on my system, which has auto-login enabled, and for my user 'elephant' (altered) I searched the config file for that name & it is mentioned in the following two sections:

Code:
[X-:*-Greeter]
AllowClose=false
DefaultUser=elephant
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous

[X-:0-Core]
AutoLoginEnable=true
AutoLoginLocked=false
AutoLoginUser=elephant
ClientLogFile=.xsession-errors
 
Old 09-28-2014, 03:04 PM   #19
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,065
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by Mr Marmmalade View Post
I've had a look at that file on my system, which has auto-login enabled, and for my user 'elephant' (altered) I searched the config file for that name & it is mentioned in the following two sections:

Code:
[X-:*-Greeter]
AllowClose=false
DefaultUser=elephant
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous

[X-:0-Core]
AutoLoginEnable=true
AutoLoginLocked=false
AutoLoginUser=elephant
ClientLogFile=.xsession-errors
DefaultUser is the pre-selected user in the list on the login screen when you are prompted for a password. AutoLoginUser will automatically log in a specified user without being prompted for a password.
 
Old 09-28-2014, 04:17 PM   #20
fixer1234
Member
 
Registered: Aug 2014
Location: Virginia, USA
Posts: 50

Original Poster
Rep: Reputation: Disabled
Thanks. I'll check this out.
 
Old 11-09-2017, 05:31 PM   #21
paelgin
LQ Newbie
 
Registered: Jul 2008
Location: North central Georgia
Distribution: Lubuntu
Posts: 4

Rep: Reputation: 9
Auto login is exactly what I want.

As a newbie, I am working to setup a Debian 9.2.1 running on a Dell 8200 for JMRI PanelPro with WiThrottle for running trains. I have a $9 computer doing that now (running Debian Jessie as I understand), but I want that back
The PC will be cabled to a WiFi router with no InterNet connection, and usually no human intervention. That is, when power is turned on for the layout, 120 volts will be available for the PC (which is set in the bios to start when power applied). In PanelPro, I can select the option to run WiThrottle and WebServer utilizing the locally broadcast WiFi. Then trains can be run using Android Engine Driver, or AOS WiThottle apps. So next week I'll get back on this project with ideas from this thread.

Thanks for any thoughts.

Phil in gorgeous Young Harris, Georgia, USA
 
Old 11-10-2017, 12:16 PM   #22
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Rep: Reputation: 27
If you use KDE on Debian 9.2.1, there's auto-login available in System Settings > Startup & Shutdown > Login Screen > Advanced Tab, for whichever user you want it to auto-login as.
 
Old 11-10-2017, 07:50 PM   #23
mr.Lauren
LQ Newbie
 
Registered: Feb 2017
Posts: 4

Rep: Reputation: Disabled
Auto-login without password (KDM) help

Hello fixer1234,
I recently re-installed Jessie because of a boot problem. After this, it required login
to boot. I too wanted auto-login so that I could start boot, go away, and come back to a
booted computer.

For me, under "System Settings > System Administration > Login Screen > Convenience", I
had 10 items under "No password required for:", including me as user. There were items
like "@audio", "@cdrom", "@dip", etc. I tried everything on that page, but nothing would
work. I had "Enable-Auto Login" checked, and me as user, "Preselect User" as "none", "Enable Password-Less Logins" checked, and all 10 items under "No password required for:"
checked.

NOTHING worked until I went to "System Settings > System Administration > Login Screen >
Dialog", and clicked on "None", and then it worked!!

I really don't understand why that makes any sense. It seems to me that there might be a
bug in there somehow, but that's how I got mine to work.

I do wonder about the advisability of using "administrator" as the user, though, but I'm
not saying that I know whether it would cause a problem or not.

Last edited by mr.Lauren; 11-10-2017 at 07:53 PM. Reason: Typo
 
Old 11-15-2017, 09:40 PM   #24
paelgin
LQ Newbie
 
Registered: Jul 2008
Location: North central Georgia
Distribution: Lubuntu
Posts: 4

Rep: Reputation: 9
Quote:
Originally Posted by Mr Marmmalade View Post
If you use KDE on Debian 9.2.1, there's auto-login available in System Settings > Startup & Shutdown > Login Screen > Advanced Tab, for whichever user you want it to auto-login as.
Thanks for the reply.

Sadly, I found out that I have xfce on Debian 9.2.1, not KDE.

Happily, I found an answer that worked great. https://steemit.com/software/@kskart...gin-in-lightdm reported that xfce uses LightDM as login manager, and the file /usr/share/lightdm/lightdm.conf.d/01_debian.conf can be edited (with root privileges) to add these three lines (putting the desired username in username):

[SeatDefaults]
autologin-user=username
autologin-user-timeout=0

then save and exit. He said: "Note: Auto login is not recommended for security reasons, but i am enabling it for the sake of my convenience" since now the system is running open at that user's level of security.

I used nano as my editor. I had to reboot, but it now works as needed (and expected).

Phil in gorgeous Young Harris, Georgia, USA

on a side note, should I start a new thread with this information, since I have xfce, not KDM or KDE?

Last edited by paelgin; 11-15-2017 at 09:41 PM. Reason: punctuation
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Disable login screen (auto login) after waking from sleep (KDE/KDM) damgar Slackware 2 08-18-2018 10:29 PM
Auto-login Without user and password hraposo Fedora 1 07-12-2006 07:15 AM
Login without password in KDM frankmulder SUSE / openSUSE 3 10-31-2005 04:49 PM
Graphical Auto-Login without using KDM or GDM soda Linux - General 7 12-01-2002 12:57 PM
How to get the auto login to kdm! 1000mhz Linux - General 1 09-14-2002 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:07 PM.

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