LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   The forming of a LQ.org Slackware FAQ - donations of knowledge required! (https://www.linuxquestions.org/questions/slackware-14/the-forming-of-a-lq-org-slackware-faq-donations-of-knowledge-required-230405/)

tw001_tw 09-16-2004 09:27 PM

Anyone have a dual monitor setup?

I wrote an how-to for setting up dual monitors, and would
like someone, who has something to compare it too, to
preview and correct/add what I wrote before I post it.

thanks -tw

Cedrik 09-18-2004 10:30 AM

Sbing, could you remove the '*' at the end of nvidia install, I used them as list-bullet but that can confuse someone who could add them in driver source code which will result in an installation failure, please.

Cedrik 09-18-2004 11:05 AM

Blank screen after compile 2.6.xx kernels
 
So you just compiled your new 2.6 kernel and reboot, but no luck, you end with a blank screen...

But you were clever and at the kernel install you made a new entry for your old kernel in your bootloader config in case...

So for now I assume you boot with your old kernel, and run a workable system ;)

The blank screen was due to a framebuffer console problem.

You have 2 choices :
- stay with your new kernel and change video settings in your lilo or grub conf
- recompile the kernel with framebuffer support.

1. I keep the new kernel, and I change the bootloader config.
so nothing difficult, edit your lilo or grub conf and look for the vga parameter. Once located change it to:

vga=normal

2. I prefer recompile kernel because I enjoy linux logo and framebuffer console possibilities.

It is my case, also I enjoy watch movies with mplayer without starting X.

So enter the kernel config...
(make menuconfig or make xconfig, whatever...)

* go to Device Drivers > Graphics support
- enable Support for frame buffer devices as built-in
- enable VESA VGA graphics support as built-in

* go to Device Drivers > Graphics support > Console display driver support
- enable Video mode selection support as built-in
- enable Framebuffer Console support as built-in
- enable Select compiled-in fonts as built-in
- enable VGA 8x8 font as built-in
- enable VGA 8x16 font as built-in

(optional)
* go to Device Drivers > Graphics support > Logo configuration
- enable Bootup logo as built-in
- enable Standard black and white Linux logo as built-in
- enable Standard 16-color Linux log as built-in
- enable Standard 224-color Linux logo as built-in

exit, save config, compile, install modules, install kernel...

Now edit your bootloader config :
example for 1024x768@24 bits

- grub (add it to the end of kernel parameter line) :
vga=792 video=vesa:ywrap,mtrr

-lilo
append="vga=792"
append="video=vesa:ywrap,mtrr"

This will enable the scrolling in console with SHIFT + PAGE UP/DOWN

elyk 09-18-2004 12:50 PM

Request: how to set up a firewall (rc.firewall and friends) and how to configure iptables.

I've tried reading the manual on iptables, but have left more confused than when I started.

tw001_tw 09-18-2004 01:33 PM

I'll just go ahead and post it - any corrections/clarification/additions is appreciated:

-----------------------------------------------------------------------------------------------------
Dual head monitor setup.

The same principle applies to either XFree86 or X.org. I am using my xorg.conf
as an example, although the exact same file worked when running XFree86.

General Notes: We will be editing and working with the file /etc/X11/xorg.conf
I have omitted everything else, except for the portions that pertain to setting
up dual monitors. General setup of the xorg.conf file can be found in a different
FAQ.

-----------------------------------------------------------------------

Code:

# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"

    Option "Xinerama" "true"

EndSection

NOTES: Under the ServerFlags section, I used the 'Xinerama' option. This makes
screen 2 an extension of screen 1, meaning I have 1 BIG desktop. Exclude this
if you want the second monitor to be a 'mirror' of the primary monitor. There
may be other options found in the Server Flags section, but this is the only one
required for a dual monitor setup.



-----------------------------------------------------------------------

Code:

# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"
    HorizSync  31.5-50
    VertRefresh 40-90

vendorname "[My Monitor]"
modelname "[My Monitor]"

EndSection

NOTES: Here, I define my monitor(s). Since both of my monitors have the same
capabilities, I simplified things, and only created one 'monitor'. If your
monitors are different, you will need to create appropriate settings for each
monitor. Make sure the settings you define here are correct.

Also, notice the Identifier. If you do setup 2 different monitors in this
section, you must give them different names. The identifier is used below
in setting up your screen settings to distinguish one monitor from another.

-----------------------------------------------------------------------

Code:

# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present

Section "Device"
Identifier  "Card0"
        Driver      "mga"
        VendorName  "Matrox Graphics, Inc."
        BoardName  "MGA G400 AGP"
        BusID      "PCI:1:0:0"
        Screen      0

EndSection

Section "Device"
Identifier  "Card1"
        Driver      "mga"
        VendorName  "Matrox Graphics, Inc."
        BoardName  "MGA G400 AGP"
        BusID      "PCI:1:0:0"
        Screen      1

EndSection

NOTES: Here is where you define each video head on the card.

Identifier - Notice they are different. This is an arbitrary name given
to each head of the video card. They must be different

Driver - The driver that X will use. Here is a partial list of supported cards:
ati, chips, cirrus, i740 & i810 (Intel), mga (matrox), s3 & s3virge, sis,
trident, vesa & vga (both generic drivers).

VenderName - Obvious, although I don't think this is necessary for X to work.

BoardName - Model of the video card

