Linux-Setup Digest #347, Volume #20               Fri, 5 Jan 01 01:13:10 EST

Contents:
  Re: How to trap output logs from xdm, kdm, startx, etc? ([EMAIL PROTECTED])
  Re: How to recover root password? (H.Bruijn)
  Re: May have removed something unknowingly (Me)
  Re: Compiling Kernels on RH 7.0?  ("sccsb")
  KDM gives only xterm in left uperhand corner when logged in ("Jason Bond")
  System hangs after booting from kernel 2.4 ("sccsb")
  Re: removing mouse causes Linux to crash/hang. kernel 2.4 ("sccsb")
  ip accounting with ipac (wayne marsh)
  Re: site hosting (John Hagen)
  firewall (Henning Pedersen)
  Re: Matrox AGP G450 on Redhat 7 - Can't get X to Start (Eric Ste-Marie)
  Re: Kernel Compilation questions / Problem (Henry_Barta)
  about network card ("Brittle")
  Re: How to recover root password? (Bill Unruh)

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

From: [EMAIL PROTECTED]
Subject: Re: How to trap output logs from xdm, kdm, startx, etc?
Date: Fri, 05 Jan 2001 03:20:15 GMT

In article <[EMAIL PROTECTED]>,
  "Jason Bond" <[EMAIL PROTECTED]> wrote:
> How does one trap the output from xdm or kdm or startx or startkde?
It is
> failing for some reason and without documentation, I am a loss to
figure out
> why.  Thanks much.
>

Try this:

$ startx 2>&1 > logfile

That should write all STDOUT (2) and STDERR (1) msgs to the logfile.

HTH
Bluster



Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: How to recover root password?
Date: 5 Jan 2001 03:40:02 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 05 Jan 2001 02:02:37 GMT, [EMAIL PROTECTED] allegedly wrote:
>How to recover root password?

If you forgot you forgot. Boot from a floppy (either a rescue disc or
just the plain old installation disc which you escape with ALT+F2)
mount the partition with the root, and use an editor to remove in
etc/passwd and etc/shadow the x or the encrypted password respect. from
between the first and the second colon : in the lines for root.  
Then boot normally and root will be able to log in without a password.
Reset the password with passwd a soon as you logged in.

-- 
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn                            mail:          [EMAIL PROTECTED]
The Netherlands                       website:   http://hermanbruijn.com

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

From: [EMAIL PROTECTED] (Me)
Subject: Re: May have removed something unknowingly
Date: 5 Jan 2001 03:36:24 GMT

To H.Bruijn, bluster24, and Craig, many THANKS!

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>[EMAIL PROTECTED] (Me) writes:
>
>> I can no longer compile anything that requires glibconfig.h.  This started 
the 
>> minute I uninstalled an rpm that, I thought, was totally independent of all 
>> other packages.  Anyway, is this something I can get from an RPM?  How do I 
>> know which one to get?
>> 
>> Yes, I have egg on my face.  Sometimes I think it looks good there.
>
>$ rpm -qf /usr/lib/glib/include/glibconfig.h 
>glib-devel-1.2.8-4_helix_1
>
>Looks like you need to re-install glib-devel.
>
>-- 
>The wheel is turning but the hamster is dead.
>Craig Kelley  -- [EMAIL PROTECTED]
>http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block


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

From: "sccsb" <[EMAIL PROTECTED]>
Subject: Re: Compiling Kernels on RH 7.0? 
Date: Fri, 5 Jan 2001 12:07:00 -0800

I've tried to compile the prerelease 2.4 kernel ... everything is fine but
when the LILO boots up. it says that its uncompressing and booting kernel
but hangs there. I had followed the readme very carefully but it proved to
be not effective

"Steve Withers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I want to upgrade my kernel from 2.2.16-22 kernel provided by RH 7.0 to
> the new, stable,  2.2.18 in order to fix an annoying problem with access
> to data CDs from within a VMware windows environement......about half
> the time it treats them like audio CDs.
>
> I have heard that RH 7.0 uses later gcc C++ libraries than the kernel
> (2.96-? vs 2.72...or something ilke that) was designed to be compiled
> on..........and the linuxhq.com web site asks for feedback on people's
> experiences, acknowledging many distributions now have later versions of
> the development environment. .
>
> Has anyone been bold and done it anyway? Was the kernel compile
> straightforward as in the kernel install docs? Or messy? Did the
> compiled kernel work properly?
>
> I have time for straight forward.....but no time for messy. Been using
> linux since 0.99......I have seen too much messy and it has grown WAY
> old for me. I buy boxed sets of proven linux software and just USE it.
> Mostly. :-)
>
> A little messy can be fun.....just not the 3am, system down kind. I'm
> too old.
>
> --
> Regards,
>
> Steve Withers
> [EMAIL PROTECTED]
>
>



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

