SlackwareThis Forum is for the discussion of Slackware Linux.
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: Family PC: Slackware 14.1, Laptop1: Slackware 14.1, Laptop2: Slackware64 current Laptop3: Windows 10
Select session from runlevel 3
Just thought I would share this in case people didn't know it could be done or found it useful.
I run twm as my main desktop and boot in to a command prompt on runlevel 3. Once there and logged in I can select the session I wish to run by varying my startx command thus:
First off I have a .bash_profile:
if [ -f ~/.bashrc ]; then
to pick up my .bashrc that contains this section:
alias startx0='startx ~/path/to/xinit/files/xinitrc0'
alias startx1='startx ~/path/to/xinit/files/xinitrc1'
alias startx2='startx ~/path/to/xinit/files/xinitrc2'
alias startx3='startx ~/path/to/xinit/files/xinitrc3'
alias startx4='startx ~/path/to/xinit/files/xinitrc4'
xinitrc0 to xinitrc4 have varying contents.
0: has the default twm desktop configuration, untouched from installation runs one xterm, nothing else, full screen.
2: runs a full desktop, opening everything I need for programming, multimedia and sysadmin.
3: opens a just few programming apps.
4: opens a web browser and a couple of other bits and pieces.
Typing startx* on login logs me in to the relevant session depending what I'm after. The above are just examples, you could make them what you like, adding as many as you like. It doesn't depend on you running twm, your default DE could be anything (as far as I understand, someone here may know more), just that you boot up to the command line. All you have to do is edit the various xinitrc's according to what you're after.
I do find it really useful and definitely prefer it to being dropped in at a graphical login. In fact I'll quite often select startx1 as I can quickly fire up a browser or whatever from there. (Getting a full screen xterm was just trial and error on the geometry numbers).