> When I launch 'startx' the screen is too much on the right, so,
>while in my wm (fvwm for the moment), I execute 'xvidtune' to move it.
>it works fine, I can apply the changes, and everything works well as
>long as I don't quit the session. If i exit and restart X, the screen is
>back to where it was at the beginning. How can I save the changes ?
Ok, if you'll look in your /etc/X11/XF86Config, or /etc/XF86Config
depending on your distoribution, you'll see several lines begining with
the word 'Modeline'. There are a bunch of numbers on those lines that are
name, HDisplay, VDisplay, HsycnStart, HSyncEnd, Htotal, VSyncStart,
VSyncEnd, VTotal, and some options. What is easiest to do is find the
mode line in your XF86Config file that coresponds to the numbers you see
first when you open xvidtune. Then when you make the changes you want,
just change that line to the new values of the numbers xvidtune now has.
> When I'm under and X session using X-plorer or mc, the same
>problem occures for both of them: every time I execute an application
>from them, they execute it and turn themselves off. Why is that ? Can I
>make them stay ?
Cant help you here. MC is designed to be run from a console and it gives
control of the console the the program that you run until it exits.
Imagine it like dos command.com. When you run something, command.com
stops running until the program you ran exits.
> What is the advantage - or inconvinient - of having more than
>one partition when installing Linux on a stand-alone machine ?
Advangages of single partition: Your /etc/fstab isn't huge and
cluttered. You don't have messy outputs of mount. When your drive it
full, it's full, instead of having a few hundred megs on each partition
but not 500 megs of contigious space anywhere.
Disadvantages: If one of your partitions goes down, it's your only one and
you can't boot. With multiple partitions, if /usr crashes, then you can
still boot and try to rescue the partion. If you add a drive, then you'll
have to have different mount points anyway. It all depends on what your
going to do with it.
I run a small server/personal machine here at UIUC, I have a 3.8 gig ide
drive that makes up / and that's what I boot off of. That let's /var grow
pretty big without a problem and I have a couple of gigs so that I can
dump a few cd iso's in /tmp. Then I have a 4.3 gig scsi drive as /home.
This way, the home directories can fill up and not overrun anything else.
That way, I don't have to set quotas and crap. If the drive fills up,
it's pretty easy to tell who did it and I can delete stuff and bitch at
them, but it doesn't keep say syslog from being able to log stuff because
the disk is full. I have another 4.3 gig as /usr. This is probably going
to be your biggest filesystem as far as used space. There is a lot of
crap in there, and I put 4.3 gigs on it so that I have room to grow. I
have a fourth drive, a 15 gig one at /usr/archive where all the ftp,
samba, and www files live. It's also for a scratch disk in case somebody
says to me, "Can I network backup my 8 gig drive to you for a few days."
Granted my partition scheme is a little big, but you can always make
directories on other partitions and link to them from where they are
supposed to be.
> What are the differences between the runlevels ? (I bought a
>book on Linux, but they don't say a word about it)
When your machine boots, the _VERY_ first thing it runs is init. The
location of this is compiled into the kernel and it is /bin/init. You can
change that from lilo incase you ever need to break into your machine, you
can say:
LILO Boot: linux rw init=/bin/bash
Then when it boots, instead of starting init, it starts bash. Init looks
in a file called /etc/inittab that has a lot of crap in it, but it makes a
lot of sense if you take a little time to look at it.
The first thing it looks for is the default runlevel on a line that looks
like 'id:5:initdefault:'. This tells my machine to go into runlevel 5.
Then based on that, it runs a set of scripts. These scripts are in
/etc/rc.d/rc<runlevel>.d or a similar place depending on your
distribution. These start the things like the webserver, sshd, atd,
cron, kerneld, syslogd, etc. The general standard for the runlevels is
(taken from /etc/inittab)
Default runlevel. The runlevels used by RHS are:
0 - halt (Do NOT set initdefault to this)
1 - Single user mode
2 - Multiuser, without NFS (The same as 3, if you do not have networking)
3 - Full multiuser mode
4 - unused
5 - X11
6 - reboot (Do NOT set initdefault to this)
Your machine probably boots into 3 by default, but 5 isn't much different
only that xdm and an xserver are fired up also. If you go look at
these scripts, they are pretty self explanitory. I also changed 4 to be
just like 3, only with 10 virtual consoles instead of 6 (just add a
couple of lines and change some numbers in /etc/inittab).
C.J. Oster (Linux Guru/Surge Addict)
------------------------------------------------------------------
| [EMAIL PROTECTED] | 910 S. 3rd St, #1218 | CCSO, WSG, UIUC |
| [EMAIL PROTECTED] | Champaing, IL 61820 | 1443 DCL, Urbana |
------------------------------------------------------------------
(580)761-6393 (217)328-8934
"Linux, for people with an IQ above 98" - Bumper Sticker
"Hm, a little big for a cup holder... Why does it say '4x' on it?"