![]() But most notable difference seems to be the running of /etc/X11/xinit/xinitrc.d/ scripts. So yeah, display manager do a lot of work that otherwise you have to do yourself in your ~/.xinitrc. How Do I Run Startx Without Display Manager To disable a users.Sources all files in /etc/X11/Xresources/ directory for xrdb or /etc/X11/Xresources directly if it is a file Advertisement javascript add onclick to button. Probably used by the called scripts.but that could mean that $HOME/.Xsession is also executed at this point) Runs all scripts in /etc/X11/Xsession.d (Not entirely sure here.script is pretty confusing at this point by using 4 "unused" environment variables that are "required". ![]() Runs all scripts in /etc/X11/xinit/xinitrc.d directory This should be not necessary for startx as you already have a running shell from which it can inherit all these but maybe still interesting as difference if you ever want to run startx from a place without "environment` Sources your shell (bash, zsh, csh, fish and as fallback /etc/profile and ~/.profile) login scripts (makes envrionment variables available in the X session). If the former doesn't exist loads /etc/X11/xinit/xinitrc Once you logged in, issue the following command startx If your window manager starts, great You can now go on and uninstall your display manager. Loads ~/.xinitrc (Only if no paramters to startx were given) Replace sddm with your display manager ( lightdm, gdm, ) Now reboot, you should see a prompt asking for your username and password. From Ctrl+Alt+F1 to Ctrl+Alt+F10, do nothing and I’m stuck at LightDM login screen session. There, inserting username and password, you’ll get a command line terminal session. My solution is to reinstall xubuntu-desktop (despite a lot of packages showed not satisfied dependencies the GUI started in the reboot). Lightdm for sure has a similar script but afraid I don't know where to find it exactly. Usually, when you are at the login screen, pressing Ctrl+Alt+F1, you can enter to command line interface from the GUI. Afraid I have no lightdm installed only sddm which uses /usr/share/sddm/scripts/Xsession as the script for user config. Startx is a script, you can easily look what it is doing. This might be distro depended.so could differ for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |