Auto login and `startx` without a display manager (systemd)

Share your own howto's etc. Not for support questions!

Re: Auto login and `startx` without a display manager — jess

Postby Peripatus » 2018-11-22 13:09

Head_on_a_Stick, thank you!

FWIW, I can confirm that the procedure works, without modification, for my system running BunsenLabs Helium (i.e. ~Debian Stretch). :D

Makes for a real fast boot-to-GUI -- and near-instant resume from Suspend! Ideal for an older computer mainly used as an internet tv.

No upgrade-proofness tested yet.

[NB: To anyone else who initially mistypes their username in the override.conf file (no capital letters! :roll: ), and reboots to find only a blinking cursor: don't panic; hit Ctl+Alt+F2 to open an auxiliary terminal; login with the correct username and password; optionally start the GUI by typing startx; fix the typo in the file; reboot; enjoy the smoothness.]
Peripatus
 
Posts: 3
Joined: 2018-11-22 12:47

Re: Auto login and `startx` without a display manager — jess

Postby Head_on_a_Stick » 2018-11-22 17:27

Peripatus wrote:I can confirm that the procedure works, without modification, for my system running BunsenLabs Helium (i.e. ~Debian Stretch). :D

BunsenWhat? :mrgreen:

But anyway, yes, I've had it working in stretch and buster as well so I've changed the OP to reflect this.
"The trouble with the world is that the stupid are cocksure and the intelligent full of doubt." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 8842
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Auto login and `startx` without a display manager — jess

Postby Peripatus » 2018-11-23 16:25

Head_on_a_Stick wrote:BunsenWhat? :mrgreen:


Are you kidding me? :) Just noticed a rather active head on a stick over at the BunsenLabs forums...

Either way, I installed it just recently -- it's wonderful!

cheerio
Peripatus
 
Posts: 3
Joined: 2018-11-22 12:47

Re: Auto login and `startx` without a display manager — jess

Postby Head_on_a_Stick » 2018-11-23 20:57

Peripatus wrote:rather active

Not any more :mrgreen:
"The trouble with the world is that the stupid are cocksure and the intelligent full of doubt." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 8842
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Auto login and `startx` without a display manager — jess

Postby Peripatus » 2018-11-24 14:41

Head_on_a_Stick wrote:
Peripatus wrote:rather active

Not any more :mrgreen:

Oh :? Should we take heed?
Peripatus
 
Posts: 3
Joined: 2018-11-22 12:47

Re: Auto login and `startx` without a display manager — jess

Postby Head_on_a_Stick » 2018-11-24 14:49

Peripatus wrote:Should we take heed?

No, not at all, BL is one of the more excellent distributions out there, I just prefer vanilla Debian :)
"The trouble with the world is that the stupid are cocksure and the intelligent full of doubt." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 8842
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Auto login and `startx` without a display manager (syste

Postby bedtime » 2019-01-30 18:51

I like how you dealt with issuing the startx command:

Code: Select all
[ "$(tty)" = "/dev/tty1" ] && exec startx


You negated the need for an 'if' command—clever! Always nice to do a command as efficiently as possible! :)

Thanx!
bedtime
 
Posts: 107
Joined: 2012-12-16 19:34

Previous

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable