aboutsummaryrefslogtreecommitdiff
path: root/blog/2023-01-08-fedora-remove-login-manager.org
blob: 2de62607919f0ab6f029aca6d27590232a3e6cb7 (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
44
+++
date = 2023-01-08
title = "Remove the Login Manager from Fedora i3"
description = "Quickly remove Fedora i3's login manager to launch your desktop manually."
+++

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

```sh
sudo dnf list installed
```

## Removing the Login Manager

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

```sh
sudo dnf remove lightdm
```

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

```config
exec i3
```

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

```sh
startx
```