From: "Jason Bond" <[EMAIL PROTECTED]>
Subject: KDM gives only xterm in left uperhand corner when logged in
Date: Thu, 4 Jan 2001 20:17:25 -0800

I've just upgraded to KDE 2.  When I login using KDM, all I get is an xterm
in the left hand corner and the rest of the screen is gray.  When looking in
/var/log/messages, I find:

Jan  4 20:06:44 gauss PAM_pwdb[608]: (login) session opened for user root by
LOGIN(uid=0)
Jan  4 20:06:44 gauss login[608]: ROOT LOGIN ON tty1
Jan  4 20:06:44 gauss PAM_pwdb[608]: (login) session closed for user root
Jan  4 20:07:21 gauss kdm[731]: Cannot open server authorization file
/usr/etc/X11/xdm/authdir/A:0-0byOWW
Jan  4 20:07:28 gauss kdm[754]: can't execute "/usr/etc/X11/xdm/Xsetup" (err
2)
Jan  4 20:07:44 gauss PAM_pwdb[752]: (kde) session opened for user jbond by
(uid=0)
Jan  4 20:07:44 gauss -:0[755]: Session "/usr/etc/X11/xdm/Xsession"
execution failed (err 2)

What is all this about not being able to open files?  Am I missing a package
somewhere?  Thanks much in advance,

  Jason




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

From: "sccsb" <[EMAIL PROTECTED]>
Subject: System hangs after booting from kernel 2.4
Date: Fri, 5 Jan 2001 12:09:50 -0800

I've tried to compile the prerelease 2.4 kernel ... everything is fine but
when the LILO boots up. it says that its uncompressing and booting kernel
but hangs there. I had followed the readme very carefully but it proved to
be not effective. have also tried running LILO multiple times but to no
avail
please help
cheah



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

From: "sccsb" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: removing mouse causes Linux to crash/hang. kernel 2.4
Date: Fri, 5 Jan 2001 12:13:57 -0800

Please help on the 2.4 kernel, since you have obvious experience with the
new kernel.
I've tried to compile the prerelease 2.4 kernel ... everything is fine but
when the LILO boots up. it says that its uncompressing and booting kernel
but hangs there. I had followed the readme very carefully but it proved to
be not effective
regards
cheah

"Robert Redelmeier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Kasper Dupont wrote:
> > found that the keyboard driver used under
> > DOS detects the keyboard being pluged in
> > makes a beep and updates the keyboards
> > state.
> >
> > But if this should not be possible why is
> > it that DOS supports it?
>
> Just because something isn't recommended doesn't
> mean that MS-DOS won't do it :)
>
> Actually, I doubt DOS has anything to do with it,
> the beep is more probably in your machine's BIOS.
>
> The kbd controller probably generates some spurious
> int 9's when [dis]connected.  Your mobo has BIOS code
> to detect and reinitialize the kbd. It may even have
> "self-healing" fuses.  But Linux  replaces all
> of BIOS and doesn't have this re-init code.
>
> -- Robert



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

From: wayne marsh <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: ip accounting with ipac
Date: Fri, 05 Jan 2001 04:21:39 GMT

I am running a linux box as a firewall on cable for a home lan.

I have installed ipac to account for my traffic in/out of the firewall
as I am no a volume plan

I have ipac installed but the dir  /proc/net/ip_acct dose not exist.

Soooo I went to Configure the Kernel for IP Accounting.

The how-to will tell you to:

Networking options  --->
        [*] Network firewalls
        [*] TCP/IP networking
         ...
        [*] IP: accounting

Now this is fine but using "make config" or "make menuconfig" I am not
given
the option for "[*] IP: accounting". I have tryed linux-2.2.14 and
linux-2.2.16

any ideas? I am running inux-2.2.16

Thanks 

