[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libusb



On Fri, 07 Oct 2011 18:05:41 +1100
Scott Ferguson <prettyfly.productions@gmail.com> wrote:

> On 07/10/11 15:23, Weaver wrote:
> > On Thu, 6 Oct 2011 14:49:24 +0000 (UTC)
> > Camale�n <noelamac@gmail.com> wrote:
> > 
> > <snip>
> > 
> >>>> libusb++-dev
> > 
> > O.K., I've installed libusb-dev, but also libcupsimage2-dev which is
> <snipped>
> 
> 
> > 
> > Further, when I attempt, as root, to call up hp-setup to configure
> > it that way, I get:
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > weaver@192-168-1-2:~$ su
> > Password: 
> > root@192-168-1-2:/home/weaver# hp-setup
> > 
> > HP Linux Imaging and Printing System (ver. 3.11.10)
> > Printer/Fax Setup Utility ver. 9.0
> > 
> > Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
> > This software comes with ABSOLUTELY NO WARRANTY.
> > This is free software, and you are welcome to distribute it
> > under certain conditions. See COPYING file for more details.
> > 
> > No protocol specified
> > hp-setup: cannot connect to X server :0.0
> > root@192-168-1-2:/home/weaver# 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Which appears to be another issue again.
> > So, what is happening here?
> 
> Don't run hp-setup as root is what I should have said (cannot connect
> to X server as weaver owns it).

Gotcha!
> 
> > 
> > I tried to resolve the permissions issue, but I'm just getting into
> > CLI and couldn't make heads or tails of anything. I tried all sorts
> > of command combinations for a period of about a week, but the
> > computer basically said 'Go away, you're too stupid and I don't
> > want to deal with you'. As lpadmin doesn't seem to be a package, as
> > such, I'm unable to use a gui file manager like Thunar and change
> > permissions through 'properties' which is how I've been doing it up
> > till now.
> > 
> > I wouldn't have a clue about the other situation.
> 
> Is root a member of lpadmin? No matter - you should be doing hp-setup
> as weaver (who is).
> 
> > Where to from here?
> > Regards and thanks,
> > 
> > Weaver.
> > 
> 
> Sorry about that - it occurred to me *after* posting.
> 
> Cheers
> 
> 



-- 
"In a world without walls and fences, 
what need have we for Windows or Gates?"
-Anon.


Reply to: