Linux-Setup Digest #831, Volume #19              Sun, 15 Oct 00 14:13:09 EDT

Contents:
  PCMCIA idiot (Charles Moon)
  Can I install Caldera OpenLinux 2.4 from CD-ROM on PCMCIA SCSI? ("E. Smith")
  Re: NFS Problem ([EMAIL PROTECTED])
  Re: Problems compiling tulip module on RH 7.0
  Re: Help with the 810 chipset. ([EMAIL PROTECTED])
  RH7 - Problems compiling kernel (Metropolis)
  Re: How do I turn off the pc speaker (H Dziardziel)
  Re: Bizarre shell problem. Please help ("Spagnet")
  Re: IPChains and Cable Modems - Fequently loosing connectivity to the  Internet 
("Spagnet")
  Portfw doesn't work in RH7.0 ("Ki Ho")
  Re: X question (gnome) ("bluster")

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

From: Charles Moon <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.hardware
Subject: PCMCIA idiot
Date: Sun, 15 Oct 2000 14:43:53 GMT

Here's the problem:

I upgraded from RH6.1 to 7.0. Now on boot my PCMCIA ethernet card fails
to initialize. If, after booting I pop out the card and reinsert it into
the same socket it fails to be recognized (beep-boop), but if I insert
it the OTHER socket, it is recognized and works perfectly from that
point. I recall this was an issue with the original RH6.1 setup although
for the life of me I can't remember what I did to correct it. 

Any help would be appreciated.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
HERE IS PERTINENT LOG INFORMATION
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Initial boot with card in Socket 1:

Log file:

pcmcia:  cardmgr.
rc: Starting pcmcia:  succeeded
cardmgr[476]: starting, version is 3.1.19
cardmgr[476]: watching 2 sockets
kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
kernel: cs: IO port probe 0x0800-0x08ff: clean.
kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df
0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[476]: initializing socket 1
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[476]: socket 1: 10/100 Dual Speed Fast Ethernet PC Card
cardmgr[476]: executing: 'modprobe 8390'
cardmgr[476]: executing: 'modprobe pcnet_cs'
kernel: eth0: pcnet_reset_8390() did not complete.
kernel: pcnet_cs: unable to read hardware net address for io base 0x300
cardmgr[476]: get dev info on socket 1 failed: No such device

>From /proc/ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
7800-780f : ESS Solo1
7854-785f : ESS Solo1
7870-787f : ESS Solo1
7890-7893 : ESS Solo1

After removing card from socket and placing in OTHER socket:
                                               ^^^^^

>From log:

cardmgr[476]: shutting down socket 1
cardmgr[476]: executing: 'modprobe -r pcnet_cs'
cardmgr[476]: executing: 'modprobe -r 8390'
cardmgr[476]: initializing socket 0
cardmgr[476]: socket 0: 10/100 Dual Speed Fast Ethernet PC Card
cardmgr[476]: executing: 'modprobe 8390'
cardmgr[476]: executing: 'modprobe pcnet_cs'
kernel: eth0: NE2000 (DL10022 rev 05): io 0x300, irq 3, hw_addr
00:E0:98:7A:B8:DF
cardmgr[476]: executing: './network start eth0'
kernel: eth0: found link beat

>From /proc/ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0300-031f : pcnet_cs
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
7800-780f : ESS Solo1
7854-785f : ESS Solo1
7870-787f : ESS Solo1
7890-7893 : ESS Solo1
-- 
  
+=================================+
| Charles Moon                    |
| Director of Creative Resources  |
| Peerless Paper Mills, Inc.      |
|=================================|
| http://www.peerlesspaper.com    |
| mailto:[EMAIL PROTECTED]  |
+=================================+

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

From: "E. Smith" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.caldera,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: Can I install Caldera OpenLinux 2.4 from CD-ROM on PCMCIA SCSI?
Date: Sun, 15 Oct 2000 15:02:50 GMT

On my subnotebook, I've only got access to a SCSI CD-ROM drive via my
Adaptec PCMCIA SCSI card.  I'm running Win95 right  now and I want do
dual-boot it with COL.

I badly want to install COL 2.4.  Can anyone help me?  I'm new to Linux.  My
other experience was with FreeBSD, but on a different machine with a
built-in CD-ROM drive.

Any help greatly appreciated.

-e.



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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.install
Subject: Re: NFS Problem
Date: Sun, 15 Oct 2000 15:00:19 GMT



Hi;


does you make change to

/etc/exports to seem like this

