Linux-Setup Digest #664, Volume #20 Mon, 19 Feb 01 14:13:13 EST
Contents:
replacing startx with startx -- +xinerama (Chris Nelson)
Loading Redhat 7 ("Charles")
Re: Pass through printing in telnet session (Frank da Cruz)
Replicate/Clone RH6.2 Linux (Steven Conway)
split linux in several partition (jalil)
Re: Power Management Problems (David Cecere)
Re: Suse 7.0 + Geforce 2 MX + slow openGL ("Paul B")
Re: Red Hat 7.0, Mgetty & Dialin ("Sakkie")
Re: Where's my STL (Markus Kossmann)
Re: lilo w/ mutible hard drives (Markus Kossmann)
Re: split linux in several partition ("IH")
----------------------------------------------------------------------------
From: Chris Nelson <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.redhat,comp.os.linux.hardware,comp.os.linux.admin,comp.os.linux.misc
Subject: replacing startx with startx -- +xinerama
Date: Mon, 19 Feb 2001 18:01:32 GMT
Hello: This weekend I finally got a working config file for using 2
monitors on a g400 max.
My problem however is that right now my etc/inittab file has me going to
only run level 3. if I change this value to 5, the systems takes me to a
graphical logon..but with only one monitor. My guess is that the system
is still strying to run startx as opposed to startx -- +xinerama. Where
do I need to make a change so this can be automoated? Any advice is
appreciated...
P.S. Any idea how I can have the system default to KDE as opposed to
gnome? Thought I would throw this in as well
Chris
Enclosed ar emy XF86Config filke and my /etc/inittab files
*********MY inittab file*************
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <[EMAIL PROTECTED]>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# 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)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Things to run in every runlevel.
ud::once:/sbin/update
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
**********My XF86Config File*****************
# File generated by xf86config.
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
# This loads the GLX module
# Load "glx"
EndSection
Section "Files"
RgbPath
"/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
# **********************************************************************
# Server flags section
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier
"Keyboard1"
Driver
"Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
Option "XkbCompat" ""
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier
"Mouse1"
Driver
"mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "817-1"
HorizSync 30-130
VertRefresh 50-180
EndSection
Section "Monitor"
Identifier "815"
HorizSync 30-130
VertRefresh 50-180
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier
"Standard VGA"
VendorName
"Unknown"
BoardName
"Unknown"
# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "maxxx"
Driver "mga"
# unsupported card
#VideoRam 32777
VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection
Section "Device"
Identifier "G400_1"
Driver "mga"
BusID
"PCI:1:0:0"
Screen
0
EndSection
Section "Device"
Identifier "G400_2"
Driver "mga"
BusID
"PCI:1:0:0"
Screen
1
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 15"
Device "maxxx"
Monitor "817-1"
DefaultDepth 16
Subsection "Display"
Depth 8
# Modes "640x480" "800x600" "1024x768" "1280x1024"
Modes
"1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
# Modes "640x480" "800x600" "1024x768" "1280x1024"
Modes
"1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
# Modes "640x480" "800x600" "1024x768" "1280x1024"
Modes
"1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "G400_1"
Monitor "817-1"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "G400_2"
Monitor "815"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
# Screen "Screen 1"
Screen "Screen 1" LeftOf "Screen 2" Screen "Screen 2"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
------------------------------
From: "Charles" <[EMAIL PROTECTED]>
Subject: Loading Redhat 7
Date: Mon, 19 Feb 2001 17:06:01 GMT
I have a viewSonic Monitor A75f, when I attempt to load RH 7.0 it looks for
monitors and then I get a rectangle on my screen that moves up and down
saying Out of Range. How do I fix this?
Thanks
------------------------------
From: [EMAIL PROTECTED] (Frank da Cruz)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help,comp.protocols.kermit.misc
Subject: Re: Pass through printing in telnet session
Date: 19 Feb 2001 18:09:55 GMT
In article <[EMAIL PROTECTED]>,
Steven Conway <[EMAIL PROTECTED]> wrote:
: On 19 Feb 2001 16:24:18 GMT,
: [EMAIL PROTECTED] (Frank da Cruz) wrote:
: >Right. The regular Linux Telnet client doesn't do anything at all with
: >printer on/off escape sequences, and as far as I know, neither does the
: >xterm window nor the console driver. If they did, you probably would not
: >be asking about it.
:
: Thanks Frank It worked great. I noticed that This version of C-Kermit
: is licensed as "Open Source" so there should be no problem using it on
: Linux boxes, right?
:
There is no problem using it on Linux. The license is not exactly Open
Source, it's "Open Source Friendly". Anybody can download it for their own
use or their company's internal use without a license, and it can be included
without license in Open Source operating system distributions such as Linux,
FreeBSD, NetBSD, and OpenBSD, and in fact you find C-Kermit included in some
of them already. More would be better.
- Frank
------------------------------
From: Steven Conway <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.networking
Subject: Replicate/Clone RH6.2 Linux
Date: Mon, 19 Feb 2001 13:18:54 -0500
I have painstakingly set up old OS/2 Warp (urgh) workstation with
RedHat 6.2.
1) I have correctly configured all of the devices by downloading
patches, recompiling, etc.
2) Updated and changed the kernel.
3) Updated the numerous packages with the latest patches (up2date)
RPMS & .tar.gz).
4) Installed, and tested numerous other third party software packages.
5) tested, tweeked and finally have the computer working exactly how I
want it to.
I now need to replicate/clone this workstation to 25 IDENTICAL
workstations that are all connected over a Private internal network.
I was told to look at RedHats Kickstart but I am not sure if this
approach is the best way to do this as it assumes you are installing
off of a CD and not off of an existing system. Am I correct in this
assumption? Can I even do what I am trying to do.
Steven Conway
------------------------------
From: jalil <[EMAIL PROTECTED]>
Subject: split linux in several partition
Date: Mon, 19 Feb 2001 12:18:40 -0600
I would like to partition my hard disk as follows and install linux.
The question is do I have to install the operating system manually or
the install knows how to split itself in various partition?
here is the partition:
primary boot 20MB
Primary winnt 200MB
logical / 600MB
logical / home 300MB
logical /user 600MB
logical FAT 600MB
logical FAT 600MB
I like to know how to proceed installing WINNT and Linux on this system.
------------------------------
From: David Cecere <[EMAIL PROTECTED]>
Subject: Re: Power Management Problems
Date: Mon, 19 Feb 2001 12:22:02 -0500
Reply-To: [EMAIL PROTECTED]
Check you BIOS settings again, my hunch is that you don't have APM
disabled.
On Mon, 19 Feb 2001 02:13:52 -0600, jeff <[EMAIL PROTECTED]> wrote:
}I'm running RH7 on a Dell Optiplex GX1. I'm having a problem with it
}auto suspending the system. If it's left alone for a while, the drive
}powers down. I started to notice that the first time I try to POP in and
}
}check my mail, or initiate SSH, it hangs for 30-40 seconds - I assume to
}
}"wake up" the drive.
}
}I do not have X-Windows installed, the apmd is disabled, and I have
}disabled power management in the BIOS. Any help would be greatly
}appreciated!!!
}
}
}Thanks,
}
}
}Jeff
_____________________________________________________________________________
"Thinking is, or ought to be, a coolness and a calmness; and our poor hearts
throb, and our poor brains beat too much for that."--Herman Melville
My r�sum� and etc.: http://4.34.161.50/
------------------------------
Reply-To: "Paul B" <[EMAIL PROTECTED]>
From: "Paul B" <[EMAIL PROTECTED]>
Subject: Re: Suse 7.0 + Geforce 2 MX + slow openGL
Date: Mon, 19 Feb 2001 18:26:07 -0000
This is now sorted after yet another reload :)
Paul
"Paul B" <[EMAIL PROTECTED]> wrote in message
news:LARj6.35801$[EMAIL PROTECTED]...
> Hercules Prophet 2 Geforce 2 MX
> PIII 650
> Abit BF6 Mobo
> 256mb ram
> Suse 7.00 with Xfree 402
>
> I have installed Xfree4.0.2 and followed Suses recommendations for
> installing the Geforce 2 Mx and Quake 3 runs but very very slow, I have
> looked for other libGLs etc as instructed but don't have any others!!
also
> have removed Mesa etc
> Please as a newbie i'd like some help :) as iv'e been trying to get this
> going for weeks now :-(
> but to no avail
> Cheers
>
>
>
------------------------------
From: "Sakkie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.dial-up,comp.os.linux.networking,comp.os.linux.redhat,de.alt.comm.mgetty,linux.redhat.install
Subject: Re: Red Hat 7.0, Mgetty & Dialin
Date: Mon, 19 Feb 2001 20:39:25 -0800
This should work just fine
http://www.linuxgazette.com/issue36/ali.html
It is the easiest I have hound and it helped me a lot
Sakkie van Rensburg
Bloemfontein
South Africa
"Ken Rambler" <[EMAIL PROTECTED]> wrote in message
news:jtRj6.297760$[EMAIL PROTECTED]...
>
> I'm looking for help setting up a Linux box, running Red Hat 7.0 to allow
a
> dial up account to use when away. The box is connected to the net on a
> static IP, a modem is connected through a serial port for incoming calls.
>
> Mgetty with AutoPPP to a serial modem looks like a solution, but getting
> this to work on RH version 7.0 is not easy.
>
> Does anyone have a successful HowTO on this subject?
>
> Thanks in advance!
> - Ken -
>
>
>
>
>
>
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: Where's my STL
Date: Mon, 19 Feb 2001 18:48:30 +0100
Rohan Beckles wrote:
>
> Hello --
>
> I recently upgraded my RedHat 6.1 install to XFree86 4.0.2, and as a
> consequence, I upgraded glibc to version 2.2, using the RPMS from
> RPMfind.net. Now when I try to compile kdelibs-2.0.1, configure
> complains that it can't find an STL that is either HP like or SGI like!
> What have I done?!!! Can anyone help? I'm desperate!!!
>
Well, the STL is coming with the libstdc++ package. Probabaly you will
have to install a glibc-2.2 aware libstdc++ package. And probably you
will have to update alos the other gcc related packages to get a fully
working development system again.
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: lilo w/ mutible hard drives
Date: Mon, 19 Feb 2001 19:47:24 +0100
Scott Pigman wrote:
>
> Thaks Markus for the reply, however, i'd be lieing if i said i completley
> understood the answer,
> but i think i have some understanding. i'm hoping you or somebody out there
> can confirm or deny that i'm on the right track here.
>
> first off, i managed to get into linux by digging deeper into my bios settings
> until i found an option to make the on-board hard drive the primary bios disk &
> not the pci card, rather than use the ultra-dma how-to approach. so question
> #1 is, when i finally get everything working, does it make a difference which > is
>the primary bios disk?
Yes , Windows expects to be booted from a primary partition from the
first BIOS disk. You will probably get problems with Windows, if you
don't have that configuration.
> question #2: now, when you say the following:
>
> > If you're booting directly from your new disk, this disk has become the
> > first BIOS disk ( with number 0x80). However lilo expects that the old
> > disk hanging on your onboard controler is the first BIOS disk. So you
> > have to add something like
> >
> > disk=/dev/hde
> > bios=0x80
> > disk=/dev/hda
> > bios=0x81
> >
> > to lilo.conf and reinstall lilo to get things right with lilo.
> >
> are the 0x80 & 0x81 addresses the real addresses or do i have to figure out the
> real numbers to use with my system? if i have to figure them out, how do i go >
>about doing that?
The bootdisk has allways the 0x80. The numbering for the other disks
depends on your configuration. Other disks ( if there are any) on the
primary controler will follow (in order master 1st interface, slave 1st
if., master 2nd if. slave 2nd if.) The decondary controler will follow.
>
> question #3: based on what Markus told me & what i understand about lilo, i've
> come up with the following lilo.conf file that i'd like to get somebody'd
> yae or nay on before i run /sbin/lilo and really screw myself :-)
> (this is written under the assumption that my primary bios disk will
> be the new HD on the controller card and that 0x80 & 0x81 are the
> real addresses to use).
>
> ###########################################################
> # next four lines added to (hopefully) get
> # lilo to realize that the main drive is hanging
> # off of the new controller card & that what's on
> # the motherboard is the auxilliary drive.
> disk=/dev/hde
> bios=0x80 # tell lilo that the drive at 0x80 isn't hda
> disk=/dev/hda # but that hda is at 0x81 (i'm taking
> bios=0x81 # it on faith that 0x81 is the correct addy for
> # the controller card, and that 0x80 is the address
> # for the disk on the motherboard.)
>
> # boot=/dev/hda
> boot=/dev/hde # changed "hda" to "hde"
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=10
> default=linux
>
> image=/boot/vmlinuz-2.2.12-20
> label=linux
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/hda6
>
> # new section added, hopefully to get windows as an option
> # to boot into.
> other=/dev/hde
> label=windows
> table=/dev/hde
>
> ########################################################################
>
> any feedback would be much appreciated, Thanks
You should also add a append= line with the settings for the
pci-controler .
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: "IH" <[EMAIL PROTECTED]>
Subject: Re: split linux in several partition
Date: Mon, 19 Feb 2001 10:55:43 -0800
I know that linux-mandrake 7.2 will handle it properly as long as you mount
the drives as such during installation. I am not sure about other versions.
Before I started the 72 install I had all my partitions made and then I just
used the diskdruid or whatever the tool is that install runs and selected
which partitions would mount to which places and everything installed where
it was supposed to.
"jalil" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> I would like to partition my hard disk as follows and install linux.
> The question is do I have to install the operating system manually or
> the install knows how to split itself in various partition?
>
> here is the partition:
>
> primary boot 20MB
> Primary winnt 200MB
> logical / 600MB
> logical / home 300MB
> logical /user 600MB
> logical FAT 600MB
> logical FAT 600MB
>
> I like to know how to proceed installing WINNT and Linux on this system.
>
>
>
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************