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.

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
9
edit-2
3Y

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:

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.

It’s trivial to write a service to do this

No need to write any services, however trivial they may be, if you just leave your display manager in place 😄

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.

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

Evan
link
fedilink
03Y

Lol

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

@savoy@lemmygrad.ml
link
fedilink
0
edit-2
3Y

😒🤚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
  • 5 users / day
  • 20 users / week
  • 27 users / month
  • 16 users / 6 months
  • 20 subscribers
  • 684 Posts
  • 1.7K Comments
  • Modlog