Author Topic: auto login  (Read 3523 times)

lewisl

  • Newbie
  • *
  • Posts: 3
    • View Profile
auto login
« on: January 12, 2015, 11:53:22 AM »
I've been trying to setup AUTO LOGIN with lightdm. I know how it's done in Debian but can't get it to work.

also how would I boot to command line?

Any ideas?

Maroman

  • Guest
Re: auto login
« Reply #1 on: January 12, 2015, 01:11:02 PM »
on autologin
open the file /etc/lightdm/lightdm.conf (as root) to change it a little. look at some part of my config file

Code: [Select]
[SeatDefaults]
#xserver-command=X
#xserver-layout=
#xserver-config=
xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session=lightdm-greeter
#greeter-hide-users=true
#greeter-allow-guest=true
#greeter-show-manual-login=false
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
session-wrapper=/etc/X11/Xsession
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=maroman
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false
the autologin line is essential. change it (uncomment and set your id, not mine) save and reboot.
if you do not use autologin you can comment the line greeter-hide-users instead. in this way you avoid to rewrite your login id every time.

on boot. if I understand you want to start just bash early from the beginning. if so you should edit grub during start (press letter e). find the line with linux starting command and add
Code: [Select]
init=/bin/bashyou can also change ro parameter onto rw. ctrl+x saves and starts new grub command. you will be booted as root.

cheers,