BusID - Notice mine is "PCI:1:0:0", yours may be different. To find out
what you need, SU (if needed) and type "lspci" (even if it is an AGP
video card). Find the number next to your video card, and put it in
the BusID field.

example:
su
(root password)
lspci
(output of lspci for my video card)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 82)

Screen - This gives a specific number to the screen, they are listed in numerical
order starting with zero.

-----------------------------------------------------------------------
Code:


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "Card0"
    Monitor    "My Monitor"

  DefaultDepth 24
 
    Subsection "Display"
        Depth      16
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth      32
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection

EndSection

Section "Screen"

    Identifier  "Screen 2"
    Device      "Card1"
    Monitor    "My Monitor"

  DefaultDepth 24

    Subsection "Display"
        Depth      16
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth      32
        Modes "1024x768" "800x600" "640x480"
                Virtual 0 0
    EndSubsection

EndSection

NOTES: There must be a screen section for each head. Each 'Screen' should
be adjusted to your individual monitor settings (resolution and number of colors).

Notice the 'Identifier' - it is an arbitrary name so X can distinguish the 2. These
Identifiers are used again in the 'Sever Layout section'.

The 'Device' assigns a particular head on the video card to a
particular screen. Notice in the example, the Device's are the same name
as the Identifier in the "Graphics device section" above.

In the "Monitor" field, in the example, I used "My Monitor"
(see above under the "Monitor section". These much match, and if you are
using two different monitors, make sure they are connected correctly
according to your settings.


-----------------------------------------------------------------------

Code:

**********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

    Screen "Screen 1" LeftOf "Screen 2"
    Screen "Screen 2"

    Option "Xinerama" "true"
 
EndSection

NOTES: Notice on the line "Screen "Screen 1" LeftOf "Screen 2"", that I used
the Identifier for the monitors found in the "Screen sections" - they must match.
In the example, Screen 1 is to the "LeftOf" Screen 2. Other options, instead of
"LeftOf" are "RightOf" "Above", and "Below".



Restart X, and you should have dual-moitors working.

SBing 09-18-2004 05:17 PM

Wow, great response guys, I've just got back from a leaving 'do' for a friend and added some stuff to the FAQ, still got tons of stuff to add - will do it ASAP - I'm sort of away next week so please don't be disheartened if you don't see you stuff added straight away - it will get read / edited / added or possible shoved to /dev/null :)

Keep submitting, thanks for your support to the community :)

Steve

P.S.

@tw001_tw

Will add your security post / dual head support ASAP :)

@TheBman

Will add your dialup post ASAP :)

@Cedrick, will edit nvidia thread + contact you about 2.6 kernel recompile

If I haven't mentioned you here, remind me with a post id, I may have just missed it :)

TheBman 09-18-2004 07:01 PM

SBing,

I did post a basic informational ppp setup on page 1. I will edit/re-write with much more detail if that's what you want (probably should be) and cover wvdial and kppp as well if you'd like. Please advise.

ringwraith 09-18-2004 07:12 PM

I hope that you only allow one person to actually post to it and after being certain the info is correct. Otherwise it will fill up with garbage as most threads do.

WilliamS 09-18-2004 07:56 PM

In the section about 3d acceleration, how does one find out whether one is a VIA agp chipset owner? Or what kind of chipset?
Might be a useful addition.

And for those of us who like Gkrellm, the directions are good enough except that it was necessary for me to put the modprobes section (seen near the end of running sensors-detect) into /etc/rc.d/rc.local or /etc/rc.d/rc.modules.

Thanks for a great idea!

Genesee 09-19-2004 12:55 AM

this may provide some ideas:

http://simplylinux.punted.net/Config...ackware10.html

Cedrik 09-19-2004 01:03 PM

In the section about 3d acceleration, how does one find out whether one is a VIA agp
chipset owner? Or what kind of chipset?


try something like :

dmesg | egrep agp.*chipset

aus9 09-19-2004 11:45 PM

I know its been said by others so I will steal their good work (again he he)

First FAQ should be the one that says how to search for answers and how to use this forum and how to make requests etc etc.
I am equally guilty of sometimes posting in slackware when maybe it should be in programming or software etc.

2) My fav faq is of course on GRUB the bootloader but I will report myself sometime to make some of my posts sticky (if mods like me that is)

SBing 09-20-2004 08:21 AM

Quote:

Originally posted by ringwraith
I hope that you only allow one person to actually post to it and after being certain the info is correct. Otherwise it will fill up with garbage as most threads do.
Well, most of the information is copied / pasted and the FAQ is more than open to correction - large sections of the FAQ cannot be verified by me, e.g. dial up, ADSL, nvidia cards etc etc.... simply because I don't have access to them. I do my best to neaten things up but I rely on others to verify what is posted... :)

Quote:

Originally posted by TheBman
SBing,

I did post a basic informational ppp setup on page 1. I will edit/re-write with much more detail if that's what you want (probably should be) and cover wvdial and kppp as well if you'd like. Please advise.

Please do! I'll add it to the FAQ once you're done :)

SBing 10-01-2004 05:11 AM

Okay, after discussion with Jeremy, we seem to be moving the Slackware FAQ into articles in the Wiki, then using the FAQ thread to link to these FAQs :)

Could you please make submissions to the Wiki and e-mail me the link :)?

Cheers

Steve

1st Oct 2004

TheBman 10-06-2004 05:19 AM

updated the ppp dialers section, I believe that this will get most people connected.

TheBman


All times are GMT -5. The time now is 12:26 PM.