Hey folks, hope everybody here is doing well.
There are tons of ways people do this, no shortage of methods but this one works well for me and hopefully somebody gets good use of the info. Above I've got openbox-session uncommented and am using openbox. Only one should be left uncommented at a time and switching is just a matter of editing this file. To select what I'm going to use, I just uncomment one of them, removing the # in front of it. # exec gnome-session -session=gnome-classic # Executed by startx (run your window manager from here) After which the sucker should be up and running again. If at some point in future you wish, re-enable the sucker with "sudo systemctl enable lightdm" and you may also need to run "sudo dpkg-reconfigure lightdm" too. Another would be to use "sudo systemctl disable lightdm" to disable lightdm and keep it from automatically starting every time the system boots up.
Couple options, remove the display manager from your OS, you can always reinstall it later if desired. For all this automagic-ness to work, you'll have to change that.
You'll be met with a command-line login to enter the user and password you want to use.įinally, you likely already have a display manager running. Easy, peasy, just skip step 1 (or remove the directory/nf file. NOTE: Ok another scenario, the above is perfectly fine for a single user system but what about a multi-user one or one on which you want to be able to login more than one username. Once it's selected it'll launch as default x-session until something else is chosen. In the above, I'm installing something to the x-session-manager group of update-alternatives, in this case, fluxbox, /usr/bin/fluxbox is where fluxbox errrr, lives and I'm giving it a priority of 40 there. Specified in the corresponding Arch Linux package.Sudo update-alternatives -install /usr/bin/x-session-manager x-session-manager /usr/bin/fluxbox 40
License, except for the contents of the manual pages, which have their own license The website is available under the terms of the GPL-3.0 Using mandoc for the conversion of manual pages. Package information: Package name: extra/xorg-xinit Version: 1.4.1-3 Upstream: Licenses: custom Manuals: /listing/extra/xorg-xinit/ Table of contents etc/X11/xinit/xserverrc Server to run if the user has no. etc/X11/xinit/xinitrc Client to run if the user has no. Typically a shell script which runs many programs in theīackground. See the Xserver(1)Īnd Xsecurity(7) manual pages for more information on XĬlient/server authentication. Host-based authentication for the local host. The -auth argument, from automatically setting up insecure This is to prevent the X server, if not given XAUTHORITY This variable, if not already defined, gets set to Window manager has been configured properly, the user then chooses theĮxec twm ENVIRONMENT VARIABLES DISPLAY This variable gets set to the name of the display to which clients shouldĬonnect. The window manager running as the ''last'' application. xinitrc that starts several applications and leaves People often choose a session manager, window manager, orīelow is a sample. The last client should run in the foreground when it exits, the Startx kills the server and performs any other session shutdown xinitrc is typically a shell script which starts manyĬlients according to the user's preference. The system-wide xinitrc and xserverrc files are See the xinit(1) manual page for more details on the Server options are given, they override this behavior and revert to the Xserverrc in the xinit library directory.
To run, startx first looks for a file called. If command line client options are given, they override thisīehavior and revert to the xinit(1) behavior.