Linux-Misc Digest #133, Volume #24               Wed, 12 Apr 00 22:13:02 EDT

Contents:
  default desktop in RedHat ([EMAIL PROTECTED])
  Re: default desktop in RedHat (Dances With Crows)
  Helping a frenchie newbie (f038737_1_fnac)
  Oops, not quite... (Dances With Crows)
  Re: Why wont init start??? (H.Bruijn)
  Re: Why linux will never go beyond geekdom (G. R. Gaudreau)
  Re: default desktop in RedHat (G. R. Gaudreau)
  Re: sendmail behind firewall (Curly++)
  Re: rlogin/rdist problems... ("No Spam for me thank you")
  Re: [Q] Decrypt (John Hasler)
  LILO 21.4 update (John in SD)
  Can't ping after changing from coaxial to 10baseT (NGHIENHA)
  meaning of file-nr (Hernan Gonzalez)
  Re: How Microsoft inhibits competition & innovation (JTK)
  Re: How Microsoft inhibits competition & innovation ("Ermine Todd")
  Re: Which Linux for SAP? (Christopher Browne)
  Re: Media Player (ajn)

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

From: [EMAIL PROTECTED]
Subject: default desktop in RedHat
Date: Thu, 13 Apr 2000 00:29:18 GMT

hi,

How can I change my default desktop in RedHat (Dell distribution, if it
makes any difference)? The only way to get KDE that I found was to
select "options" before login. I have to do it every time I log in.

Thanks

Wroot


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

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: default desktop in RedHat
Date: 12 Apr 2000 20:51:52 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 13 Apr 2000 00:29:18 GMT, [EMAIL PROTECTED] 
<<8d34cl$qvb$[EMAIL PROTECTED]>> shouted forth into the ether:
>hi,
>
>How can I change my default desktop in RedHat (Dell distribution, if it
>makes any difference)? The only way to get KDE that I found was to
>select "options" before login. I have to do it every time I log in.

# cat > /etc/sysconfig/desktop
KDE
^D

This info was gleaned from looking at RedHat's rather convoluted mess of
a runlevel init script.  I'm sure there are other ways of doing this; this
is the quickest!

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: f038737_1_fnac <[EMAIL PROTECTED]>
Subject: Helping a frenchie newbie
Date: Thu, 13 Apr 2000 02:56:28 +0200

Hi,

I 've a Mandrake 7.0 v2, and some problems with KDE :
-when I change the colors of the windows, as user, it doesn't work 
 (but it works as root ...)
-and the Eterm and the Gnome terminals can't be transparent under KDE,
as under Gnome
 or enlightenment ...

heeelp a little frenchie, 

thanks a lot


Joan

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Oops, not quite...
Date: 12 Apr 2000 20:59:29 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 13 Apr 2000 00:29:18 GMT, [EMAIL PROTECTED] 
<<8d34cl$qvb$[EMAIL PROTECTED]>> shouted forth into the ether:
>How can I change my default desktop in RedHat (Dell distribution, if it
>makes any difference)? The only way to get KDE that I found was to
>select "options" before login. I have to do it every time I log in.

SOrry to follow up on my own post, but mucking with /etc/sysconfig/desktop
will only change the preferred login manager.  However, it seems that
KDE's kdm will remember that user "bob" likes to use KDE, while user
"fred" likes to use GNOME... at least with the kdm that shipped with the
recently released RedHat 6.2.  Sorry for the confusion.

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.setup,comp.os.linux.help,comp.os.linux.questions
Subject: Re: Why wont init start???
Date: 13 Apr 2000 01:00:32 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 13 Apr 2000 02:38:37 +0200, [EMAIL PROTECTED] allegedly wrote:
>This is a multi-part message in MIME format.

Don't try to post both in plain-text and html, just plain text will
suffice on usenet...

>
>i asked this question before.....i'm not sure if anyone responded
>because i was unable to get onto usenet for a few days.
>please answer again:
>
>i'm trying to create a boot disk. i copy the kernel image and the
>relevent files to my boot disk (including init and all my necessary
>device files). but...when i boot from the floppy....the kernel boots up
>to the point it's supposed to start init...but then......instead of
>starting init it says:
>
>kernel panic: init not found. Try passing init= as kernel parameter.
>
>init is located in /sbin.
>why wont it start??
>

