Ditch Your Display Manager, Use Startx Instead · The Kernal
thekernal.xyz
external-link
When 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.
@mogoh
link
fedilink
174M

Why would that be faster? I just type my password and I am in. If I would not use a display manager I would have to type my username, my password and then startx. It’s only slower.

krolden
link
fedilink
10
edit-2
4M

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.

@rcbrk
link
fedilink
54M

Security is a really good point. If you’re not running any screen lock then not a consideration.

Some ways to remedy the problem:

@ree
link
fedilink
24M

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).

Something I would miss without a login manager would be the start of the D-Bus session bus, or the unlocking of the system keyring.

@boi
link
fedilink
14M

It’s trivial to write a service to do this

@zyzzyxdonta
link
fedilink
1
edit-2
3M

deleted by creator

@sasalzig
link
fedilink
14M

Does that stuff still happen? I didn’t try this but I had kinda hoped this stuff got fixed with the introduction of systemd.

I think so. With corresponding user services this should not be a problem. I am not sure though since my machines run openrc and runit.

@toneverends
link
fedilink
44M

Fuck yeah. This is the way. Been doing this since I came to the installation step of “install a display manager” and wondered “why?”

I use x instead. It’s is a script that launches startx

Evan
link
fedilink
14M

Lol

@savoy@lemmygrad.ml
link
fedilink
1
edit-2
4M

😒🤚display manager

😏 👉 startx

i’ve never tested start-up times with each but startx just makes a lot more sense when you’re just using a WM manager anyway. bonus points for looking cool and impressing your non-tech friends when logging in though

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 6 users / day
  • 14 users / week
  • 56 users / month
  • 393 users / 6 months
  • 5.52K subscribers
  • 1.79K Posts
  • 5.23K Comments
  • Modlog