From the documentation we learn what exec does: The reason it does this is to ensure that your Xsession stops when the window manager stops and keeps on running when it did not yet stop. xinitrc uses exec to start the window manager. This will automatically start your WM when you log in from the first teletypewriter ( tty1). If ] thenĮxec startx # remove the exec to remain logged in when your wm ends fi xinitrc should also include all the lines except the last block form /etc/X11/xinit/xinitrc. i3 for i3wm, startkde for plasma, check the documentation of your WM to see how to start it. This file should have a line of the form exec window-manager which starts the window manager of choice. xinitrc 1 and execute that file with the shell once it has an X session. ![]() ![]() ![]() Startx is just a nicer front-end to xinit that allows starting a single session of the X window system. If your computer is only for use by people who are not scared by terminals, you can remove your display manager because it is just one more thing that will confuse you when your system boots and all you see is a blinking _ in the top left corner.Īnd after all, who doesn’t want a login screen that is as minimalistic and simple as: Arch Linux 4.15.14-1-ARCH (tty1) Once you have entered the correct password, it will go on and start the window manager of your choice. In a typical Linux desktop install, a display manager is used to ask your password when the system starts in a fancy GUI.
0 Comments
Leave a Reply. |