F5F Stay Refreshed Software Operating Systems Access the desktop without relying on a display manager.

Access the desktop without relying on a display manager.

Access the desktop without relying on a display manager.

C
catseecoo
Senior Member
662
03-11-2021, 10:02 PM
#1
On Fedora 34, you can remove the display manager by editing the systemd service files or using the system settings to disable it. Then, you can set up your Cinnamon desktop with a username and password via the terminal.
C
catseecoo
03-11-2021, 10:02 PM #1

On Fedora 34, you can remove the display manager by editing the systemd service files or using the system settings to disable it. Then, you can set up your Cinnamon desktop with a username and password via the terminal.

W
Ward12
Posting Freak
895
03-18-2021, 02:56 AM
#2
Without a display manager, accessing the Desktop isn't possible. You can manage systemctl (if available on Fedora) and stop it from starting at boot, which brings you to a console or terminal. To enter the desktop, just run sudo gdm in the terminal.
W
Ward12
03-18-2021, 02:56 AM #2

Without a display manager, accessing the Desktop isn't possible. You can manage systemctl (if available on Fedora) and stop it from starting at boot, which brings you to a console or terminal. To enter the desktop, just run sudo gdm in the terminal.

D
duhazneubin
Senior Member
583
03-18-2021, 06:09 AM
#3
I considered a concept similar to starx
D
duhazneubin
03-18-2021, 06:09 AM #3

I considered a concept similar to starx

I
ImTheNoobyNoob
Junior Member
4
03-18-2021, 07:59 AM
#4
It might function, though I'm uncertain.
I
ImTheNoobyNoob
03-18-2021, 07:59 AM #4

It might function, though I'm uncertain.

A
Ana12
Junior Member
38
03-18-2021, 08:40 AM
#5
Utilize your bash_profile file to initiate your desktop environment upon login
A
Ana12
03-18-2021, 08:40 AM #5

Utilize your bash_profile file to initiate your desktop environment upon login

S
SorcererVevo
Member
180
03-18-2021, 10:18 AM
#6
The correct approach involves turning off the display manager without removing it, using systemctl disable displaymanagername.service. Then install xinit with sudo dnf install xorg-x11-xinit. Create a file in your users/home directory named .xinitrc and add the command exec cinnamon-session. Include this in your .bashrc. If the environment variable DISPLAY is empty and XDG_VTNR is set, run exec startx with the provided sources links. This method has been used for years with window managers, ensuring autostarts happen after bash login via .bashrc, avoiding conflicts with the X server logs during startup.
S
SorcererVevo
03-18-2021, 10:18 AM #6

The correct approach involves turning off the display manager without removing it, using systemctl disable displaymanagername.service. Then install xinit with sudo dnf install xorg-x11-xinit. Create a file in your users/home directory named .xinitrc and add the command exec cinnamon-session. Include this in your .bashrc. If the environment variable DISPLAY is empty and XDG_VTNR is set, run exec startx with the provided sources links. This method has been used for years with window managers, ensuring autostarts happen after bash login via .bashrc, avoiding conflicts with the X server logs during startup.