Christian web host - 360 Part II . Getting Around in Linux
360 Part II . Getting Around in Linux startx This startx command is actually a script that sets several variables and finally calls the xinit application. The following is an example of a startxscript with comments. #!/bin/sh # # (c) 1999 Red Hat Software, Inc. bindir=/usr/X11R6/bin userclientrc=$HOME/.xinitrc userserverrc=$HOME/.xserverrc sysclientrc=/etc/X11/xinit/xinitrc sysserverrc=/etc/X11/xinit/xserverrc clientargs= serverargs= This sets several variables that point to other script files that get called later. if [ -f $userclientrc ]; then clientargs=$userclientrc else if [ -f $sysclientrc ]; then clientargs=$sysclientrc fi fi if [ -f $userserverrc ]; then server=$userserverrc else if [ -f $sysserverrc ]; then server=$sysserverrc fi fi These lines do a test -fcheck to see if the files in the previous variables exist. The next section, omitted here, executes the script files stored in the variables. These are the xinitrc and xserverrcfiles. # set up default Xauth info for this machine mcookie=`mcookie` serverargs= $serverargs -auth $HOME/.Xauthority xauth add $display . $mcookie xauth add `hostname -f`$display . $mcookie This block sets up the X security information by executing xauth. The xauth tool is covered in more detail later in this chapter. xinit $clientargs — $server $display $serverargs Finally, the startx script executes xinit.
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.