Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

[Solved] How to auto-login sparky linux?

Started by way12go, August 26, 2014, 02:23:09 PM

Previous topic - Next topic

way12go

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.)
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

It was solved before already.
Type 'auto login' in the forum search box.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

way12go

#2
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.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

I heard that it doesn't work well in some cases.
But if slim works that's fine.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

GeneC

GeneC

pavroo

Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum