Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Ok this is prolly pretty simple but i havent been able to figure out how to do it. How can i set up an accout so that when it logs in, X does not start at all, i just want a black screen with the command line.
thanks in advance
say i have a user named "testusr" with a uid of 501 when this user log in i want it to bring up just the command line, no X windows. I have another user that will be used for X. I hope this explains my problem a little better.
I'm tempted to simply post my /etc/inittab (which is the unedited Slackware one), but it will probably screw up your SUSE install.
SUSE probably has a GUI tool for setting the init levels.
As far as setting your system for console or X login per user, I'm afraid that I don't understand your question, and cannot help there. Your system boots into console or X (specifically xdm/kdm/gdm) before any user logs in, so I don't see how you can customize the init mode on a per user basis.
If you want one user (user1) to login to a console, and another user (user2) to login to X, you can set up inittab as spurious said.
Then edit the ~/.bash_profile or ~/.profile or ~/.bash_login of user2, adding "startx" at the end of the file.
Don't do this in ~/.bashrc, or user2 will get errors every time he opens an x term.