# See exports(5) for a description.
# This file contains a list of all directories exported to other
computers.
# It is used by rpc.nfsd and rpc.mountd.
/your_nfs_directory   (rw,insecure,no_root_squash)
/directory_to_export  (rw)

nouredine


In article <[EMAIL PROTECTED]>,
  Jeff Grossman <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying to setup NFS.  I am running Redhat 6.2 as the NFS server
and
> Redhat 7.0 as the NFS client.  I think I have everything set up
> correctly.  I followed the NFS howto.  But, when I try and connect, I
get
> Permission Denied.  I even tried to connect to the server from the
server
> machine and connect to localhost and I get the same error message.
Does
> anybody have any ideas?
>
> Thanks,
> Jeff
> --
> Jeff Grossman ([EMAIL PROTECTED])
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: <[EMAIL PROTECTED]>
Subject: Re: Problems compiling tulip module on RH 7.0
Date: Sun, 15 Oct 2000 10:26:44 -0500

This method didn't work for me.  I too performed a clean installation of
RH7.  I could never get the .c files to compile into .o files.  When I type
"make" a lot of gibberish scrolls by on the screen, and no .o files appear
in the directory.  I did notice, however, that there was an
"-I/usr/src/linux/include" switch on the gcc command issued by make.  That
directory doesn't exist on my filesystem.  (Neither does /usr/src/modules
for that matter.)  In the /usr/src directory, there is another directory
called redhat which contains BUILD, SOURCES, SRPMS, etc..  I assumed the -I
option looks for a path to the header files, so I manually issued the gcc
command that make called, and changed "-I/usr/src/linux/include" to
"-I/usr/include", but this didn't work.  I performed a workstation
installation of RH7 (I'm no linux guru by any means).  Is there another
package I should install to get this to work?  I just need some help getting
these modules to compile.

thanks


"msume97" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> David .. wrote:
> >
> > msume97 wrote:
> > >
> > > I am having problems compiling the tulip.o module for my linksys
> etherfast
> > > card.  I have a fresh install of redhat 7.0 and have downloaded all of
> the
> > > files from ftp://ftp.scyld.com/pub/network/tulip.html (pci-scan.h
> > > pci-scan.c, kern_compat.h, and tulip.c).  The pci-scan.o module seems
> to
> > > compile OK, but when I try to compile the tulip.c file I get the
> > > following errors:
> > >
> > > [root@localhost modules]#
gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c
> > >
> > > I have compiled this module under redhat 6.2 with out a problem.  Any
> > > suggestions would be greatly appreciated.
> >
> >
> > This work on 6.2 not sure about 7.0
> >
> > gcc -DMODULE -D__KERNEL__ -I/path/to/module -Wall -Wstrict-prototypes
> > -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo
> > -DMODVERSIONS`
> >
> > --
> > Confucius say: He who play in root, eventually kill tree.
> > Registered with the Linux Counter.  http://counter.li.org
> > ID # 123538
>
>
>
> Thanks David.
>
> Your post gave me some ideas and I finally solved the problem.  Here's my
> solution.
>
> After 3 days and 5-6 re-installs these are the steps that were finally
> successful in installing the tulip.o module needed for my Linksys
> Etherfast NIC.  By the way, I did have the card working under RH6.2 and
> tried to upgrade to 7.0 but that didn't work.  I initially tried to re-
> compile the tulip module in that scenario without luck.  So I went with
> the shotgun approach and did a fresh install of RH 7.0 and this is the
> procedure that worked for me.
>
> Download the netdrivers.tgz package from ftp://ftp.scyld.com/pub/network
>
> Untar the file in some dir. I used /usr/src/modules but you can pick your
> own.
>
> tar -xvzf netdrivers.tgz
>
> Make sure you're in the directory that you untared the netdrivers.tgz
> file.  Compile the source files, .c files, with the make command, i.e.
> type make in the same terminal window you typed the tar command.
>
> make
>
> You should then see some interesting text scroll by.  When it's finished
> you'll see the command prompt again.  Do a ls to see what files are now in
> the directory.  You should see that a bunch of new .o files have been
> added.  These are your new network modules.
>
> Next check to see if the new tulip.o module works by using the insmod
> command.  Note you must insmod the pci-scan.o module before the tulip.o
> module or you'll get an error.
>
> insmod pci-scan.o
>
> insmod tulip.o
>
> Install the tulip.o and pci-scan.o modules into the /lib/modules/`uname -
> r`/net dir.
> Note you may want to rename the old tulip.o module before you do this, or
> you can simply overwrite it.
>
> mv /lib/modules/`uname -r`/net/tulip.o /lib/modules/`uname -
> r`/net/tulip.old
>
> install -m 644 pci-scan.o tulip.o /lib/modules/`uname -r`/net/
>
> Now modify the /etc/modules.conf file as follows:
>
> alias eth0 tulip
> options tulip options=0 debug=1
>
> After this you can use netcfg to set up your ip address and gateway
> settings.
>
> Finally restart your network with the following command:
>
> /etc/rc.d/init.d/network restart
>
> Well, that's it.  I hope this helps.
>
>
>
> --
> Posted via CNET Help.com
> http://www.help.com/



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

From: [EMAIL PROTECTED]
Subject: Re: Help with the 810 chipset.
Date: Sun, 15 Oct 2000 15:40:28 GMT

Hi Bill !
Oop! You've got the same problem with me. You should go to Intel web
site:
www.intel.com
There a good documentation for you to install and configure your
graphics card with i810 chipset.

Good luck to you.


In article <AV8G5.1309$[EMAIL PROTECTED]>,
  "Bill Palmer" <[EMAIL PROTECTED]> wrote:
> First off, I'm a total newbie here so be gentle!
>
> I have a Celeron 466 processor on my machine, and would like to dual
boot
> Win 98SE and Linux 6.2. There seems to bee some problem running Linux
6.2
> with the i810 chipset in a graphical mode. I can install, and dual
boot, but
> I can only use the command line when booting to Linux, not Gnome or
KDE. Any
> info on how to fix this is much appreciated!
>
> --bill--
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.189 / Virus Database: 90 - Release Date: 9/1/00
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Metropolis <[EMAIL PROTECTED]>
Subject: RH7 - Problems compiling kernel
Date: Sun, 15 Oct 2000 12:20:24 -0400

Hey folks...

Having problems recompiling a kernel in RH7.  My steps are:

1.  cd /usr/src/linux  (symbolic link to linux-2.2.17)
2.  make xconfig  (import default Redhat config - make a few minor
changes - save)
3.  make dep
4.  make clean (as directed by several sources, though I know some
people dont' do this)
4.  make bzImage

This, of course, is where the problem comes in.  

I get several "warning" messages which I don't think are a problem,
but here they are:

cdrom.c:1247:84: warning: pasting would not give a valid preprocessing
token   

# I also get this warning in tcp.o and tcp_input.o

/usr/src/linux/include/net/ip_masq.h:273:26: warning: nothing can be 
pasted after this token

# I get this in a few other files as well

Here's the fatal one: 

make -C  arch/i386/lib
make[1]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__  -traditional
-c checksum.S -o checksum.o
checksum.S:231: badly punctuated parameter list in #define
checksum.S:237: badly punctuated parameter list in #define
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

Crapped our, sir...  Any suggestions (or if you need more info to
diagnose) would be very much appreciated...

Also, I've got an AMD K6-2 processor and have been choosing
accordingly in the xconfig setup.  Does this make any difference?

Thanks!

Adam

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

From: [EMAIL PROTECTED] (H Dziardziel)
Subject: Re: How do I turn off the pc speaker
Date: Sun, 15 Oct 2000 17:00:33 GMT

On 12 Oct 2000 16:26:38 GMT, [EMAIL PROTECTED] (Richard Allan
Holcombe) wrote:

>I am running Red Hat 6.2.  I found that some of the programs that I use
>cause the pc speaker to beep when an error occurs in the program.
>I let some of these programs run overnight, (I xlock'ed my terminal)
>and came in the next morning to find many annoyed neighbors, that were
>forced to listen to my machine beep at them for a few hours.  Is there
>a good way to disable the speaker?  Ideally having xlock turn it off would
>be nice, but I don't know of any way to do this.
>Thanks.
>-- 
>Richard Holcombe [EMAIL PROTECTED]

Deep in the voluminous documentation is a paragraph about setting the
speaker beep tone volume and duration in the shell.  Someday I too
will find it again.  


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

From: "Spagnet" <[EMAIL PROTECTED]>
Subject: Re: Bizarre shell problem. Please help
Date: Sun, 15 Oct 2000 17:12:38 GMT

If the problem is as Loren Brookes describes, open the file lmhostid in a
text editor and see if the first line is something like #!/bin/bash.  If so,
edit the file and change this line to #!/bin/bash -x.  The -x will enable
debugging.  When the file is ran, you'll see a lot of debugging code dumped
to the screen, which should help you figure out if some command within the
file is causing the problem.

-dnult

Loren Brookes wrote in message
<[EMAIL PROTECTED]>...
>On Fri, 13 Oct 2000, Servet Ahmet Cizmeli wrote:
>>Hi all,
>>
>>I just installed Redhat 7.0. I would like to run a program that is
>>called lmhostid but the shell would not find it :
>>
>>[root@seawifs etc]# /usr/local/matlab5/etc/lnx86/lmhostid
>>bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory
>>
>>however the file exists with correct execution permissions
>>
>>[root@seawifs etc]# ls -l /usr/local/matlab5/etc/lnx86/lmhostid
>>-rwxr-xr-x   10 acizmeli users      219264 Oct 31  1997
>>/usr/local/matlab5/etc/lnx86/lmhostid
>>
>>I AM COMPLETELY STUCK. WHY WOULD THE SHELL NOT FIND THIS FILE TO RUN
>>
>
>My guess would be that the file you are trying to run is a script, and it
is
>looking for a file, and not finding it. i.e. the error message refers to
some
>file other than the one you are running. If this is so you need to open
>lmhostid with a text editor and look for the file refered to in it.
>
>If it is not a script it may still be looking for some file in the wrong
place.
>Maybe there's some environment problem.
>
>Maybe you could just uninstall and then reinstall the program, that does
work
>sometimes.
>
>Hope this helps.
>
>Loren Brookes
>
>>any help would be greatly appreciated
>>thanks from advance
>>peace



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

From: "Spagnet" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat,linux.redhat.install,linux.redhat.misc
Subject: Re: IPChains and Cable Modems - Fequently loosing connectivity to the  
Internet
Date: Sun, 15 Oct 2000 17:12:38 GMT

Make sure that your ipchains is allowing the bootpc protocol through your
firewall (ipchains rules).  If not, after the least expires it will be
unable to renegotiate a new lease and fail.  Have a look at /etc/services
with a text editor and find the bootpc protocols.  Add that to your rules
and you'll be set.

I use SuSE 6.3 which has an ipchains configuration utility.  This takes my
attention away from the dirty work of setting up rules, but limits my
ability to give more helpful advice.  I discovered this problem by turning
up the logging on my SuSE configurator (/etc/rc.firewall) and looking for
the bounced dhcp negotiate transactions and which ports / protocols were
being used.  In my case, the log files to look at are /var/log/firewall and
/var/log/messages.  Not sure if yours will be the same or not.  Good Luck.

-dnult

Vinson Armstead wrote in message ...
>
>"Jem Berkes" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> > I then checked and re-seated all the cables (all OK but did not restore
>> > service). I ran the same test from my RH server and got the same
results
>as
>> > above. I would stop/start the IPChains FW (still service was down).  I
>> > rebooted the RH server (still service was down). The only way to
restore
>> > services was to power off/on the Cable modem.
>>
>> A friend of mine who has a cable modem tells me that occasionally due to
>> cable modem buffering errors (hardware) he has to disconnect the cable
>> modem and switch it off/on. Have you ever used this particular cable
>> modem on (e.g.) a Windows machine without the same problem?
>
>During my testing I connected to cable modem directly to a Win98 PC and it
>worked fine. I was able to download 1 or 2 GB worth of data from the
>Internet (several different ftp sites).
>
>That is what make this problem so wired. It works when connected directly
to
>a Win9x, NT, 2K PC but not with a Linux PC
>
>Any suggestions?
>
>



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

From: "Ki Ho" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: Portfw doesn't work in RH7.0
Date: Mon, 16 Oct 2000 01:30:39 +0800

I've setup a firewall machine(Redhat 7.0) with ipchains and use ipmasqadm to
redirect external request into the internal server.
Ipchains work fine but ipmasqadm can't forward the external request..
Please help ^_^

here is my configuration below:

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
ipmasqadm portfw -a -P tcp -L 202.66.20.246 80 -R 192.168.0.20 80
ipmasqadm portfw -a -P tcp -L 202.66.20.246 21 -R 192.168.0.20 21
ipmasqadm portfw -a -P tcp -L 202.66.20.246 9010 -R 192.168.0.20 9010
ipmasqadm portfw -a -P tcp -L 202.66.20.245 21 -R 192.168.0.10 21
ipmasqadm portfw -a -P tcp -L 202.66.20.245 9010 -R 192.168.0.10 9010






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

From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: X question (gnome)
Date: Sun, 15 Oct 2000 13:58:31 -0400

Hagbard <[EMAIL PROTECTED]> wrote
> here are the contents of the files in question.  of course, i would
> appreciate any suggestions.
>
> tia,
>
> hagbard

Hi Hagbard,
Well this is the problem, your /etc/X11/xinit/xinitrc is
different from the stock redhat one, and it is not looking at
the /home/[user]/.Xclients file.  Do you have the xinitrc RPM
installed?  The stock RH file may have been replaced while you
were wrestling with the X11 hardware setup.
I have edited your xinitrc, commenting out stuff starting at
"# start some nice programs", and appending the commands which
look at .Xclients from the stock file.  Try snipping and using
this xinitrc file, that should fix switchdesk.

Bluster

************/etc/X11/xinit/xinitrc**************
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

# kwm &
# xclock -geometry 50x50-1+1 &
# xterm -geometry 80x50+494+51 &
# xterm -geometry 80x20+494-0 &
# exec xterm -geometry 80x66+50+50 -name login
# gnome-session

# ****** commands from stock redhat xinitrc follow *******
# (c) 1999, 2000 Red Hat, Inc.

# The user may have their own clients they want to run.  If they don't,
# fall back to system defaults.

# run all system xinitrc shell scripts.
for i in /etc/X11/xinit/xinitrc.d/* ; do
    if [ -x "$i" ]; then
        . "$i"
    fi
done

if [ -f $HOME/.Xclients ]; then
    exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
    exec /etc/X11/xinit/Xclients
else
       # failsafe settings.  Although we should never get here
       # (we provide fallbacks in Xclients as well) it can't hurt.
       xclock -geometry 100x100-5+5 &
       xterm -geometry 80x50-50+150 &
       if [ -f /usr/bin/netscape -a -f /usr/doc/HTML/index.html ]; then
               netscape /usr/doc/HTML/index.html &
       fi
       if [ -f /usr/X11R6/bin/fvwm ]; then
               exec fvwm
       else
               exec twm
       fi
fi
**************************************************
******* end of file /etc/X11/xinit/xinitrc *******
**************************************************


> ******** /home/[user]/.Xclients ********
>
> #!/bin/bash
>
> # Created by Red Hat Desktop Switcher
>
> if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
>     exec $HOME/.Xclients-$HOSTNAME$DISPLAY
> else
>     exec $HOME/.Xclients-default
> fi
>
> *********************************************
>
>
> *** /home/[user]/.Xclients-default ******
>
> # Created by Red Hat Desktop Switcher
> exec startkde
>
> ***********************************************
>
> ********** /etc/X11/xinit/xinitrc **********
> *** this is the one that i've modified ****
> **********************************************
>
> #!/bin/sh
> # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
>
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
>
> # merge in defaults and keymaps
>
> if [ -f $sysresources ]; then
>     xrdb -merge $sysresources
> fi
>
> if [ -f $sysmodmap ]; then
>     xmodmap $sysmodmap
> fi
>
> if [ -f $userresources ]; then
>     xrdb -merge $userresources
> fi
>
> if [ -f $usermodmap ]; then
>     xmodmap $usermodmap
> fi
>
> # start some nice programs
>
> # kwm &
> # xclock -geometry 50x50-1+1 &
> # xterm -geometry 80x50+494+51 &
> # xterm -geometry 80x20+494-0 &
> # exec xterm -geometry 80x66+50+50 -name login
> gnome-session
>
> **********************************************
>
> ********* /etc/X11/xinit/xinitrc **********
> *************** the original ****************
>
> #!/bin/sh
> # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
>
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
>
> # merge in defaults and keymaps
>
> if [ -f $sysresources ]; then
>     xrdb -merge $sysresources
> fi
>
> if [ -f $sysmodmap ]; then
>     xmodmap $sysmodmap
> fi
>
> if [ -f $userresources ]; then
>     xrdb -merge $userresources
> fi
>
> if [ -f $usermodmap ]; then
>     xmodmap $usermodmap
> fi
>
> # start some nice programs
>
> twm &
> xclock -geometry 50x50-1+1 &
> xterm -geometry 80x50+494+51 &
> xterm -geometry 80x20+494-0 &
> exec xterm -geometry 80x66+0+0 -name login
>
> ******************************************



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


** 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 (and comp.os.linux.setup) via:

    Internet: [EMAIL PROTECTED]

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