| Author |
Message |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Wed 18 Mar 2009, 17:53 Post subject:
|
|
With regard to my being unable to print, this is the error message CUPS throws up:
/usr/lib/cups/filter/foomatic-rip-hplip failed
Does this help anyone point me in the right direction?
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
Flymo

Joined: 12 Jul 2008 Posts: 4 Location: Mandurang VIC or Bedford UK if not happily afloat
|
Posted: Wed 18 Mar 2009, 18:13 Post subject:
NOP413 solves NetGear WiFi endryption |
|
Thanks indeed!
NOP413 works exceptionally well on our P3-700 laptop with 256M RAM, love the enhancements, and the big bonus is that (finally, after days of struggling) we have WiFi with full WPA encryption working under Linux. No luck with Puppy412, Xubuntu, Mint, eLive, OzOS, OpenGeu, Fluxbuntu or Slitaz.`
NetGear WG111v2 (RTL8187) on USB 1.1 connected to 2Wire 2701 ADSL router and BigPond - works flawlessly without WEP/WPA in varii Linuxes, only works with NOP413 (& Win2K/XP) when encryption is enabled. Go figure.....
So... we saved that configuration real quick! Reboots and just works. Thanks!
Means we can max up the power and log on securely from any room in the house, at last (yes, even the smallest room....) <grin>
May have been finger trouble on my part, in which case thanks for the lucky-Puppy effect.
Keep up the great work - most impressive.
|
|
Back to top
|
|
 |
dansole
Joined: 08 Feb 2009 Posts: 2 Location: Ravenshoe, QLD
|
Posted: Wed 18 Mar 2009, 18:54 Post subject:
nop 412 to 413 upgrade desktop problem |
|
I'm loving nop, just having a small problem with the desktop though.
Since upgrading from 412 to 413 the desktop doesn't render properly at startup, it's all black until I open and close windows then the background shows up but no icons.
right-click windows also doesn't work.
I dont know where to start to diagnose this problem so any kind of help at all would be greatly appreciated.
thanks
|
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Wed 18 Mar 2009, 20:43 Post subject:
|
|
Hmmm ...
| DaveS wrote: |
...
/usr/lib/cups/filter/foomatic-rip-hplip failed
...
|
| DaveS wrote: |
...
CUPS-PDF "Unable to open file "/var/spool/cups/d00016-001" - Permission denied"
Laserjet (Default Printer) "Unable to open file "/var/spool/cups/d00013-001" - Permission denied"
HP4480 "Unable to open file "/var/spool/cups/d00011-001" - Permission denied"
|
I'll grab a copy of hplip and see what I can do ... It seems that most cups issues are with HP all-in-one drivers ... This may take a while to get sorted out ...
Rgds
|
|
Back to top
|
|
 |
davesurrey
Joined: 05 Aug 2008 Posts: 1201 Location: UK
|
Posted: Wed 18 Mar 2009, 21:45 Post subject:
|
|
I notice that the menu editor that was in NOP 412 has gone in 413. I believe it'a a general problem in the new xfce4.6 that there isn't an editor and there's unlikely to be one until the next version! I read that the current menu structure may even be hard coded!
I really don't like the menu structure that I have (eg picassa has appeared in "Other") so how can we edit the menus and add icons using the CLI?
If that's not do-able fairly easily then I guess I'll have to revert back to NOP 412 which would be a shame.
Dave
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Wed 18 Mar 2009, 21:59 Post subject:
|
|
Here is my (limited) understanding of the CUPS issue. The CUPS developers were concerned about potential security issues with external filters like those used by HPIJS or PNM2PPA. If the user was logged in as root and those programs had been compromised, then the whole system was exposed.
There is a reference somewhere in the CUPS documentation to the effect that if the user is actually logged in as root, they are then automatically re-logged in as "nobody".
If this is true, then Puppy's requirement to log into CUPS would be irrelevant if the user has a printer that requires an additional filter. Is there anyone out there who has tested 4.2 with such a printer?
|
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Thu 19 Mar 2009, 00:51 Post subject:
|
|
Hmmm ...
| rcrsn51 wrote: | .....
If the user was logged in as root and those programs had been compromised, then the whole system was exposed. |
Basically, yes ... that was the concern. It's a major concern since cups is being used in big enterprises.
| Quote: | | There is a reference somewhere in the CUPS documentation to the effect that if the user is actually logged in as root, they are then automatically re-logged in as "nobody". |
Not quite right. The login remains as root. Cupsd also runs as root, unless one tries to force user root in cupsd.conf. In that case, cups runs as nobody. There're root checks in many parts of cups that does this. The direct backend has one exception that allows it to run as root. This is employed in cups-139 pet since it is officially documented. The same is used in puppy4.2rc2 onwards ...
| Quote: | If this is true, then Puppy's requirement to log into CUPS would be irrelevant if the user has a printer that requires an additional filter.
..... |
If you meant the web interface login, then it is a different matter. The web login only wants to know who is coming in to mess with it, period. It is not used to execute backends or filters.
If you meant puppy boot login, then it depends on what kind of resources is affected (files/folders/process/etc/etc). Since puppy is root owned, anything else running as non-root looses to root. Even when provisions are made for non-root, if some other process is running as root and access the same resources then those provisions may get overriden. That was the issue with '/dev/lp0 permission denied errors' back then.
The key is to make them runs as root (where required) in a controlled manner. Also, I've made provisions that allows cups access lp+usb/lp device nodes in a consistent manner. All these already solves most cups internal issues on puppy. Gutenprint was a bonus that works out-of-the-box with cups-1.3.9.
I would've like to solved hplip stuffs back then too, but most printers I've encountered and have access to does not require hplip or works just fine with cups+gutenprint.
The problems that I'm seeing nowadays are external filters which cups has no direct control such as hplip. It seems that hplip is designed to work with cups and implements the same security concept. So, that'll give some ideas where to start ...
I've just grabbed hplip sources. I'll take a peek this weekend when I've more time.
Rgds
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Thu 19 Mar 2009, 02:46 Post subject:
|
|
I also do not understand how menu works now
there are files in /etc/xdg/xfce4/desktop with registered categories for menu
but there was also something in /root/.config in xfce4 .4.2....
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Thu 19 Mar 2009, 02:46 Post subject:
|
|
I also do not understand how menu works now
there are files in /etc/xdg/xfce4/desktop with registered categories for menu
there was also something in /root/.config in xfce4 .4.2....
but now the menu structure is in /usr/share/desktop-directories where menu structure for JWM and ICEWM is situated
( see files with icons)
i think it's easier
Last edited by magerlab on Thu 19 Mar 2009, 03:04; edited 1 time in total
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Thu 19 Mar 2009, 02:59 Post subject:
|
|
| Patriot wrote: |
I've just grabbed hplip sources. I'll take a peek this weekend when I've more time.
Rgds |
I appreciate you taking the time. Interestingly, the driving force for me wanting this to work is the Opera 10 suite, which seems to work so well now, rendering web pages very cleanly (except this one http://livecam.courchevel.com/index.php?langue=2)
I am getting used to the browser/mail systems being built in to a single interface too.........
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
Advnaser
Joined: 18 Feb 2009 Posts: 2
|
Posted: Thu 19 Mar 2009, 04:17 Post subject:
|
|
Great pupplet. NOP 413 is the best I've seen so far. Keep the good work.
The bulk rename utility that comes wih NOP 413 does not work. Also, I tried my luck with Xaralx+Imagemagick637_413.sfs(renamed) but failed. However, this sfs works fine with NOP 412.
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Thu 19 Mar 2009, 04:48 Post subject:
|
|
bulk rename is in /usr/libexec not in /usr/local/libexec
so just correct the line in /usr/share/applications/Bulk Rename file
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
gray

Joined: 23 Feb 2007 Posts: 313 Location: Adelaide - South Australia
|
Posted: Thu 19 Mar 2009, 07:12 Post subject:
me n u |
|
Editting the menus is quite easy - just not as easy as it would be if the xdg menu system was fully implemented. See http://wiki.xfce.org/howto/customize-menu
Just copy the /etc/xdg/menus/xfce-applications.menu to /root/.config/menus and edit. The root copy overrides the deault in /etc/xdg/menus. The menu file sets up the categories in the menu and then the applications each have an appname.desktop file in /usr/share/applications. The .desktop text file specifies the category to put the app under and the icon.
Bulk rename doesnt work ? oh bu***r. Probably going to need an R1 update to 413 soon at this rate (hopefully after Patriot has solved the HPLIB problem for CUPS).
Lobster: I have uploaded an sfs of OpenOffice 3.01 to puppylinux.asia with JRE included. It is 136 Mb as it uses the lzma squash fs - that means it can only be used with NOP 413 or Fatdog ( or wows unnamed pup ?)
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Thu 19 Mar 2009, 07:38 Post subject:
|
|
-"Bulk rename doesnt work ? oh bu***r."
it DOES work
see my post above
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
davesurrey
Joined: 05 Aug 2008 Posts: 1201 Location: UK
|
Posted: Thu 19 Mar 2009, 08:35 Post subject:
|
|
gray:
1. I just looked at the files for editing the menus and don't see how I can move an application from one category to another.
eg I have added picassa.sfs which shows up under Others category but want to move it to Graphics. Can't see how to do that.
I assume deleting categories is trivial and making them is just adding to the file using the correct syntax.
2. Over in the pwidgets section we have been trying to get pwidgets working in NOP413. So if others are interested then the tweaks are there (except for analog-clock so far.)
3. Thanks for the OO-301.sfs
Cheers
Dave
|
|
Back to top
|
|
 |
|