Typically, this script runs a number of programs and a window manager. In general, xinit and startx can start an arbitrary server and run an arbitrary script. When the xterm terminates, xinit and startx kill the X display server. By default, xinit and startx start an X display server pointing to a display device that is enumerated as :0 and then start an xterm on it. The startx script is a front-end for xinit. The xinit program allows a user to manually start an X display server.Lo script startx può prendersi carico dell'esecuzione di vari processi, tra cui il window manager ed il desktop environment. La terminazione di tale processo porta alla chiusura del server X. Se non è configurato un file xinitrc, viene eseguito xterm. xinit è il programma che permette di lanciare manualmente un server X.En los sistemas con escritorio GNU/Linux lo habitual es usar un X Display Manager para poner en marcha el X server. Cuando el Xterm finaliza, xinit/startx cierra el X server y, generalmente, inicia un script que a su vez ejecuta un número de programas dado y un gestor de ventanas. xinitrc del usuario, xinit/startx lanza un X server en pantalla y después un emulador de terminal Xterm en ella. El script startx es un front-end para xinit. El programa xinit permite a su usuario lanzar manualmente un X Window System, también llamado sistema de ventanas X.Sa dernière version a été réalisée en septembre 2013. C'est un logiciel libre maintenu par le projet X.Org et distribué selon les termes de la licence X11. Le script startx est un script intermédiaire qui permet de lancer xinit. xinit est un programme informatique visant au lancement manuel d’un serveur X11.etc/X11/xinit/xinitrcĬlient to run if the user has no. Typically a shell script which runs many programs in the background.
See the Xserver(1) and Xsecurity(7) manual pages for more information on X client/server authentication.
This is to prevent the X server, if not given the -auth argument, from automatically setting up insecure host-based authentication for the local host. This variable, if not already defined, gets set to $(HOME)/.Xauthority. This variable gets set to the name of the display to which clients should connect. Assuming that the window manager has been configured properly, the user then chooses the ''Exit'' menu item to shut down X. xinitrc that starts several applications and leaves the window manager running as the ''last'' application. People often choose a session manager, window manager, or xterm as the ''magic'' client. The last client should run in the foreground when it exits, the session will exit. When this shell script exits, startx kills the server and performs any other session shutdown needed. xinitrc is typically a shell script which starts many clients according to the user's preference. The system-wide xinitrc and xserverrc files are found in the /etc/X11/xinit directory. See the xinit(1) manual page for more details on the arguments. If command line server options are given, they override this behavior and revert to the xinit(1) behavior. If that is not found, it uses the file xserverrc in the xinit library directory. To determine the server to run, startx first looks for a file called. If command line client options are given, they override this behavior and revert to the xinit(1) behavior. Some examples of specifying server arguments follow consult the manual page for your X server to determine which arguments are legal.
It may be convenient to specify server options with startx to change on a per-session basis the default color depth, the server's notion of the number of dots-per-inch the display device presents, or take advantage of a different server layout, as permitted by the Xorg(1) server and specified in the nf(5) configuration. The special argument '-' marks the end of client arguments and the beginning of server options.
It is often run with no arguments.Īrguments immediately following the startx command are used to start a client in the same manner as xinit(1). The startx script is a front end to xinit(1) that provides a somewhat nicer user interface for running a single session of the X Window System.