[ale] re: Adobe Acrobat reader won't open file, huh ?....

Keith Hopkins hne at hopnet.net
Wed Oct 20 17:56:45 EDT 2004


Courtney Thomas wrote:
> When I type:
> 
>     acroread filewhatever.pdf
> 
> under Suse9.0, I get....
> 
>     Xlib: connection to  0.0 refused by server
>     Xlib: no protocol specified
>     Error: can't open display 0.0
> 
> What's wrong and how can it be remedied ?
> 
> Appreciatively,
> Courtney
> 
> 

Hey Courtney,

   Check your DISPLAY variable.

keithh at zeus:~> echo $DISPLAY
:0.0
keithh at zeus:~>

   Format should be: hostname:xserver#.screen#

Typically, running on your local desktop, hostname is blank (but the colon is still important!), xserver# is zero, and screen# is zero (or omitted, drop the 'dot').

Try this:
   export DISPLAY=:0
and then run acroread

--
Found in Sydney
   Keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3383 bytes
Desc: S/MIME Cryptographic Signature




More information about the Ale mailing list