Read the howto on making boot floppies, or use the /usr/sbin/mkboot 
command (at least on my debian distro)

-- 
      Herman
========================================================================
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn                   mail:                   [EMAIL PROTECTED]
The Netherlands                 GnuPG key:   http://www.bruyn.org/gpgkey

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

From: G. R. Gaudreau <[EMAIL PROTECTED]>
Subject: Re: Why linux will never go beyond geekdom
Date: Wed, 12 Apr 2000 21:02:12 -0400

>> Pencil Necked Geek wrote:
>> >
>> > Hi, troll!
>> >
>> > Couldn't get it to work?
>> >
>> > <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
>> > > Purely because it sucks the big one, no games ! no word !
>> > > KDE....it stinks....Gnome.....amateur hacks with pretty graphics
>> > >
>> > > --
>> > > Doh
>> Dood!  Too funny!!  Thank you
>
>It's funny 'cause it's true.
>
>Now, I'm going to go play some XBill.  Who says there are no games for
>Linux?!

Just my $0.02, but the funny thing is that both KDE and GNOME are more stable
than Win9x. These "amateur hacks," so-called by the ignorant, have done in a few
short years what Billy-boy and his Borg couldn't do in over 1o years, i.e.,
giving us a stable environment to work in. I run WindoMaker 0.62.1, still in
beta, and even that wm is more stable then Win9x. My hat is off to the guys that
programmed this wm. I'm a former Win9x user and I would go back.

Linux programmmers may still have a way to go in giving us the functionality and
number of apps Windows users enjoy, but I'd bet my bottom dollar that they'll
do it in less time than it took M$ and they'll do it better; they always do.

--
Rev. G. R. Gaudreau
[EMAIL PROTECTED]
http://members.xoom.com/grgaud/

"                                       ! "
-- Marcel Marceau


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

From: G. R. Gaudreau <[EMAIL PROTECTED]>
Subject: Re: default desktop in RedHat
Date: Wed, 12 Apr 2000 21:12:05 -0400

On Wed, 12 Apr 2000, [EMAIL PROTECTED] wrote:
>hi,
>
>How can I change my default desktop in RedHat (Dell distribution, if it
>makes any difference)? The only way to get KDE that I found was to
>select "options" before login. I have to do it every time I log in.

If you're running KDE or GNOME, all you have to do is to use switchdesk. In
KDE, right click the desktop and use 'execute a command' and then type in
'switchdesk' (without the quotes). When it shows up, choose KDE and then log
out and restart X.

If you're in GNOME, click the menu on the panel and then click Run... (I think)
and then type 'switchdesk'. Follow the same procedure as above and it should
work. Switchdesk creates a file called '.Xclients' which has a line that
executes 'starkde' (exec startkde). Hope this answers your question and helps
you out.

--
Rev. G. R. Gaudreau
[EMAIL PROTECTED]
http://members.xoom.com/grgaud/

"                                       ! "
-- Marcel Marceau


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

From: [EMAIL PROTECTED] (Curly++)
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: sendmail behind firewall
Reply-To: [EMAIL PROTECTED]
Date: Wed, 12 Apr 2000 21:17:17 -0400

In comp.os.linux.admin, H.T. Sun proclaimed:
 
>    I have two machines setup (both linux), machine A is directly

I'm certainly no sendmail experts, but I have a couple of 
thoughts that you might find usefull.

1st, Don't send encoded postings to usenet.  Most people won't 
even read them, let alone answer. 

>    I have put down A as a "Smart relay host" in B:/etc/sendmail.cf, but

Why?  You cannot recieve mail directly on machine B, but why 
not send mail directly from there?  In fact, I just tested 
that using a similar setup, sent myself a message using:

     mail -s test [EMAIL PROTECTED] 
     test test test
     ^D
     Cc:

The mail didn't come in yet... usa.net is *incredibly* slow, 
but it seems to have gone out with no problems.  And I *know* 
there is no special mail settup on B or A.  All I did for mail 
when I installed her setup was make sure sendmail wasn't running 
as a daemon. 


-- 
Oisin  "Curly++"  Curtin                     [EMAIL PROTECTED]
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

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

From: "No Spam for me thank you" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: rlogin/rdist problems...
Date: Thu, 13 Apr 2000 03:17:56 +0200

