Hardware - Support > Start up and Shutdown

Autologin for user account

(1/3) > >>

Jerry:
Thank you for your reply. Please keep us informed of your progress :)

leillo1975:

--- Quote from: Valtam on June 06, 2014, 12:00:05 PM ---
--- Quote from: leillo1975 on June 05, 2014, 10:55:18 AM ---I need to fix this issue to install Linux Lite 2 in 31 computers

--- End quote ---

Glad you got this fixed, what 31 computers do you have Linux Lite on? Do you own an Internet Cafe or something? Thank you.

--- End quote ---

I'm system administrator in a Technical School of Spain. We have a classroom with 31 very old computers (over 10 years) that nobody uses, and I want to prepare it to internet browsing and other programs like Libreoffice, gimp or audacity

Jerry:

--- Quote from: leillo1975 on June 05, 2014, 10:55:18 AM ---I need to fix this issue to install Linux Lite 2 in 31 computers

--- End quote ---

Glad you got this fixed, what 31 computers do you have Linux Lite on? Do you own an Internet Cafe or something? Thank you.

leillo1975:

--- Quote from: gold_finger on May 06, 2014, 06:22:43 PM ---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.)

--- End quote ---


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
--- End code ---

N4RPS:
Hello!

In a nutshell, unlike Windows, where you can assign users to a group of 'administrators', there is only one administrator - the 'root' user.....

73 DE N4RPS
Rob

Navigation

[0] Message Index

[#] Next page

Go to full version