Linux-Setup Digest #447, Volume #19 Mon, 21 Aug 00 23:13:11 EDT
Contents:
HOWTO: Upgrade Redhat/Mandrake to XFree86 4.0.1 and keep gdm running ("Patrick
Shomo")
Re: rpm? Ways around it? ("N. McNeill")
Re: Needing help with Samba ("N. McNeill")
Re: HOWTO: Upgrade Redhat/Mandrake to XFree86 4.0.1 and keep gdm running (Anita
Lewis)
FYI: Applix vs. StarOffice vs. WP8 for Linux.... (Arthur Sowers)
Re: My mouse pointer shows a barcode??? (Dave Brondsema)
Re: Needing help with Samba (Tim Johnston)
----------------------------------------------------------------------------
From: "Patrick Shomo" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.misc,comp.os.linux.help
Subject: HOWTO: Upgrade Redhat/Mandrake to XFree86 4.0.1 and keep gdm running
Date: Mon, 21 Aug 2000 20:58:17 -0400
All,
Seen several posts and couldn't find an answer to my own questions.
Figured it out, here's the scoop for those who care:
Task: Upgrade Redhat 6.2 or Mandrake 7.1 to XFree86 4.0.1
Why: Dual-headed support for Matrox G400
Procedures:
Went to xfree86.org and read their 4.0.1 READMEs and install guides.
Well worth the few minutes it takes. Print them out. Using these docs to
determine what bins to pull (from the glibc 2.1 dir on a mirror) I was ready
to go.
First, backup all the right stuff (you will need some of these files,
don't blow this off):
tar cvf /path/to/some/tarball /usr/X11R6 /etc/X11
- or - cpio or whatever works for you.
Reboot and prevent X from starting. At the Lilo prompt:
linux telinit 3 (this is full user mode without X)
Follow the directions for the X 4.0.1 install (running sh ./Xinstall.sh
and follow directions). I let the new install modify all files...you could
probably customize here and save some steps later, but I only had two
go-arounds to play with and it works.
Once the install is complete and you run "XFree86 -configure" for the
first time (again, RTFM to see where I got this), test your X server per the
suggestion output by the config command. It works? Ok, move on. Otherwise,
fix it (can't help you much otherwise -- it worked for me the first time).
Here's where problems creep in:
Bust out of the X "Grey-screen of Life" (Cntl-Alt-Backspace) and take
the XF86Config file you just tested and move it to /etc/X11/XF86Config ...
some of you may need to manually "merge" the old and the new to get past
special setups in displays, etc. As of now you've got a successful X
upgrade. Don't bug the XFree86 developers if this works! Test with startx or
whatnot (bust out when done).
You'll find that gdm does not want to start Gnome sessions or anything
other than TWM. GDM may not even start. This is where most of the complaints
I've seen some from. The fix?
From your backups, restore the following files (told you the backups
were needed):
/usr/X11R6/lib/X11/xdm/Xsession --> /etc/X11/xdm/Xsession
/usr/X11R6/lib/X11/xinit/xinitrc --> /etc/X11/xinit/xinitrc
/usr/X11R6/lib/X11/xinit/Xclients --> /etc/X11/xinit/Xclients (may
not have changed)
Notice that file paths changed between X 3.3.6 and X 4.0.1. Now:
gdm
Choose your session as normal.
Hope it works for you, too.
I'll have details on the G400 dual-head setup soon!
Pat
Keywords: gdm XFree86 4.0.1 Mandrake Redhat upgrade Gnome
------------------------------
From: "N. McNeill" <[EMAIL PROTECTED]>
Subject: Re: rpm? Ways around it?
Date: Mon, 21 Aug 2000 21:23:49 -0400
Kevin Phung wrote:
>
> Hello
> I'm a newbie and I'm wondering if there's a program or a switch in
> rpm which will allow me to install a program without getting a dependency
> flag and then having to install the dependent program
> first. Redhat6.1.
>
> thanks a lot
> --
> Kevin
Try rpm -U --nodeps package.i386.rpm
--
N. McNeill
[EMAIL PROTECTED]
http://linuxexcite.com
------------------------------
From: "N. McNeill" <[EMAIL PROTECTED]>
Subject: Re: Needing help with Samba
Date: Mon, 21 Aug 2000 21:28:58 -0400
Tim Johnston wrote:
>
> Ok, I have found some interesting stuff out with RH6.2.
>
> If I install RH as "Server" then Samba is installed and everything works great!
> If I install RH as "Workstation using KDE" then Samba is not installed and I
> can't figure out how to install it without problems.
>
> Does anyone know why Samba won't install?
> I type "rpm -UvhF samba*.rpm" and it shows all the hash marks and looks like a
> nice install.
> Then I type "rpm -q samba" and it says "package samba is not installed".
>
> I think I've tried every combination.
> Any ideas folks?
>
> Tim Johnston wrote:
>
> > Didn't work. This is very frustrating!
> > I'm going to try to rebuild my rpm DB.
> >
> > Dr. Tu Yu wrote:
> >
> > > Sounds like samba is not installed. As a SU try installing Samba
> > > rpm -UvhF samba*.rpm
> > >
> > > Then you should be able to start samba using /usr/sbin/samba start |
> > > restart | stop
> > >
> > > "Tim Johnston" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]...
> > > > I've installed the Workstation version of Red Hat 6.2 with the KDE and
> > > > I'm needing to get samba up and running. I've read all the samba
> > > > documentation I can get my hands on but I'm stuck. Red Hat's
> > > > documentation says that samba is installed by default. Is this not
> > > > true? Here's what I've tried so far:
> > > >
> > > > 1) At boot time samba is not started. I thought by default it would be
> > > > running? I do not see any running processes relating to samba, i.e. smbd
> > > > or nmbd.
> > > >
> > > > 2) I've tried both of these and they do not work:
> > > > /etc/rc.d/init.d/smb start
> > > > and
> > > > smbd -D and nmbd -D
> > > >
> > > > 3) I looked for the log directory /var/log/samba/ but is does not
> > > > exist.
> > > >
> > > > 4) I see that I have a smb.conf file! Why would I have a smb.conf file
> > > > if samba was not installed? I haven't made any changes yet, I want to
> > > > get the daemons running first and then I'll config them.
> > > >
> > > > 5) I went into linuxconf (Control:Control panel:Control Service
> > > > Activity) and I did not see smb as an availble service in the list for
> > > > activation or deactivation.
> > > >
> > > > 6) I used Red Hat's KPackage (RPM:Applications:System) and I see both
> > > > samba-client and samba-common. Doesn't that mean samba is installed?
> > > >
> > > > 7) I ran rpm -q samba and it says samba is not installed.
> > > >
> > > > 8) I ran testparm /etc/smb.conf and I get:
> > > >
> > > > Load smb config files from etc/smb.conf
> > > > Processing Section "[homes]"
> > > > Processing Section "[printers]"
> > > > Load Services file OK.
> > > > ERROR: lock directory /var/lock/samba does not exist.
> > > >
> > > > Why would RH config my file to point to a dir that does not exist?
> > > >
> > > >
> > > > So is samba installed or not? I can't figure it out!
> > > >
> > > > If I need to install samba could someone give me some dummy instuctions
> > > > on how do do it? I've read the HOW-TO's and make and compile and rpm's
> > > > but I admit it's a bit confusing to me. What's the difference between
> > > > make and compile anyways?
> > > >
> > > > Any help would be greatly appreciated!!!!
> > > >
> > > > Tim Johnston
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
Did you install all 3 packages?
samba-2.0.7-20
samba-client-2.0.7-20
samba-common-2.0.7-20
--
N. McNeill
[EMAIL PROTECTED]
http://linuxexcite.com
------------------------------
From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: comp.os.linux.x,comp.os.linux.misc,comp.os.linux.help
Subject: Re: HOWTO: Upgrade Redhat/Mandrake to XFree86 4.0.1 and keep gdm running
Reply-To: [EMAIL PROTECTED]
Date: Tue, 22 Aug 2000 01:48:53 GMT
On Mon, 21 Aug 2000 20:58:17 -0400, Patrick Shomo wrote:
>All,
>
> Seen several posts and couldn't find an answer to my own questions.
>Figured it out, here's the scoop for those who care:
>
> Task: Upgrade Redhat 6.2 or Mandrake 7.1 to XFree86 4.0.1
> Why: Dual-headed support for Matrox G400
>
> Procedures:
>
> Went to xfree86.org and read their 4.0.1 READMEs and install guides.
>Well worth the few minutes it takes. Print them out. Using these docs to
>determine what bins to pull (from the glibc 2.1 dir on a mirror) I was ready
>to go.
>
> First, backup all the right stuff (you will need some of these files,
>don't blow this off):
>
> tar cvf /path/to/some/tarball /usr/X11R6 /etc/X11
>
> - or - cpio or whatever works for you.
>
> Reboot and prevent X from starting. At the Lilo prompt:
>
> linux telinit 3 (this is full user mode without X)
>
> Follow the directions for the X 4.0.1 install (running sh ./Xinstall.sh
>and follow directions). I let the new install modify all files...you could
>probably customize here and save some steps later, but I only had two
>go-arounds to play with and it works.
>
> Once the install is complete and you run "XFree86 -configure" for the
>first time (again, RTFM to see where I got this), test your X server per the
>suggestion output by the config command. It works? Ok, move on. Otherwise,
>fix it (can't help you much otherwise -- it worked for me the first time).
>
> Here's where problems creep in:
>
> Bust out of the X "Grey-screen of Life" (Cntl-Alt-Backspace) and take
>the XF86Config file you just tested and move it to /etc/X11/XF86Config ...
>some of you may need to manually "merge" the old and the new to get past
>special setups in displays, etc. As of now you've got a successful X
>upgrade. Don't bug the XFree86 developers if this works! Test with startx or
>whatnot (bust out when done).
>
> You'll find that gdm does not want to start Gnome sessions or anything
>other than TWM. GDM may not even start. This is where most of the complaints
>I've seen some from. The fix?
>
> From your backups, restore the following files (told you the backups
>were needed):
>
> /usr/X11R6/lib/X11/xdm/Xsession --> /etc/X11/xdm/Xsession
> /usr/X11R6/lib/X11/xinit/xinitrc --> /etc/X11/xinit/xinitrc
> /usr/X11R6/lib/X11/xinit/Xclients --> /etc/X11/xinit/Xclients (may
>not have changed)
>
> Notice that file paths changed between X 3.3.6 and X 4.0.1. Now:
>
> gdm
>
> Choose your session as normal.
>
> Hope it works for you, too.
>
> I'll have details on the G400 dual-head setup soon!
>
> Pat
>
>Keywords: gdm XFree86 4.0.1 Mandrake Redhat upgrade Gnome
>
I notice that you did not first remove version 3.3.6 and it seems not to
have got in the way at all. So 'rpm -q XFree86' would still yeild 3.3.6
instead of 4.0.1. But I guess that would not be a problem and in fact would
be helpful for when you install an rpm that requires XFree86. It will then
see that X is there and will be happy.
I used rpms and first uninstalled 3.3.6, but your way does sound much
easier. I'll have to try it to see if xboing will work when I do it that
way. I lost the ability to run it when I tried it with rpms.
Anita
------------------------------
From: Arthur Sowers <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.hardware,comp.os.linux.misc
Subject: FYI: Applix vs. StarOffice vs. WP8 for Linux....
Date: 22 Aug 2000 02:21:27 GMT
FYI, I'm a very newbie newbie, but have been dabbling with Linux since
Summer of '99 (see footnote 1, below on experience summary). I got into
Linux because I was disgusted with Win9X, by the way.
Mainly I need a wordprocessor and a spreadsheet (something like Excel, if
possible) and I need that to get work done. The OS and tinkering with it
is going to be a long, drawn out hobby for me.
I bought WP8 for Linux (Corel's) at a local Sam's club. I bought Sun's
CD-ROM disk for $10 with StarOffice 5.1 on it (it has versions of SO for
Win98 [and I have one copy installed as a Win98 ap], Linux, Solaris, and
OS/2, by the way), and just this weekend, I decided to spring for Applix
5.0 (an office suite for Linux) at Best Buy (must have been on sale, the
cash register rang it up for $62) to see how well it ran.
All of my boxes are Red Hat 5.2 except one; that one is RH 6.2. Most are
200 mHz, one is 400 mhz. All are 32 MB ram. HDs are 1 gig, or 1 gig
partitions. I have RH 5.2 running on a 486dx-33 with 8 MB of RAM, by the
way. The fvwm window manager comes up rather slowly after I type
"startx" at the prompt, but otherwise is a nice box. Once the window
manager is up and running, the aps-games-utilities run just a little
slowly.
I installed SO and WP on several Linux boxes, and Applix on both a 5.2 and
a 6.2 box.
The Applix install had some glitches. But it launches very fast and exits
very fast. HOWEVER, I had a bunch of windows open, then closed them before
exiting the whole ap and shortly afterwards noticed in the terminal window
that I used to launch the ap a series of warnings regarding "unexpectedly
destroyed windows" AND a 1.5 MB "core" file in my root directory with a
buch of gibberish in it. "core" files suggest that something went wrong
somewhere and that bothered me. I do not see an uninstaller for Applix.
Applix required an upgrade or override of some glibic libraries. I chose
the override route. Its a gtk+ application, whatever that means but it
worried me a little. A launches by typing "applix" at the prompt. The
manuals for Applix are not too bad, but are certainly not thick. They
show, in the "install" booklet, a long list of fixed bugs from ver 4.0,
which is nice. But there is almost nothing there on "trouble-shooting" or
explaining a few things on options & routes of installing the ap.
SO launches (and exits) very slowly but has not given me any
"trouble" like a core file or warning messages anywhere (I have had
crashes under win98 and I have read in a few places now where crashes can
take place in SO with complex operations). The install of SO (now on five
boxes) has always been flawless. As I recall, there is an uninstaller for
SO. SO has a low grade web browser (Id rather use something else) and a
Newsgroup client that crashed on me several times (from Win98, by the
way). The email client worked however. SO is launched by typing
"./soffice" at the prompt. (you can also click on the menu icon on the KDE
desktop). Its nice that you can download SO, for any of the four OSes,
from Sun's website, for free. SO ver 5.2 is on a CD-ROM (with other
aps/games/utilities) for, I think, this month's issue of "Maximum Linux."
WP launches (and exits) faster than SO but slower than A. Its also quite
good and well behaved (i.e. no core files generated, no error messages
generated in the launch terminal screen. WP is just a word processor, but
if you don't need math functions or cell formulas, you can create
"tables" in grids as a low functionality "spreadsheet" in WP. WP launches
by typing "./wp" at the prompt in the "bin" directory. I had a chance to
use the uninstaller in WP8 to remove WP from a directory I did not want it
in and then reinstall it into a directory I did want it in, and the
uninstaller worked flawlessly. No residual files or directories.
I've configured printing for SO and WP8 at least three of the RH 5.2 boxes
and it needs about the same amount of tinkering as for Windows to get a
printer to run.
I expect to spend a fair bit more time evaluating these three packages
before getting set up with one of them with my regular work.
Arthur E. Sowers
----------------------------------------
| Science career information websites: |
| http://freeshell.org/~advocacy |
| http://www.magpage.com/~arthures |
----------------------------------------
| More 'public interest' websites... |
| ...subject is embedded in URL: |
| http://freeshell.org/~layoffs |
| http://freeshell.org/~golinux |
| (more in future) |
----------------------------------------
footnote:
I'd like to put in a word for Red Hat 5.2 and 6.2: I've put 5.2 on six
boxes so far, including the slow 486 with 8 MB of ram, without a failure
or glitch (most will boot off their HD, two need a boot disk [the trick I
learned is to make two native partitions, one is a small "/boot" native
partition and the second is a large root "/" partition during the install
setup]). Most other distributions I've tried sometimes crash on install,
or always crash on install. AND, nobody is paying me to say this. I have
no relation with Red Hat or anyone who works there. I always used the
"text-based" install. Sometimes the graphics installs don't work.
I've also had my share of screw-ups with Linux such as getting into stuff
without knowing how to get out of it, or doing stupid things at the
command line. And, otherwise having to reinstall Linux a few times. It
helps to read a good book on Linux/Unix and at least be aware of those
little details that can blow up your install.
------------------------------
From: Dave Brondsema <[EMAIL PROTECTED]>
Crossposted-To: linux.help
Subject: Re: My mouse pointer shows a barcode???
Date: Tue, 22 Aug 2000 02:39:02 GMT
In article <[EMAIL PROTECTED]>,
"Brian Lucas Kaczmarek" <[EMAIL PROTECTED]> wrote:
> Ok, this one's new... I was reconfiguring the XWin settings to work
with a
> new monitor. This went fine. However, somewhere along the lines, I
messed
> something up with the mouse. The mouse works just fine, with the
exception
> that instead of a pointer, it's a small barcode about an inch in
width and
> length. Any ideas? I have a feeling that I changed the default path
of the
> mouse settings, but I wouldn't think the mouse would work at all if
that was
> the case. Any ideas or suggestions would be greatly apprectiated.
Thanks!
That happened to me when testing different resolution and bits of color
for my monitor. Try selecting lower bits/resolution.
>
>
--
Dave Brondsema
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Tim Johnston <[EMAIL PROTECTED]>
Subject: Re: Needing help with Samba
Date: Tue, 22 Aug 2000 21:55:04 -0700
Thanks for the replys-
I have tried installing the samba with serveral different options and then I gave up.
I moved over to my RH6.2 Linux server and everything works great!
I can't figure out why the basic install of the workstation has so many problems with
samba. The basic server installation has samba working fine.
Thanks again,
Tim
N. McNeill wrote:
> Tim Johnston wrote:
> >
> > Ok, I have found some interesting stuff out with RH6.2.
> >
> > If I install RH as "Server" then Samba is installed and everything works great!
> > If I install RH as "Workstation using KDE" then Samba is not installed and I
> > can't figure out how to install it without problems.
> >
> > Does anyone know why Samba won't install?
> > I type "rpm -UvhF samba*.rpm" and it shows all the hash marks and looks like a
> > nice install.
> > Then I type "rpm -q samba" and it says "package samba is not installed".
> >
> > I think I've tried every combination.
> > Any ideas folks?
> >
> > Tim Johnston wrote:
> >
> > > Didn't work. This is very frustrating!
> > > I'm going to try to rebuild my rpm DB.
> > >
> > > Dr. Tu Yu wrote:
> > >
> > > > Sounds like samba is not installed. As a SU try installing Samba
> > > > rpm -UvhF samba*.rpm
> > > >
> > > > Then you should be able to start samba using /usr/sbin/samba start |
> > > > restart | stop
> > > >
> > > > "Tim Johnston" <[EMAIL PROTECTED]> wrote in message
> > > > news:[EMAIL PROTECTED]...
> > > > > I've installed the Workstation version of Red Hat 6.2 with the KDE and
> > > > > I'm needing to get samba up and running. I've read all the samba
> > > > > documentation I can get my hands on but I'm stuck. Red Hat's
> > > > > documentation says that samba is installed by default. Is this not
> > > > > true? Here's what I've tried so far:
> > > > >
> > > > > 1) At boot time samba is not started. I thought by default it would be
> > > > > running? I do not see any running processes relating to samba, i.e. smbd
> > > > > or nmbd.
> > > > >
> > > > > 2) I've tried both of these and they do not work:
> > > > > /etc/rc.d/init.d/smb start
> > > > > and
> > > > > smbd -D and nmbd -D
> > > > >
> > > > > 3) I looked for the log directory /var/log/samba/ but is does not
> > > > > exist.
> > > > >
> > > > > 4) I see that I have a smb.conf file! Why would I have a smb.conf file
> > > > > if samba was not installed? I haven't made any changes yet, I want to
> > > > > get the daemons running first and then I'll config them.
> > > > >
> > > > > 5) I went into linuxconf (Control:Control panel:Control Service
> > > > > Activity) and I did not see smb as an availble service in the list for
> > > > > activation or deactivation.
> > > > >
> > > > > 6) I used Red Hat's KPackage (RPM:Applications:System) and I see both
> > > > > samba-client and samba-common. Doesn't that mean samba is installed?
> > > > >
> > > > > 7) I ran rpm -q samba and it says samba is not installed.
> > > > >
> > > > > 8) I ran testparm /etc/smb.conf and I get:
> > > > >
> > > > > Load smb config files from etc/smb.conf
> > > > > Processing Section "[homes]"
> > > > > Processing Section "[printers]"
> > > > > Load Services file OK.
> > > > > ERROR: lock directory /var/lock/samba does not exist.
> > > > >
> > > > > Why would RH config my file to point to a dir that does not exist?
> > > > >
> > > > >
> > > > > So is samba installed or not? I can't figure it out!
> > > > >
> > > > > If I need to install samba could someone give me some dummy instuctions
> > > > > on how do do it? I've read the HOW-TO's and make and compile and rpm's
> > > > > but I admit it's a bit confusing to me. What's the difference between
> > > > > make and compile anyways?
> > > > >
> > > > > Any help would be greatly appreciated!!!!
> > > > >
> > > > > Tim Johnston
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > > >
>
> Did you install all 3 packages?
> samba-2.0.7-20
> samba-client-2.0.7-20
> samba-common-2.0.7-20
>
> --
> N. McNeill
> [EMAIL PROTECTED]
> http://linuxexcite.com
------------------------------
** 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
******************************