![Young souls album edit](https://loka.nahovitsyn.com/115.jpg)
![startx vs xinit startx vs xinit](http://www.skullbox.net/vncgnome.gif)
xinitrc example, from terminal to desktop, gnome without display manager, how to login from terminal, linux desktop login from terminal, linux without gdm, linux without ligthdm, linux without slim, login to desktop via terminal, login to linux without display manager, login to linux without dm, login with startx, login with xinitrc, startx usage, using arch without display manager, using debian without display manager, using linux mint without display manager, using linux without display manager, using ubuntu without display manager on by JJ Posti. This entry was posted in session tweaks and tagged.
![startx vs xinit startx vs xinit](https://forum.garudalinux.org/uploads/default/optimized/2X/e/ecda602c6c5edc034809f4a3235fc001ad299b2c_2_690x436.png)
The overall process described in this post was verified with Debian Wheezy and Arch Linux. Once you have done the login part just type startx and you should end up seeing your desktop. When you have removed your display managers you will see a simple terminal asking you to login. xinitrc file and you have the startx script installed then you are ready to test things out.
#Startx vs xinit install#
Sudo pacman -S xorg-xinit OR sudo apt-get install xinitĪs shown above: the actual package name hosting startx script might be different depending on your system of choice. So install xorg-xinit with a gui tool or via terminal. You will need to have a package called xorg-xinit installed since it has the startx script which will be used to start the desktop. xinitrc add this line: exec gnome-session to. xinitrc needs to be saved inside your home directory and it needs to be executable: again see the linked post above for more details.Įdit: If you wish to use gnome with. So change it if you are not using fi as a keyboard layout. Notice: the setxkbmap variable should be changed to correspond your local keyboard. xinitrc below (my current configuration): xinitrc a while back so check it out for more info: Getting the components for the log in without a display manager:ġ. With the method of not having a display manager at all you will skip all the previously mentioned hassle while having a clean and simple universal autostart file for your desktop session(s) xsessions (which is a similar kind of file) can be a very complex task depending on the users needs. In addition to previous: configuring Gdm3, lightdm or any modern dm to respect. xinitrc from the start but distros coming from Debian family usually need some work until their Slim display managers see. Also when it comes to display managers ,for example, Slim in Arch Linux works with. xinitrc when running a display manager (Ubuntu, Debian…). xinitrc in systems which would otherwise use their own files and configs as defaults instead of. Startx is basically just one big shell script to dummy-proof passing arguments to xinit and the xserver.
#Startx vs xinit full#
In most cases simple is better and as the software dependencies of modern display managers (gdm, lightdm, mdm…) are getting bigger and bigger there is certainly no harm done if we keep our log in simple and under our full control, right?Įdit: The method of not having a display manager around also makes possible the usage of. Startx does some funny things, it will definitely work as startx - :1 but startx might autodetect more stuff. Why would you want to remove display managers in the first place?
![startx vs xinit startx vs xinit](https://i.redd.it/chgqx26l27c01.jpg)
In fact you can start the whole desktop with. xinitrc you can however do much more than start some programs.
#Startx vs xinit free#
xinitrc which is a nice display manager free way of autostarting programs with Linux. Xinit: unable to connect to X server: Connection refusedĪnd if I try to run "startx" then the result is exactly the same but with the addition of "Couldn't get a file descriptor referring to the console"Īs a side note, running "sudo startxfce4" worked just fine, but after reading that it was a bad idea to do that, I uninstalled everything and reinstalled it, then ran some command to check that there were no files in /home owned by root (but I cannot remember what the command was).A while back I did an introduction about. usr/libexec/Xorg.wrap: Only console users are allowed to run the X server Once that was finished, I tried running "startxfce4" but it failed with this output: $startxfce4 However, there are certain programs that require having X and I didn't want to mess around with dual-booting, so I ran this command: sudo xbps-install xorg-minimal xorg-fonts xf86-video-intel xfce4 xfce4-plugins My primary use of Void is entirely from the console, so I installed just the base system.
![Young souls album edit](https://loka.nahovitsyn.com/115.jpg)