LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Toby Corkindale <tjcorkin@steadycom.com.au>
To : Andrew Pullin <drewp@bigpond.com>
Date: Wed, 05 May 1999 08:38:56 +0000
Re: Couple of strange problems.
Okay, for the first problem, can you help us by doing this:
Re-configure your printer again, and then record all the values you used
here. Also, dump the contents of your /etc/printcap file here as well.
try doing an `echo this is a test >> /dev/lp0` and a `lpr README.TXT` as
well, and see what happens...(replacing lp0 with correct device);
Report on the results here.
Is your HP a postscript compatible printer, or not?
Next, for the second problem, can you remove the XF86Config file, and
recreate it using the XF86Setup or something, and try loading X with
startx. if it still fails, can you `ls -ls /usr/X11R6/bin/X*` and paste
the results in here too. The contents of the RELEVANT sections of the
XF86Config file would be useful too.
Toby
Andrew Pullin wrote:
>
> Hi Guys,
> I posted the below a couple of weeks ago, but it seems
> to have been buried in other stuff. The only response I got
> was the one also below, but I still don't have a
> satisfactory answer to my problems. Thanks to Toby for his
> effort, but if "M$ redefining ascii" or "booting a Sun 3/60"
> gets multiple responses, do you think that a real Linux
> question could get more than 1. I really am still stuck with
> these problems, particularly the printer problem.
> Thanks,
> Andrew.
>
> >I don't know about your first problem, but the second one
> sounds
> >suspiciously like X is no longer SUID root. I'm not sure
> where the suid
> >root is supposed to be though, but maybe someone else will.
> >I don't see how this could really have occured though. But
> it's just a
> >thought that X DOES need to be suid root to access the
> video card
> >directly, and so if a user can't run it, it looks like it
> doesnt have
> >it's root priveleges.
> >
> >Toby
> >
> >Andrew Pullin wrote:
> >>
> >> Hi Guys,
> >> Couple of problems, unrelated on two different
> machines.
> >>
> >> Problem 1.
> >>
> >> Machine running Redhat 5.2, has been running
> perfectly
> >> no problems. Just upgraded video card to a Diamond
> Viper550
> >> AGP card. Was running XFree86 3.1 or whatever was default
> >> with the APC disk, and this didn't like the new Video
> card
> >> so I downloaded the latest X 3.3 and it now runs fine,
> no
> >> problems. Now here is the strange bit, the Printer, an HP
> >> DeskJet 670C, was running fine, but now it will only
> print
> >> Postscript. It will NOT print standard output or a text
> >> file. Went to the printer tool in X, printed PS, ascii to
> >> the port, ie dev/lpt0, this worked fine. Tried to print
> >> ascii test page and the error light on the printer
> started
> >> flashing and no output. Cannot pipe cat text to lp, ie.
> >> cat .bashrc | lpr -lp
> >> weird. Can print PS through Ghostview. I just don't
> >> understand how this can happen when I have not changed
> >> anything remotely to do with the printer. The same
> symptoms
> >> occur if I am running X or not.
> >>
> >> Problem 2.
> >>
> >> Machine is completely isolated from machine 1.
> Machine 2
> >> is an Intel Celeron 333, 128Mb RAM, Diamond Viper 330 AGP
> >> Video card. Installed a virgin copy of Redhat 5.2 from
> the
> >> APC disk. Machine appeared to set up fine, appeared to be
> >> working fine. X runs perfectly under root. Strange
> >> occurrence number 2 - created 1 user in the normal
> fashion,
> >> gave him a passwd etc. Logged in as that user, no
> problems.
> >> That user CANNOT run X. runs startx command and gets the
> >> initial grey screen with a cursor, and then it appears to
> >> hang. Fire off a trusty Ctrl-Alt-F1 and get the following
> >> message :
> >>
> >> The XKEYBOARD keymap compiler (xkbcomp) reports :
> >> > Error bad length in Geometry
> >> > Output File "var/temp/Server-0.xkm" removed
> >> Errors from xkbcomp are not fatal to the X server
> >> Couldn't load XKB keymap, falling back to pre-XKB keymap
> >> xinit : unexpected error 2
> >>
> >> Waiting for X server to shutdown
> >>
> >> O.K. now I expect the last 2 lines were me when I Ctrl-C
> to
> >> kill the process. But how can it work fine for root but
> not
> >> a user in this case. The setup was a virgin install onto
> a
> >> virgin hard disk and was done in exactly the same way as
> I
> >> setup other machines that have no problems. I am a bit
> out
> >> of my depth here so basically help guys.
> >>
> >> Cheers!
> >> Andrew
> >>
> >> --
> >> Check out the LinuxSA web pages at
> http://www.linuxsa.org.au/
> >> To unsubscribe from the LinuxSA list:
> >> mail linuxsa-request@linuxsa.org.au with "unsubscribe"
> as the subject
> >
> >--
> >...Failure is not an option - It comes bundled with Windows
> >
> >--
> >Check out the LinuxSA web pages at
> http://www.linuxsa.org.au/
> >To unsubscribe from the LinuxSA list:
> > mail linuxsa-request@linuxsa.org.au with "unsubscribe" as
> the subject
> >
>
> --
> Check out the LinuxSA web pages at http://www.linuxsa.org.au/
> To unsubscribe from the LinuxSA list:
> mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
--
..I started out with nothing...and I still have most of it left
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page