See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autologin for user account
#9
(05-06-2014, 10:22 PM)gold_finger link Wrote: First -- I'm assuming you set the user up without "sudo" privileges.  In that case, the user has their own password that can be used for logging in and that password can't be used to conduct admin activities.  So you shouldn't have to worry about that password being known.

Second -- since I don't run a multi-user set-up, I ran a few tests to see if I could duplicate your problem.  I tried using the GUI in the Menu's allow/disallow auto-login feature after adding a new user.  (I'm guessing that is what you were trying to use.)  "Yes" -- I ran into same problem as you.  It would not allow the change to take effect and have the "non-sudo" user automatically logged in on startup.

So I did a search and found a different way to do it -- by editing the file that controls for that.

*  Using your account that has sudo priviledges, open your file manager (Thunar).
*  Navigate to the root directory (/); then to the /etc directory.
*  Under /etc, find the lightdm directory, right-click it and choose to "open as Administrator".
*  Now look for the file lightdm.conf and open it with your text editor (leafpad).
*  Look for the line "autologin-user=XXXX" and fill in the username that you want logged-in automatically in place of the XXXX.
*  Save file and close it.  Close file manager.
*  Reboot computer and it should auto-login that user.  (It worked in my tests.)


I can't found lightdm.conf. If I create it and add "autologin-user=-user-", when I restart the system It been blocked.

If I use the Autologin Scripts, it fails becouse can't found lightdm.conf

I need to fix this issue to install Linux Lite 2 in 31 computers



EDITED


Finally I found the solution. I create lightdm.conf in /etc/lightdm/ and I add the following lines into it:

Code:
[SeatDefaults]
greeter-session=lightdm-webkit-greeter
user-session=xfce
autologin-user=---USERNAME---
allow-guest=false
Reply


Messages In This Thread
Autologin for user account - by william_st_ia - 05-06-2014, 08:17 PM
Re: Autologin for user account - by gold_finger - 05-06-2014, 10:22 PM
Re: Autologin for user account - by william_st_ia - 05-08-2014, 09:16 PM
Re: Autologin for user account - by Colin23erk - 05-13-2014, 08:37 PM
Re: Autologin for user account - by gold_finger - 05-13-2014, 10:57 PM
Re: Autologin for user account - by Colin23erk - 05-14-2014, 08:28 AM
Re: Autologin for user account - by gold_finger - 05-15-2014, 01:46 AM
Re: Autologin for user account - by N4RPS - 05-15-2014, 01:35 PM
Re: Autologin for user account - by leillo1975 - 06-05-2014, 02:55 PM
Re: Autologin for user account - by Valtam - 06-06-2014, 04:00 PM
Re: Autologin for user account - by leillo1975 - 06-12-2014, 10:43 AM
Re: Autologin for user account - by Valtam - 06-12-2014, 10:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)