Ghostscript errors. Why ?

Ghostscript errors. Why ?

Post by Dirk Huckrie » Wed, 21 Dec 1994 18:49:09



Hello All,

I'm running Linux 1.1.54 with all svga options installed.
Whenever I run ghostscript (2.6.1) as root I get the following
error message:

Initializing... Using VGA driver.

Selected SVGAlib resolution: 1024x768x256
Unrecoverable error: rangecheck in setscreen
Operand stack:
    --nostringval--  0  -0.0  true  --nostringval--

As ordinary user I run into this:

Initializing... svgalib: Cannot get I/O permissions.

Can anybody help ?
--

------------------------------------------------------------------------------
 Dirk Huckriede                    

 Computational Chemistry Courseware
 Gorlaeus Laboratories            
 Leiden University                

 P.O. Box    9502                Phone : +31 71 274505            
 2300 RA   Leiden                  Fax : +31 71 274488            

------------------------------------------------------------------------------
"to be or nut^H^H^H -- sh^Gt, how do I delete..^?^?^? Oh No Oh NO^D^D^D -- How
do I get out of this thing anyway^C^C^C Kill it^Z^Z^Z (mumble mumble)
Bus error (core dumped)
------------------------------------------------------------------------------

 
 
 

Ghostscript errors. Why ?

Post by Julio Lopez-Fenn » Thu, 22 Dec 1994 22:07:04


: Hello All,

: I'm running Linux 1.1.54 with all svga options installed.
: Whenever I run ghostscript (2.6.1) as root I get the following
: error message:

: Initializing... Using VGA driver.

: Selected SVGAlib resolution: 1024x768x256
: Unrecoverable error: rangecheck in setscreen
: Operand stack:
:     --nostringval--  0  -0.0  true  --nostringval--

: As ordinary user I run into this:

: Initializing... svgalib: Cannot get I/O permissions.

: Can anybody help ?
: --
[snip]
I had (have) the same problems using a notebook, and
1.- (as root) the problem seems to be in the default resolution,
just set it by hand using the option -r, it worked for me.
2.- (as user) I have not solved it yet but I think the problem is only
finding out the program which must run setuid root, I read something
related with this in a thread concerning doom for svga. Perhaps
as a hint this say something to you,
hopefully
Julio

 
 
 

Ghostscript errors. Why ?

Post by Hubert Schrei » Thu, 29 Dec 1994 23:29:49


: Hello All,

: I'm running Linux 1.1.54 with all svga options installed.
: Whenever I run ghostscript (2.6.1) as root I get the following
: error message:

: Initializing... Using VGA driver.

: Selected SVGAlib resolution: 1024x768x256
: Unrecoverable error: rangecheck in setscreen
: Operand stack:
:     --nostringval--  0  -0.0  true  --nostringval--

: As ordinary user I run into this:

I had this error only once, and could not reproduce it. It might
help to try out other videomodes with the -r switch.

: Initializing... svgalib: Cannot get I/O permissions.

This is because programs accessing (s)vga must be suid root. In
general, this is not a big problem because the program can give
up root priviliges directly after starting, but I don't know if
gs does. If you want to run gs setuid root, you just have to type
chmod +s $(which gs) to your bash (as root, of course). A better
idea would be to use sudo to allow users who need it to run gs
setuid root.

: Can anybody help ?
: --
Hope this helps you.

Hubert.

 
 
 

1. Ghostscript:svgalib: can't open /dev/console...why??

I have installed Linux (Slackware3.5) and it's been working fine,
including X -window and text printing. Now I like to try Ghostscript for
PostScript file printing.  However, when I just type "gs" to load in
interactive mode from xterm console, it complains: svgalib: can't open
/dev/console.

What's wrong with it?

Thank you for your help....

2. MkLinux DR3 and DeskWriter?

3. HELP: Why ghostscript gives a hardcopy of the code?

4. Bind() question

5. Ghostscript: why is it so bad on my printer?

6. eth0 is missing from some ThizLinux files. Cannot detect LAN card 8139

7. Why "xinit: Unknown error (errno 0): Client error."?

8. cold.apps or cold.system for libraries?

9. Ghostscript error

10. Ghostscript Printing Error. Unable to Print in Debian.

11. Display error on ghostscript

12. ghostscript error with a2ps to deskjet

13. Telnet & FTP lag - why why why???