Re: [SLUG] 6th of a dozen questions

From: Andrew Wyatt (awyatt@bbsgamers.com)
Date: Tue Dec 18 2001 - 05:37:43 EST


> root@linux:/ > xsane
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
>
> Gtk-WARNING **: cannot open display: :0
>
> Going back and checking "lsmod" I see that now the high level module
> "sg" has also been loaded as a result of that command. I have done a
> "chmod a+rw /dev/scanner" also thinking that this message may have
> something to do with permissions,
>

I'm going to guess that you did a su before you ran xsane. before you su
tell X "cd;xhost +" then su (if you aren't suing, you still may need to do
that, as xsane may run as root.

Andrew



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:16:17 EDT