I am running Debian woody/sid, and noticed that kghostview could not display ps or pdf files (would produce error "Unknown device: x11"). I thought this was odd, as certainly the gs package I am using has X11 support (gs 6.51 from sid). I then noticed it worked fine if I was root. For some reason, the devices available to gs are different dpending on whether I am logged in as a user, or logged in as root, i.e.,
linuxbox:/# gs -h GNU Ghostscript 6.51 (2001-03-28) <snip> Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF Available devices: x11alpha bbox x11 and so on, but as a user, [EMAIL PROTECTED]:~$ gs -h GNU Ghostscript 6.51 (2001-03-28) <snip> Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF Available devices: bmpmono bmpgray and so on, with only about 1/2 of the devices that showed up when the command was run as root. Is this supposed to be like this? Why would the devices available be different? How do I give users access to the same gs devices as root? As it is, the result is that Kghostview only works if you are root. I am not sure if this is a Kghostview problem, a ghostscript problem, a packaging problem, or just a configuration problem specific to my machine, so apologize in advance if this isn't really the right group to ask this question. Bruce