Lemmy.eus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
TheKernalBlog@lemmy.ml to Linux@lemmy.ml ·
edit-2
3 years ago

Ditch Your Display Manager, Use Startx Instead

thekernal.xyz

external-link
message-square
12
fedilink
10
external-link

Ditch Your Display Manager, Use Startx Instead

thekernal.xyz

TheKernalBlog@lemmy.ml to Linux@lemmy.ml ·
edit-2
3 years ago
message-square
12
fedilink
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.
  • krolden@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    3 years ago

    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@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

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

      Some ways to remedy the problem:

      • use exec startx instead of just startx
      • https://wiki.archlinux.org/title/Xinit#Autostart_X_at_login
      • Some other workarounds in case you’re needing .bash_logout or similar to run on logout
        • Although perhaps an attacker could race to ^C the script before it exits the shell.
      • ree@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

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

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

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

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.12K users / day
  • 4.61K users / week
  • 8.41K users / month
  • 16.5K users / 6 months
  • 24 local subscribers
  • 54K subscribers
  • 6.5K Posts
  • 111K Comments
  • Modlog
  • mods:
  • nooter692@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org