On Sat, Nov 03, 2001 at 12:07:28AM -0500, Farhan Ahmed wrote: > > I am having problems logging out whenever I am in the GUI mode > (KDE and GNOME both). My computer hangs whenever I choose the > option of 'Logout'. 'Reboot' works fine. What could be wrong ? >
When you click "Logout", it is just supposed to execute "exit" either directly, or one of the session logout scripts for your distro which is doing regular houskeeping before log out. Just check what process is taking control on pressing "Logout". > Also, what script runs when the computer is booting up into > Linux? > After the kernel loads, it hands over control to /sbin/init. Init is the parent of all processes. Its primary role is to create processes from a script stored in file /etc/inittab. (man 5 inittab for details). This file usually has entries which cause init to spawn gettys on each line that users can log in. Then run the runlevel scripts as determined by init- default line. It is at this stage scripts in /etc/rc.d run. The sequence of scripts is dependent firstly upon the type of system BSD or Sys-V, and then by the quirks of every dis- tro trying to be unique and putting its own 2c in ! Sequence of things (and scripts) vary from distro to distro ... User level initialisations are usually done last in rc.local. HTH Bish. -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : No password login as user (#2) LOST #205 Fed up of typing password for every login as an user on stand alone boxes ? Use chpasswd ... As root type in: #echo 'username:' | /usr/bin/chpasswd [Note the colon : after user name]. Next login with that username, would need [Enter] to be pressed on the password prompt ... ####<[EMAIL PROTECTED]>####################################### : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
