Access the desktop without relying on a display manager.
Access the desktop without relying on a display manager.
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.