SparkyLinux Forums

General => General discussion => Topic started by: way12go on August 26, 2014, 02:23:09 PM

Title: [Solved] How to auto-login sparky linux?
Post by: way12go on August 26, 2014, 02:23:09 PM
How to auto-login sparky linux?

I followed this webpage but it didn't work...

Quotehttp://elinux.org/RPi_Debian_Auto_Login

QuoteRPi Debian Auto Login

This guide will show you how to login to a Debian image and start LXDE by simply powering the Pi on.
Auto Login:

In Terminal:
Quote
sudo nano /etc/inittab

Scroll down to:

Quote1:2345:respawn:/sbin/getty 115200 tty1

and change to

Quote#1:2345:respawn:/sbin/getty 115200 tty1

Under that line add:

Quote1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1

Ctrl+X to exit, Y to save followed by enter twice
Auto StartX (Run LXDE)

In Terminal:

Quotesudo nano /etc/rc.local

Scroll to the bottom and add the following above exit 0:

Quotesu -l pi -c startx

(where
Quotepi is the username
you want to run X as). Press Ctrl+X to exit, Y to save followed by Enter twice.

(Note: The previous method indicated that you should add startx to /etc/profile. The updated method is better, since it will cause startx to run only when necessary, and it will not launch the X server as root.)
Title: Re: How to auto-login sparky linux?
Post by: pavroo on August 26, 2014, 05:14:16 PM
It was solved before already.
Type 'auto login' in the forum search box.
Title: Re: How to auto-login sparky linux?
Post by: way12go on August 26, 2014, 06:58:37 PM
What I did is
Quote
Step 1:

Quotesudo gedit /etc/lightdm/lightdm.conf

Quoteedit the file manually, you should change the lines from:

Code:

#autologin-user=
#autologin-user-timeout=0


to:

Code:

autologin-user=your-nickname
autologin-user-timeout=0

Auto login didn't work.

QuoteI changed the above lines or uncommented twice.

First two lines give a descrition like

#autologin-user= use your user name.... etc

Second two lines are

#autologin-user=

etc;

Quoteand then rebooted but it didn't work.

So I uninstalled "slim" login manager

and rebooted and it works.

Now I don't need password-login anymore.
Title: Re: [Solved] How to auto-login sparky linux?
Post by: pavroo on August 26, 2014, 08:08:42 PM
I heard that it doesn't work well in some cases.
But if slim works that's fine.
Title: Re: [Solved] How to auto-login sparky linux?
Post by: GeneC on August 26, 2014, 08:13:37 PM
Pavroo

You might be interested in this...

http://sparkylinux.org/forum/index.php?topic=2582.new#new
Title: Re: [Solved] How to auto-login sparky linux?
Post by: pavroo on August 26, 2014, 10:53:18 PM
The tool looks interesting...