aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2023-01-08-fedora-login-manager.org
blob: 9326901bd1cffd44c4541ad6860fb579d4f15ba7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#+date: <2023-01-08 Sun 00:00:00>
#+title: Step-by-Step Guide to Removing Fedora i3's Login Manager
#+description: Learn how to safely remove the default login manager from Fedora i3, configure manual i3 launching, and customize your Fedora workstation setup.
#+slug: fedora-login-manager

* Fedora i3's Login Manager

Since I use the i3 spin of Fedora Workstation, I don't like to have a
login manager installed by default. As of the current version of Fedora
i3, the default login manager is LightDM.

If this is no longer the case, you can search for currently-installed
packages with the following command and see if you can identify a
different login manager.

#+begin_src sh
sudo dnf list installed
#+end_src

* Removing the Login Manager

In order to remove the login manager, simply uninstall the package.

#+begin_src sh
sudo dnf remove lightdm
#+end_src

* Launching i3 Manually

In order to launch i3 manually, you need to set up your X session
properly. To start, create or edit the =~/.xinitrc= file to include the
following at the bottom.

#+begin_src config
exec i3
#+end_src

Now, whenever you log in to the TTY, you can launch your desktop with
the following command.

#+begin_src sh
startx
#+end_src