DebianThis forum is for the discussion of Debian Linux.
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.
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.
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).
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:
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:
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.
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.
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.
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
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):
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.