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.
On my computer I have about 192mb of ram... i set my swap partition at about 256mb... is that enough or should i set it to double that size... someone was telling me it should always be set to double...so far my swap partition has not taken up past 100mb of virtual memory so far... i dont know if that makes a big difference or not...
"If your computer has 16 MB of RAM or less, you must create a swap partition. Even if you have more memory, a swap partition is still recommended. The minimum size of your swap partition should be equal to twice your computer's RAM, or 32 MB, whichever amount is larger, but no more than 2048 MB (or 2 GB)."
Linux also allows multiple swap partitions (up to 8, IIRC). I don't have a clue what the tradeoffs are for 1 big versus more small.
If you haven't allocated a big enough swap partition(s), you can add swap file space with swapon/swapoff. Disadvantage here is that swaps are written thru the file system layer instead of direct to the device and is slower. It can get you out of a spot if you run out of swap and need to keep the system going. Only real way to know how much swap space you need (other than running out) is to monitor mem/swap usage on YOUR machine.
I use multiple swaps across two or three drives. In these days of big disks, a gig of swap (512mb memory) on a 20 or 30 gig drive is not much. I also try to put the swap partition in the middle of the disk to minimize seek times. I don't know that the difference can even be measured, but theoretically, it sounds better. I also give the swaps that are NOT on the system drive a higher priority so they will be used first to lessen contention on the system drive.
I've got 512Mb of swap (and 256Mb of physical) and I've not had any problems, even dual-X-ing Mandy with thymox running KDE on tty7 (through KDM) and root running BB on tty8 (through GDM), and an xvnc server being accessed over the lan.
There's a thread around somewhere. You can do it with startx --: 2 (or something). The easiest way I've found:
Boot into init 5 (Mandy defaults to running KDM here)
CTRL+ALT+Fx to another tty
For some reason you can't have two KDMs running, and XDM sometimes doesn't work properly like this. At least GDM tells you 'I can't find an available X session on tty7, opening a new one on tty8', or something like that.
And Microsux tries to tell us that them developing this 'let's two people have apps open at the same time on the same machine' for XP is new! Blergh!
That's because you're running XFCE on Display 0. The startxblackbox, startgnome, startkde, etc, programs are most commonly used by the login manager. Try running GDM and selecting your window manager/desktop environment.
The way I do it at the moment is:
Change to different tty.
text login as root.
I'm affraid I don't know the exact packages needed. At install time I normally install all the Window Managers and stuff. I don't have to squeeze my Linux into a small space, and I know that I definetely will play around with the different WMs. Try installing a few packages, then a few more, then some more. You won't need anything that's not on the CDs.