LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2004, 09:27 PM   #16
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31

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
 
Old 09-18-2004, 10:30 AM   #17
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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.
 
Old 09-18-2004, 11:05 AM   #18
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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

Last edited by Cedrik; 09-18-2004 at 11:15 AM.
 
Old 09-18-2004, 12:50 PM   #19
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 160

Rep: Reputation: 23
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.
 
Old 09-18-2004, 01:33 PM   #20
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
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.

Last edited by tw001_tw; 02-06-2005 at 11:59 AM.
 
Old 09-18-2004, 05:17 PM   #21
SBing
Member
 
Registered: Mar 2004
Posts: 519

Original Poster
Rep: Reputation: 35
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 :)

Last edited by SBing; 09-18-2004 at 05:26 PM.
 
Old 09-18-2004, 07:01 PM   #22
TheBman
Member
 
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78

Rep: Reputation: 15
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.
 
Old 09-18-2004, 07:12 PM   #23
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
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.
 
Old 09-18-2004, 07:56 PM   #24
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.0
Posts: 330

Rep: Reputation: 31
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!
 
Old 09-19-2004, 12:55 AM   #25
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
this may provide some ideas:

http://simplylinux.punted.net/Config...ackware10.html
 
Old 09-19-2004, 01:03 PM   #26
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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

Last edited by Cedrik; 09-19-2004 at 01:04 PM.
 
Old 09-19-2004, 11:45 PM   #27
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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)
 
Old 09-20-2004, 08:21 AM   #28
SBing
Member
 
Registered: Mar 2004
Posts: 519

Original Poster
Rep: Reputation: 35
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
 
Old 10-01-2004, 05:11 AM   #29
SBing
Member
 
Registered: Mar 2004
Posts: 519

Original Poster
Rep: Reputation: 35
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
 
Old 10-06-2004, 05:19 AM   #30
TheBman
Member
 
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78

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

TheBman
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBing's Slackware FAQ SBing Slackware 14 10-30-2005 07:13 AM
why does slackware.com say floppy is required? lauram93 Slackware - Installation 1 07-16-2004 10:22 PM
FAQ for Slackware? Danielallan Slackware 7 11-27-2003 11:09 PM
Forming a new LUG... what to do!? carrja99 General 1 08-26-2003 12:19 PM
seeking www.linuxquestions.org/slackware FAQ slackfan Slackware 6 02-16-2003 03:14 AM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration