cmc/cleberg.net
My personal web garden & blog.
clone: git clone https://gitbay.org/cmc/cleberg.net.git
main: content/blog/2023-01-08-fedora-login-manager.org · raw
1#+date: [2023-01-08 Sun 00:00:00]
2#+title: Fedora i3: Remove the Login Manager
3#+description: Removing the Fedora login manager and launching i3 manually.
4#+slug: fedora-login-manager
5#+filetags: :linux:
6
7* Fedora i3's Login Manager
8
9Since I use the i3 spin of Fedora Workstation, I don't like to have a
10login manager installed by default. As of the current version of Fedora
11i3, the default login manager is LightDM.
12
13If this is no longer the case, you can search for currently-installed
14packages with the following command and see if you can identify a
15different login manager.
16
17#+begin_src sh
18sudo dnf list installed
19#+end_src
20
21* Removing the Login Manager
22
23In order to remove the login manager, simply uninstall the package.
24
25#+begin_src sh
26sudo dnf remove lightdm
27#+end_src
28
29* Launching i3 Manually
30
31In order to launch i3 manually, you need to set up your X session
32properly. To start, create or edit the =~/.xinitrc= file to include the
33following at the bottom.
34
35#+begin_src config
36exec i3
37#+end_src
38
39Now, whenever you log in to the TTY, you can launch your desktop with
40the following command.
41
42#+begin_src sh
43startx
44#+end_src