Wayne Marsh :) [EMAIL PROTECTED]

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

Date: Thu, 04 Jan 2001 20:17:47 -0800
From: John Hagen <[EMAIL PROTECTED]>
Subject: Re: site hosting

[EMAIL PROTECTED] wrote:
> 
> I know that Webhosting Media registers domains and provides hosting
> services for cheap. You may want to go to them. www.webhostingmedia.net

They're hosting on M$ NT servers..

-- 
john hagen ~ [EMAIL PROTECTED]
=================================

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

From: Henning Pedersen <[EMAIL PROTECTED]>
Subject: firewall
Date: Thu, 04 Jan 2001 23:20:35 -0500

Can anyone tell me how to configure the firewall script for standalone in
rp-pppoe. Maybe send me a copy of your firewall script so I can see what to
do?

Thanks in advance.

Henning Pedersen


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

From: Eric Ste-Marie <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,linux.redhat.install,comp.os.linux.misc
Subject: Re: Matrox AGP G450 on Redhat 7 - Can't get X to Start
Date: Fri, 05 Jan 2001 04:54:07 GMT

This is a multi-part message in MIME format.
==============C77CA89753A1BE7E72A6AF9B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

benoit mordelet wrote:

> Tom Voltaggio wrote:
> >
> > Has anyone gotten Redhat Linux 7 to work with Matrox AGP
> > G450?
> > Everything installs and it sees my video card and monitor,
> > but
> > it will not give me more than vertical lines or "out of scan
> > range"
> > messages on my monitor (a Sony E210).  I downloaded the new
> > driver
> > from Matrox with no luck.  Redhat 7 uses Xfree 4.01.1.  I
> > checked
> > the monitor scan rates from the specs and have used every
> > permutation
> > of scan rates and monitors.  No luck.
> >
> > Is there any way I can get it to start in plain VGA?
>
> a patch against 2.4.0-test13-pre1 kernel has recently been made
> available to add support for the G450 in matroxfb. thus it may be
> present in the last 2.4.0 prerelease (I hope because I've also got
> problems with that card, but I've not yet downloaded a recent kernel).
>
> if this works you will be able to run XFree on top of matroxfb (with the
> FBDev X server).
>
> ben

Well I'm working in X with the G450 right now.  Are you guys not seeing
anything at all?

I have it running in 24bits at 1600x1200 and the card works very fine.

once your XF86config file is well configured you start DualHead with
"startx -- +xinerama"

Also, read carefuly the /var/log/XFree86.0.log file for debugging info.
This is how I manage to figure it out.

The Chipset on the G450 seems to be G400 so it should work in single screen
with the generic mga driver shipped with XFree86 4    .  But you might
experience similar problems as I did.

My problems is:

I boot on the first port  and when I start X,  the output goes to the
second port.   If I exit Xfree, the console stays on the second port. At
first I tough my computer was crashed but at some point I tried to plug my
monitor on the second port after I started X only to find out that the
X was indeed displaying there.   This is annoying but I can manage the
aggravation for now.  My monitor has dual port also so I select which port
I want to use with a single monitor.


I ended up recompiling XFree and the matrox driver before I could figure
out that X was not showing on the console CRT.  A

I used kernel 2.4.0-prerelease with Xfree86 4.0.2 and used matrox's driver
compiled along with Xfree.
I enabled agpgart in the kernel.  My MB has chipset is viakt133

It's quite straight forward to do.

If anyone can help with the wrong port output please email me.

If anyone needs help just using the card (even on the wrong port ;)) email
me, i'll try to help you.


I hope this helps,


-Eric

For your info, here's my XF86Config file:
==========================

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "xie"
        Load  "pex5"
        Load  "glx"
        Load  "dri"
        Load  "GLcore"
        Load  "dbe"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "IBM"
        ModelName    "p202"
        HorizSync    30.0 - 107.0
        VertRefresh  50.0 - 160.0
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "IBM"
        ModelName    "p202"
        HorizSync    30.0 - 107.0
        VertRefresh  50.0 - 160.0
EndSection

