10
Ditch Your Display Manager, Use Startx Instead · The Kernal
thekernal.xyzWhen you boot into your Linux desktop, what do you see? If you are using the desktop version of most Linux distros, such as Debian, Fedora, or Ubuntu, you are going to see a display manager,
or, more commonly referred to as a “login manager”. While these have a use, especially if you are someone who has multiple graphical interfaces that you switch through on a regular basis,
for many people, they may as well be useless. So, if you would like to skip the hassle, and get right into your X session as fast as possible without any fancy GUI, I will show you how to
remove your login manager, edit your .xinitrc, and then start Xorg.
Maybe if you haven’t yet installed a dosplay manager but to to remove it after its installed is kinda dumb.
Not to mention someone could just crash your xorg session and still be logged in to your account.
Security is a really good point. If you’re not running any screen lock then not a consideration.
Some ways to remedy the problem:
exec startx
instead of juststartx
Screenlocks dépends where your computer is located/usage.
For my laptop I unlock my LUKS partition at boot then it jump to the desktop directly and i lock the screen with i3-locks (or xscreensaver).