Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Well, yes and no. If your initdefault is runlevel 3, the preferred way to start the X server is to type startx when you are logged in as a non-root user. startx is a shell-script that calls the xinit binary with the appropriate options and that in turn forks the X server and your client apps as read from ~/.xinitrc if one exists.
When your initdefault is 5 or when you telinit(init behaves like telinit when you switch runlevels) to runlevel 5, an xdm server or equivalent ( gdm is default with RH ) gets started it and goes a different route that reads the ~/.xsession instead of ~/.xinitrc. The way I have both runlevels behave the same is by making .xsession a symlink that points to .xinitrc . This works like a champ if you're using xdm, but again you are using GDM and I had to tweak something in the GDM config to read my .xsession . Or I created some file that gdm looks for. I dont remember what.
That was about a year ago and I wiped it to install RH 8.0 so I cant go check. And I havent done it with 8.0 because I dont reboot at all and it wasnt worth the trouble. Let us know if you can get it going.
Inorder to use init you have to login as root right? And then login as someone else when the display manager starts up, is that correct?