Section "Device"
        ### Available Driver options are:-
        #Option     "SWcursor"
        #Option     "HWcursor"
        #Option     "PciRetry"
        #Option     "SyncOnGreen"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "Overlay"
        #Option     "MGASDRAM"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "ColorKey"
        #Option     "SetMclk"
        #Option     "OverclockMem"
        #Option     "VideoKey"
        #Option     "Rotate"
        #Option     "TexturedVideo"
        #Option     "XAALines"
        #Option     "Crtc2Half"
        #Option     "DigitalScreen"
        #Option     "Tv"
        #Option     "TVStandard"
        #Option     "CableType"
        Identifier  "G450-0"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G450 AGP"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection

Section "Device"
        ### Available Driver options are:-
        #Option     "SWcursor"
        #Option     "HWcursor"
        #Option     "PciRetry"
        #Option     "SyncOnGreen"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "Overlay"
        #Option     "MGASDRAM"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "ColorKey"
        #Option     "SetMclk"
        #Option     "OverclockMem"
        #Option     "VideoKey"
        #Option     "Rotate"
        #Option     "TexturedVideo"
        #Option     "XAALines"
        #Option     "Crtc2Half"
        #Option     "DigitalScreen"
        #Option     "Tv"
        #Option     "TVStandard"
        #Option     "CableType"
        Identifier  "G450-1"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G450 AGP"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection
Section "Screen"
        Identifier "Screen 0"
        Device     "G450-0"
        Monitor    "Monitor0"
        DefaultDepth 24
        Subsection "Display"
                Depth   8
                Modes   "1280x1024" "1024x768" "800x600"
        EndSubSection
        Subsection "Display"
                Depth   16
                Modes   "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes   "1600x1200"
        EndSubSection

EndSection
Section "Screen"
        Identifier "Screen 1"
        Device     "G450-1"
        Monitor    "Monitor1"
        DefaultDepth 24
        Subsection "Display"
                Depth   8
                Modes   "1280x1024" "1024x768" "800x600"
        EndSubSection
        Subsection "Display"
                Depth   16
                Modes   "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes   "1600x1200"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier  "Simple Layout"
        Screen  "Screen 0" LeftOf "Screen 1"
        Screen  "Screen 1"
        Option  "Xinerama"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "DRI"
EndSection
==========================



==============C77CA89753A1BE7E72A6AF9B
Content-Type: text/x-vcard; charset=us-ascii;
 name="e.ste-marie.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Eric Ste-Marie
Content-Disposition: attachment;
 filename="e.ste-marie.vcf"

begin:vcard 
n:Ste-Marie;Eric
x-mozilla-html:FALSE
org:Bell;MRO
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Aviseur Technique
x-mozilla-cpt:;0
fn:Eric Ste-Marie
end:vcard

==============C77CA89753A1BE7E72A6AF9B==


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

From: Henry_Barta <[EMAIL PROTECTED]>
Subject: Re: Kernel Compilation questions / Problem
Date: 5 Jan 2001 05:37:26 GMT

[EMAIL PROTECTED] wrote:
> Trying to compile the 2.4.prerelease kerenl on a Abit KT7 Motherboard with
> a Duron 800 (I mention this becuase of the problem)

    Check ../linux/Documentation/Changes and look for "Current
    Minimal Requirements" and compare that to what you have on your
    system. If you read further, you will find directions on how
    to do so.

    Upgrading to 2.4.0 is likely to be a pretty big step and there
    are probably other things you are going to have to upgrade.

-- 
Hank Barta                            White Oak Software Inc.
[EMAIL PROTECTED]                   Predictable Systems by Design.(tm)
                Beautiful Sunny Winfield, Illinois

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

From: "Brittle" <[EMAIL PROTECTED]>
Subject: about network card
Date: Fri, 5 Jan 2001 13:38:23 +0800

Hi,
I am using a Ethernet Card with RTL8139(A/B/C) chip. When I recompile
the kernel (either .16 or .18), I cannot find a driver for it. What driver
should I install (3com, PCI, etc.)? Thanks a lot!

env: RTL8139A (no brand), RH7.2, Kernel 2.2.18, glibc2.2
err: cannot bring up the NIC eth0 when starting up

---- Brittle



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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: How to recover root password?
Date: 5 Jan 2001 05:48:39 GMT

In <9339vq$fk0$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:

>How to recover root password?

You can't. You can put in a new one-- as root type passwd. Of course you
probably are not logged on as root.
At the LILO prompt on bootup do
linux 1
(assuming you named your operational kernel linux)


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


** 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
******************************

Reply via email to