You are not logged in.

#1 2015-12-21 20:41:49

stagnation
New Member
Registered: 2015-12-01
Posts: 2

Auto Login

Hello all,
I was wondering if there was a way that I could disable the login window and just auto login to my machine and only be asked for my password when I make changes to the root, or download, etc.

Thanks in advance!

Offline

#2 2015-12-21 20:43:41

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: Auto Login

to

/etc/lightdm/lightdm.conf

add

autologin-user=someuser

under

[SeatDefaults]

Offline

#3 2015-12-21 20:44:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Auto Login

Hello stagnation, I think this is the guide you want:
https://wiki.debian.org/LightDM#Enable_autologin

However, I don't use a display manager so let me know if it works wink

EDIT: Too slow...
big_smile

Last edited by Head_on_a_Stick (2015-12-21 20:45:36)

Offline

#4 2015-12-21 21:17:15

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Auto Login

Head_on_a_Stick wrote:

Hello stagnation, I think this is the guide you want:
https://wiki.debian.org/LightDM#Enable_autologin

However, I don't use a display manager so let me know if it works wink

EDIT: Too slow...
big_smile

So without a D.M, when you boot, you're brought straight to the desktop? Do you use openbox though? What is it that kickstarts openbox then?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#5 2015-12-21 21:22:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Auto Login

Horizon_Brave wrote:

So without a D.M, when you boot, you're brought straight to the desktop? Do you use openbox though? What is it that kickstarts openbox then?

So many questions...

I don't use autologin (I think I would get lynched by my fellow OpenBSD users if I asked how to enable that) so I just log in via the console with this in ~/.profile

[[ -z $DISPLAY ]] && exec startx /usr/local/bin/xmonad

This runs the `startx` command automatically if I log in without a graphical desktop running (on that DISPLAY); I have compiled all my startup programs into the xmonad binary (run-time configuration sucks ***) so I just need to call that, no need for ~/.{xinitrc,xsession}

KISS smile

Offline

#6 2015-12-21 21:59:36

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Auto Login

Head_on_a_Stick wrote:
Horizon_Brave wrote:

So without a D.M, when you boot, you're brought straight to the desktop? Do you use openbox though? What is it that kickstarts openbox then?

So many questions...

I don't use autologin (I think I would get lynched by my fellow OpenBSD users if I asked how to enable that) so I just log in via the console with this in ~/.profile

[[ -z $DISPLAY ]] && exec startx /usr/local/bin/xmonad

This runs the `startx` command automatically if I log in without a graphical desktop running (on that DISPLAY); I have compiled all my startup programs into the xmonad binary (run-time configuration sucks ***) so I just need to call that, no need for ~/.{xinitrc,xsession}

KISS smile


Apologies if I often get carried away with the questions! But thanks for your responses and of course patience..


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#7 2015-12-21 22:14:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Auto Login

Horizon_Brave wrote:

Apologies if I often get carried away with the questions!

Not at all, I love talking about my set up smile

Offline

Board footer

Powered by FluxBB