Thats cause root remote logins are forbidden...
If you would like to do this anyway try writing a wrapper-script that uses
sudo to change the password file...

"Ricky Crow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am setting up two Linux machines on a network.  I want to keep
> password files identical between the two machines.  I plan to use rdist
> to make this possible, but I am having a problem trying to get rdist to
> work.  I have set up forward and reverse DNS so that everything resolves
> properly, I have set up the .rhosts file to allow connections from the
> other machine.  I can rlogin to the second machine as a user, with the
> .rhosts file set up, but it will not let me run rdist as root (since
> it's the password file that I am updating, it needs to be run as root).
>
> When I am logged in as root on the first machine, I can try to rlogin to
> the second machine, but it asks me for a password.  When I type in the
> password, it gives me an invalid login message, which all appears to be
> correct, but what is stopping rdist from working?  Here is the error
> message that I get when I try to run rdist:
>
> bash# rdist -f distribfile
> 20x.xx.xx.15: updating host 20x.xx.xx.15
> 20x.xx.xx.15: LOCAL ERROR: Unexpected input from server: "Permission
> denied.".
> 20x.xx.xx.15: updating of 20x.xx.xx.15 finished
>
>
> I covered up the IP Addresses to protect the guilty.  Anyways, if
> anybody has some ideas as to why this might be giving me this problem, I
> would greatly appreciate any advice you could give.
>
> Ricky



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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: [Q] Decrypt
Date: Wed, 12 Apr 2000 12:53:16 GMT

Bill Unruh writes:
> There has never been any evidence that two plaintexts hash to the same
> crypted password under crypt(3).

The fact that information is lost guarantees that it is possible.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: John in SD <[EMAIL PROTECTED]>
Subject: LILO 21.4 update
Reply-To: [EMAIL PROTECTED]
Date: Thu, 13 Apr 2000 01:24:48 GMT

LILO version 21 by Werner Almesberger has been updated to support
booting from large capacity disks using a new 'lba32' option (-L new
command line switch).  Dubbed version 21.4, the source code is
available for download from:

   ftp://sd.dynhost.com/pub/linux/lilo          (developer's site)
   ftp://brun.dyndns.org/pub/linux/lilo         (an alias)

Or from the main distribution site:

   ftp://metalab.unc.edu/pub/Linux/system/boot/lilo


The lilo-21.4.2 release fixes problems that have affected a few
people:

1.  The command line passed to the kernel was truncated at 78
characters if the LARGE_EBDA (Extended BIOS Data Area) compile-time
option was used.  (With today's big kernels, this was the default.)

2.  If both 'linear' and 'compact' were specified, the second stage
loader would encounter disk I/O error 0x40.  

Enhancements include:

3.  The boot loader now understands octal.  The kernel has always
understood octal, decimal, and hexadecimal, but prior boot loaders
only supported the last two.

4.  All patches from the RedHat 6.2 distribution have been applied.
This includes the RAID support.

This version of LILO will boot from partitions beyond the 1024
cylinder limit.  To do this it requires a post-1998 BIOS with support
for the EDD packet call interface.  Older systems may employ "soft"
BIOS support for these calls with hard disk boot software such as
EZ-DRIVE(tm) or MaxBlast(tm).

--John Coffman <[EMAIL PROTECTED]>


EZ-DRIVE(tm) is a registered trademark of Micro House International,
Inc.
MaxBlast(tm) is a trademark of Maxtor, Inc.

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

From: [EMAIL PROTECTED] (NGHIENHA)
Subject: Can't ping after changing from coaxial to 10baseT
Date: 13 Apr 2000 01:27:42 GMT

I have two TCP/IP networked computers which worked flawlessly 
until I change from 10base2 (coaxial) to 10baseT (twisted pair).
>From the Linux 5.2 machine I can no longer ping to the other 
machine but pinging to itself is ok on both ends.
The Linux box keeps issuing following message:

eth0: transmit time out, Tx-status 00 status 2000 Tx FIFO room xxxx

I tried different combinations of  the ifconfig command something
similar to:

ifconfig  eth0   10baseT  up

and reboot the machine but it still reports 10base2 instead of
10baseT and I can't ping to other machine.

Can somebody help me out with the problem ?

Thanks,
John


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

From: Hernan Gonzalez <[EMAIL PROTECTED]>
Subject: meaning of file-nr
Date: Wed, 12 Apr 2000 18:09:31 -0300

I'm very confused with the meaning of the
/proc/sys/fs/file-nr  file

The docs (/usr/src/linux/Documentation/sysctl/fs.txt)
say:

>The three values in file-nr denote the number of allocated
>file handles, the number of used file handles and the maximum
>number of file handles.

I'm using a 2.2.12 kernel, and sometimes it
reports a huge number of 'used' and 'alocated' filehandles, 
even when the 'lsof' command (and a manual inspection
of the /proc/<nn>/fd/ ) reports few filehandles
in use.

For example :

 [root@pp1 /root]# cat /proc/sys/fs/file-nr
 4111    3891    10000
 [root@pp1 /root]# lsof | wc --lines
    464                     


I made a little program (attached below) which opens
a number of files, waits for a key press and exits.

I get this (surprising, for me) result:

BEFORE running the program I get:

 [root@faramir /root]# cat /proc/sys/fs/file-nr
 2827    2079    4096   
         ^^^^

Supossedly, then, I have 2079 'filehandles in use'
(though I don't imagine which and where are them)

Then, I run the program in another terminal... It
opens 1000 files and waits...
WHILE THESE  FILES ARE OPENED (and 'lsof' reports them)
I get:

 [root@faramir /root]# cat /proc/sys/fs/file-nr
 2827    1076    4096
         ^^^^

After pressing Enter, which stops the program (and the files
are closed), I get the same result as before:

[root@faramir /root]# cat /proc/sys/fs/file-nr
2827    2079    4096   

How can this be ???
Is there a typo in the docs? Perhaps the second value in
file-nr is actually the number of 'alocated-but NOT IN USE'
filehandles...?

Any help would be very appreciated

Hernan Gonzalez
Buenos Aires, Argentina

*********************************************************

/* This little program opens NFILES files and waits for a key press */
/* The files are opened (created) in the /tmp directory             */
/* You should delete them afterwards                                */

#include <stdio.h>

#define NFILES 1000  /* number of files to be opened */

FILE *p[NFILES];

main()
    {
    int i;
    char filename[100];

    for (i=0;i<NFILES;i++)
        {
        sprintf(filename,"/tmp/test_%06d.tmp",i);
        if( (p[i]= fopen(filename,"w") ) == NULL)
            {
            printf("error opening %s\n",filename);
            exit(1);
            }
        }
    /* ok ... the files are opened at this very moment ... */
    printf("Ok %d files opened.... \n",i);
    printf("Press ENTER to quit the program ...",i);

    /* wait ... */
    getchar();
    
    printf("OK Bye\n");
    }

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

From: JTK <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Wed, 12 Apr 2000 20:33:32 -0500



Floyd Davidson wrote:
> 
> JTK <[EMAIL PROTECTED]> wrote:
> >fungus wrote:
> >>
> >> Andre Kostur wrote:
> >> >
> >> > >2) Total abstraction of a wide range of underlying
> >> > >hardware, including a wide range of audio and display
> >> > >technologies (and hardware accellerators).
> >> >
> >> > X-Window? (Ancient technology by computer terms...)  Not
> >> > too sure about the Audio end of things.
> >> >
> >>
> >> FILE *f = fopen("/dev/audio", "wb");
> >>
> >
> >Yeah, find me ONE unixite that won't squeal at the "b" in
> >there.  "All files are text files dag nabbit!  You younguns
> >don't know what's good fer ya!"
> 
> The "wb" is *required* to be accepted if the compiler ANSI/ISO
> compliant.  Even among the few remaining non ANSI compilers it
> is doubtful you will find even one that will not accept "wb".
> 

Absolutely right.  And yet far too many Unix coders for some bizzarre
reason *still* think it's optional.

> You don't seem to understand

My friend, I understand all too well what the problem is here.

> that not only are all unix files
> text files,

There's the problem right there.  Are all unix files also jpg's?  And
gif's?  Why not, what's the difference?  Should the next version of the
C library add more 'modes' to accomodate all the millions of different
file formats out there, not just for graphics files, but for all files? 
Why isn't every Unix file a spreadsheet file?  Or a gdb file?  Or an
executable file?  What's the difference?

The bottom line is that fprintf()/fscanf() etc should never have
existed.  A FILE should have been a stream of bytes with
open/close/read/write/error functionality *and that's it*.  A file on
disk or in a pipe or wherever it is doesn't have a 'mode', it has a
*format*.  If you want to read text out of a stream, then you open a
'subclassed' TEXT_FILE stream or some damn thing that doesn't go off
into laa-laa-land when it sees/doesn't see/only sees a \r.  You do
exactly the same thing you'd do if you wanted to open a graphics file,
you'd use a library, you most certainly would not expect fopen() to have
a JPG 'mode' for you.

> they are also all binary files too...  every last
> one of them!  (Hint:  unix won't squeal at all, it will just
> totally ignore the "b".)
>

Yep, please tell that to your fellow Unix coders.
 
> >> I'm not sure the PC has reached the price of an Amiga yet.
> >>
> >
> >They're cheaper.  Amigas were selling for at least $1500 IIRC.  Sans
> >monitor.
> 
> That is true.  They *finally* caught up, after all these years.
> You are calling that an innovation?
> 

Are you trying to compare an 80's Amiga to a 00's PC?  I think I know
who to bet on in that race.

>   Floyd
> 
> --
> Floyd L. Davidson                          [EMAIL PROTECTED]
> Ukpeagvik (Barrow, Alaska)

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

From: "Ermine Todd" <[EMAIL PROTECTED]>
Subject: Re: How Microsoft inhibits competition & innovation
Date: Wed, 12 Apr 2000 18:39:27 -0700
Crossposted-To: comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy

Well, obviously, the information exists.  However, unless I totally
misunderstood you, I don't believe the topic was making NT totally secure
but rather how to configure it so that the typical system wouldn't be
subject to the "tender mercies" of typical users.

Two entirely different goals.

--ET--

"Jon A. Maxwell (JAM)" <[EMAIL PROTECTED]> wrote in message
news:8d336q$mhn$[EMAIL PROTECTED]...
> Ermine Todd <[EMAIL PROTECTED]> wrote: (comp.lang.java.advocacy)
>  |
>  | The simple answer is that you have the user logon as a generic
>  | user and not with Admin rights.  You install the apps as Admin,
>  | you protect the OS files - what's the problem?
>
> Microsoft has a 37-page document describing how to secure NT.
> It is not just a list of OS files to protect.
>
>
http://www.microsoft.com/NTServer/security/exec/overview/Secure_NTInstall.as
p
>
> This is an 'overview', by the way -- it's just the beginning of what
> you need to do.
>
> Jam (address rot13 encoded)
>



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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Which Linux for SAP?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 13 Apr 2000 01:50:16 GMT

Centuries ago, Nostradamus foresaw a time when Farhan Ahmad would say:
>My company is moving towards SAP, to be setup on Linux.
>What i want to ask is that which will be a better choice of Linux for
>SAP?  Red Hat, SuSE, or any other?

Have you checked with SAP?  They could (indeed, *do*) have some rather
particular opinions on the matter that include a custom-tuned kernel.

You need to avail yourself of SAPNET/OSS Notes 171356 (OS issues),
171371 (COMPAQ), 171377 (HP), 171380 (IBM) and 171383 (Siemens).

Contact your friendly local Basis Consultant for access to these
notes...
-- 
"Running Windows on  a Pentium is like having a  brand new Porsche but
only be able to drive backwards with the handbrake on."
-- (Unknown source)
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/saplinux.html>

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

From: ajn <[EMAIL PROTECTED]>
Subject: Re: Media Player
Date: Thu, 13 Apr 2000 11:54:02 +1000

Mircea wrote:
> 
> constants wrote:
> >
> > Is there a program for linux that is identical to Microsoft Media Player,
> > since I want to play .asp files. Thanks
> 
> Asp is, AFAIK, mpeg-4, which isn't supported in Linux quite yet. You
> might want to try running the MSMP in wine (www.winehq.com) or vmware
> (www.vmware.com).
> 
> MST

I have tried both of these options myself, and found that wine and media
player didnt get along too well.... On the other hand, vmware was ok
appart from severe choppiness in the sound - possibly due to lack of
memory? Anyone else tried this?

ajn

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


** 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.misc) 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-Misc Digest
******************************

Reply via email to