[SLUG] Re: slug Digest, Vol 24, Issue 35

2008-01-21 Thread dbmoodb
I have a problem printing from an ubuntu gutsy box. I am trying to print to
a scx-4200 printer shared by a debian etch server. My other debian etch
computers can all print and two windows xp boxes can as well. However, the
ubuntu box does not want to print. I have sudo aa-compain ed about cups,
turned off apparmor and it still will not work.  The  error  cupsys provides
is  Can not get the ticket cache for ...blah (where blah is my username).

file=/usr/sbin/cupsd
[16361.151404] audit(1200900536.960:146):  type=1502
operation=inode_permission requested_mask=r denied_mask=r
name=/var/run/samba/unexpected.tdb pid=21447 profile=/usr/sbin/cupsd
[16361.151441] audit(1200900536.960:147):  type=1502 operation=file_mmap
requested_mask=r denied_mask=r name=/var/run/samba/unexpected.tdb
pid=21447 profile=/usr/sbin/cupsd
[16361.243346] audit(1200900536.960:148):  type=1502
operation=inode_permission requested_mask=r denied_mask=r
name=/var/run/samba/unexpected.tdb pid=21447 profile=/usr/sbin/cupsd
[16361.243385] audit(1200900536.960:149):  type=1502 operation=file_mmap
requested_mask=r denied_mask=r name=/var/run/samba/unexpected.tdb
pid=21447 profile=/usr/sbin/cupsd

D [21/Jan/2008:18:49:45 +1100] PID 22418
(/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] CUPS-Get-Printers
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/PDF
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zelda
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zles
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)

On the debian etch server I get the following errors - Jan 21 06:45:16
localhost RECV[5902]: lp: Check_for_missing_files: FAILED 'hfA5$


and
194 process=6197
opening device '/dev/usb/lp0' at 2008-01-21-14:23:31.661 ## A=
[EMAIL PROTECTED] number=194 process=6197
printing job '[EMAIL PROTECTED]' at 2008-01-21-14:23:31.662 ## A=
[EMAIL PROTECTED] number=194 process=6197
processing 'dfA194localhost.localdomain', size 39189, format 'f', IF filter
'none - passthrough' at 2008-01-21-14:23:31.664 ## [EMAIL PROTECTED]
number=194 process=6197
printing finished at 2008-01-21-14:23:31.865 ## [EMAIL PROTECTED]
number=194 process=6197
accounting at end at 2008-01-21-14:23:31.866 ## [EMAIL PROTECTED]
number=194 process=6197
finished '[EMAIL PROTECTED]', status 'JSUCC' at 2008-01-21-14:23:31.867## A=
[EMAIL PROTECTED] number=194 process=6197
[EMAIL PROTECTED]: job '[EMAIL PROTECTED]' printed at
2008-01-21-14:23:31.872 ## [EMAIL PROTECTED] number=194 process=6196
job '[EMAIL PROTECTED]' saved at 2008-01-21-14:23:31.874 ## A=
[EMAIL PROTECTED] number=194 process=6196
lp: Check_for_missing_files: FAILED 'hfA501' lp: no permission to print at
2008-01-21-17:45:16.962 ## A=NULL number=0 process=5902


Oddly enough if i change the permissoins of the other shares i have ( the
actual file permissions) the other computers cannot print either. (they
require to be a user name blah-)
I think that it maybe that nobody or nogroup will not work because nobody
isn't part of the group lp or lpadmin perhaps. I shall test this out.

If anyone else has any ideas please respond.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Problem with new kernel in Ubuntu

2008-01-21 Thread Ken Foskey
My wireless does not work and other random things going wrong.  Booting
with the old kernel works fine.  I have tried the suggestion and also
switch APIC and LAPIC around.

Any suggestions would be great.

[   35.088301] PCI: Using ACPI for IRQ routing
[   35.088306] PCI: If a device doesn't work, try pci=routeirq.  If it
helps, 
post a report
[   35.088320] PCI: Cannot allocate resource region 4 of device
:00:1d.0
[   35.088359] PCI: Cannot allocate resource region 4 of device
:00:1d.1
[   35.088393] PCI: Cannot allocate resource region 4 of device
:00:1d.2
[   35.094344] NET: Registered protocol family 8
[   35.094347] NET: Registered protocol family 20


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: slug Digest, Vol 24, Issue 35

2008-01-21 Thread Melissa Draper

dbmoodb wrote:

I have a problem printing from an ubuntu gutsy box. I am trying to print to
a scx-4200 printer shared by a debian etch server. My other debian etch
computers can all print and two windows xp boxes can as well. However, the
ubuntu box does not want to print. I have sudo aa-compain ed about cups,
turned off apparmor and it still will not work.  The  error  cupsys provides
is  Can not get the ticket cache for ...blah (where blah is my username).



snip logs



Oddly enough if i change the permissoins of the other shares i have ( the
actual file permissions) the other computers cannot print either. (they
require to be a user name blah-)
I think that it maybe that nobody or nogroup will not work because nobody
isn't part of the group lp or lpadmin perhaps. I shall test this out.

If anyone else has any ideas please respond.


Try disabling apparmor on the ubuntu client box.
http://ubuntuforums.org/showpost.php?p=3232328postcount=2

I need to disable it on both client and server to use my older Epson 
multifunction.


--
Sincerely
Melissa Draper

http://www.meldraweb.com

Phone: 0404 595 395
(intl): +61 404 595 395

P.O Box 1412
Lavington, NSW 2641
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: slug Digest, Vol 24, Issue 35

2008-01-21 Thread Melissa Draper

Melissa Draper wrote:
 dbmoodb wrote:

 turned off apparmor and it still will not work.  The  error  cupsys

Whoops, missed this line when reading... :-/

I blame the lack of changing the subject of the email *g*

--
Sincerely
Melissa Draper

http://www.meldraweb.com

Phone: 0404 595 395
(intl): +61 404 595 395

P.O Box 1412
Lavington, NSW 2641
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Problem with new kernel in Ubuntu

2008-01-21 Thread Kelvin Nicholson


 Any suggestions would be great.

[snip]

 [   35.088320] PCI: Cannot allocate resource region 4 of device
 :00:1d.0

[snip]

Maybe isolate exactly what PCI device is acting crazy.  Try a 'lspci -vv
| more' and look on the left side.  What devices come up under 00:1d.0,
00:1d.1, 00:1d.2?

Also, have you tried booting with 'acpi=noirq'?

Doubt this will be of much help, but maybe!

Good luck,

Kelvin


-- 
Kelvin Nicholson
Voice: +886 9 52152 336
Voice: +1 503 715 5535
GPG Keyid: 289090AC
Data: [EMAIL PROTECTED]
Skype: yj_kelvin
Site: http://www.kelvinism.com

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] External modem problem

2008-01-21 Thread Heracles

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Erik,
I'll be ringing my daughter (She lives in Sawtell and I am on Lake
Macquarie) tomorrow evening and post the output from the wvdial log then.
Heracles

Kristian Erik Hermansen wrote:
| On Jan 20, 2008 3:49 PM, Heracles [EMAIL PROTECTED] wrote:
| Recently I purchased a Swann external modem to replace the internal
| modem my daughter uses.
| The modem dials out and starts to negotiate but never completes. The log
| stops at expecting connect. The internal connects (in windows)
|
| Do you have some wvdial output?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHlJ78ybPcBAs9CE8RAgeWAJ4vxF1oIbu7i+xTfwQ1odhg9wGMuACfdcZv
YXcsjvAyVX9avjwDMOecvQ4=
=Hc0Z
-END PGP SIGNATURE-
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Daryl Thompson
Hi 

I have 287Gb of my music still on an external HD in Windows Wma format
in multiply directory's under a top directory of wma
i wish to mass convert these files and do a little tidy up on them
I have 3 main goals to achaive

1. Converting the wma to mp3
2. Removing the wma after converting
3. removing the old desktop.ini files in these directory

i have looked around the net and the best so far is the bash file below.
this will convert the wma but wont handle recursive directory.

Could some one please help me archive my goals

{SNIP}

#!/bin/bash
#
# wma2mp3 v0.12
# by Calum and Void Main
#
# e.g. wma2mp3 myfile.wma
# e.g. wma2mp3 myfile.wma myfile2.wma myfile3.wma
# e.g. wma2mp3 my file.wma my file 2.wma my file 3.wma
# e.g. wma2mp3 *.wma
# e.g. wma2mp3 /directory/containing/wma/files
# e.g. wma2mp3 .
#
# http://voidmain.is-a-geek.net/forums/viewtopic.php?t=407
#
# History:
# 16 May 2003 - v0.1 wma2mp3 script created
# 27 August 2005 - v0.11 -aofile had been deprecated, corrected
# 28 August 2005 - v0.12 Added IFS= -Void
#

# Turn off input field separation so filenames with spaces work
IFS=

#
# Move the conversion process into a function that can
# be called.
# The  makes it so each step must be successful before
# the next step will be done.
#

function wma2mp3 () {
  if [ ! -f $1 ]; then
 echo File $1 not found!
  else
 mplayer -ao pcm:file=${1%%.[Ww][Mm][Aa]}.wav $1 
 lame -h -b 192 ${1%%.[Ww][Mm][Aa]}.wav ${1%%.[Ww][Mm][Aa]}.mp3

 rm -f ${1%%.[Ww][Mm][Aa]}.wav ||
 echo There was a problem with the conversion process!
  fi
}

#
# Not enough information to compute
#
if [ $# -lt 1 ]; then
   echo Syntax: `basename $0` wmaFilename(s)|wmaDirectory
   exit
fi

#
# Directory was passed so convert all wma files in directory
#
if [ $# -eq 1 -a -d $1 ]; then
  for file in $1/*.[Ww][Mm][Aa]
  do
wma2mp3 $file
  done
  exit
fi

#
# One or more wma files were passed, convert them
#
for file in $*
do
  wma2mp3 $file
done
exit

{/SNIP}





regards

Daryl Thompson

Ph : 0408 472 041
E-Mail : [EMAIL PROTECTED]


 


 This email and any attachments are intended only for the addressee and
may contain confidential or privileged information.  If you have
 received this email in error please advise the sender by return email,
  do not use or disclose the contents, and delete the message and any
  attachments.


--


 Please consider the environment before printing this e-mail
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Sam Gentle
On Jan 22, 2008 12:59 AM, Daryl Thompson
[EMAIL PROTECTED] wrote:
 Hi

 I have 287Gb of my music still on an external HD in Windows Wma format
 in multiply directory's under a top directory of wma
 i wish to mass convert these files and do a little tidy up on them
 I have 3 main goals to achaive

 1. Converting the wma to mp3
 2. Removing the wma after converting
 3. removing the old desktop.ini files in these directory

There's an awfully nifty utility called find that you can use
whenever you need to interact with directory trees recursively.

I'll give you an example for your first problem, and the rest should
seem fairly obvious from there:

find -type f -iname '*.wma' -exec wma2mp3 {} \;

Which means find anything in this directory tree that's a file whose
name matches '*.wma' and then execute 'wma2mp3 that file'.

Remember, with great power comes great responsibility! Before you run
any find commands you should first make sure you're doing what you
think you're doing. Especially don't trust find commands given to you
by some random guy from the internet.

Changing -exec blah to -exec echo blah will show you what command
you're about to run on lots and lots of files. You may even want to
copy-paste one of the lines of echo output to your terminal to dry-run
it on just one file.

Don't be too proud to double-check - I'm sure everyone here has a
great story or two about wiping their home directory.

Oh, and as always, man find will bring great enlightenment and happiness.

Sam
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Problem with new kernel in Ubuntu

2008-01-21 Thread Kristian Erik Hermansen
On Jan 21, 2008 2:29 AM, Ken Foskey [EMAIL PROTECTED] wrote:
 My wireless does not work and other random things going wrong.  Booting
 with the old kernel works fine.  I have tried the suggestion and also
 switch APIC and LAPIC around.

What was the old kernel and what is the new kernel?  Have you checked
the changelog?
-- 
Kristian Erik Hermansen
Know something about everything and everything about something.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Kristian Erik Hermansen
On Jan 21, 2008 5:59 AM, Daryl Thompson
[EMAIL PROTECTED] wrote:
 I have 287Gb of my music still on an external HD in Windows Wma format
 in multiply directory's under a top directory of wma
 i wish to mass convert these files and do a little tidy up on them
 I have 3 main goals to achaive

Have you considered OGG instead of MP3?  Check out dir2ogg in Ubuntu if so...
$ sudo aptitude install dir2ogg
$ dir2ogg -d -r -f -g -v /path/to/my/music

 1. Converting the wma to mp3
 2. Removing the wma after converting

dir2ogg can help you .. see above

 3. removing the old desktop.ini files in these directory

Another fun way (be careful)...
find /path/to/my/music -name desktop.ini | while read line; do rm -i
$line; done
-- 
Kristian Erik Hermansen
Know something about everything and everything about something.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Alex Samad
On Tue, Jan 22, 2008 at 01:52:11AM +1100, Sam Gentle wrote:
 On Jan 22, 2008 12:59 AM, Daryl Thompson
 [EMAIL PROTECTED] wrote:
  Hi
 
  I have 287Gb of my music still on an external HD in Windows Wma format
  in multiply directory's under a top directory of wma
  i wish to mass convert these files and do a little tidy up on them
  I have 3 main goals to achaive
 
  1. Converting the wma to mp3
  2. Removing the wma after converting
  3. removing the old desktop.ini files in these directory
 
 There's an awfully nifty utility called find that you can use
 whenever you need to interact with directory trees recursively.
 
 I'll give you an example for your first problem, and the rest should
 seem fairly obvious from there:
 
 find -type f -iname '*.wma' -exec wma2mp3 {} \;

Can I suggest to quote the {} just in case

 find -type f -iname '*.wma' -exec wma2mp3 {} \;


 
 Which means find anything in this directory tree that's a file whose
 name matches '*.wma' and then execute 'wma2mp3 that file'.
 
 Remember, with great power comes great responsibility! Before you run
 any find commands you should first make sure you're doing what you
 think you're doing. Especially don't trust find commands given to you
 by some random guy from the internet.
 
 Changing -exec blah to -exec echo blah will show you what command
 you're about to run on lots and lots of files. You may even want to
 copy-paste one of the lines of echo output to your terminal to dry-run
 it on just one file.
 
 Don't be too proud to double-check - I'm sure everyone here has a
 great story or two about wiping their home directory.
 
 Oh, and as always, man find will bring great enlightenment and happiness.
 
 Sam
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Earlier today, the Libyan government released Fathi Jahmi. She's a local 
government official who was imprisoned in 2002 for advocating free speech and 
democracy.

- George W. Bush
03/12/2004
citing Jahmi, who is a man, in a speech paying tribute to women reformers 
during International Women's Week, Washington, D.C.


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] ubuntu: how to enable and start remote desktop via shell?

2008-01-21 Thread Sonia Hamilton
I'm troubleshooting a computer remotely, and I'm trying to work out how
to enable and start the Gnome built-in remote desktop.

I presume it's using some variant of vnc, but /etc/vnc.conf doesn't seem
relevant...

-- 
Sonia Hamilton
http://SoniaHamilton.wordpress.com
mobile in Mexico: +52-664-165-6914 (sms's preferred)
celular en México: +52-664-165-6914 (prefiero mensajes cortos)



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] New in australia

2008-01-21 Thread Sonia Hamilton

On Mon, 2008-01-21 at 22:10 +1100, Rodolphe wrote:
 Sonia Hamilton wrote:
  
  Hi Rodolphe, welcome to Australia! By gnu/linux compliant internet
  cafe, what do you mean? That they use Linux on their desktops (I don't
  know of any), you can use your Linux laptop to connect via ethernet
  cable or wireless (some in George St near Chinatown), or ...?
  
 
 Yes, you're right, i need to precise my need.
 I look for an internet cafe where the computers run under linux (idealy 
 with gnome :P), but all those i have seen run under xp :(
 So, if anybody know where i can found the holy graal ...

Hi Rodolphe,

You posted to me but I presume to meant to post to the list :-)

I don't know of any Internet cafes in Sydney that run Linux on their
desktops - as you suggest it's the holy grail - maybe others on the list
would know?

I would suggest that if you get desperate for a Linux desktop you could
by a cheap second hand laptop and install a light version of Linux like
Xubuntu http://www.xubuntu.org/ 


-- 
Sonia Hamilton
http://SoniaHamilton.wordpress.com



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Sonia Hamilton
On Tue, 2008-01-22 at 01:52 +1100, Sam Gentle wrote:
 Oh, and as always, man find will bring great enlightenment and
 happiness.

Don't use 'man find' - 'info find' is better.

-- 
Sonia Hamilton
http://SoniaHamilton.wordpress.com
mobile in Mexico: +52-664-165-6914 (sms's preferred)
celular en México: +52-664-165-6914 (prefiero mensajes cortos)



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ubuntu: how to enable and start remote desktop via shell?

2008-01-21 Thread David Gillies
Sonia Hamilton wrote:
 I'm troubleshooting a computer remotely, and I'm trying to work out how
 to enable and start the Gnome built-in remote desktop.
 
 I presume it's using some variant of vnc, but /etc/vnc.conf doesn't seem
 relevant...

/usr/lib/vino/vino-server

-- 
dave.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Erik de Castro Lopo
Sonia Hamilton wrote:

 On Tue, 2008-01-22 at 01:52 +1100, Sam Gentle wrote:
  Oh, and as always, man find will bring great enlightenment and
  happiness.
 
 Don't use 'man find' - 'info find' is better.

Except that 'info' is such a horrible info reader. You might
want to try pinfo instead:

apt-get install pinfo
yum install pinfo

and then:

pinfo find

Erik
-- 
-
Erik de Castro Lopo
-
Perl  : executable line noise
Python: executable pseudo-code
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Jeremy Portzer

Sonia Hamilton wrote:

On Tue, 2008-01-22 at 01:52 +1100, Sam Gentle wrote:

Oh, and as always, man find will bring great enlightenment and
happiness.


Don't use 'man find' - 'info find' is better.


And if you don't like the emacs-y navigation/keybindings of info - 
checkout the pinfo client that accesses the same information, but with 
more standard PC keybindings - e.g. the pgup, pgdown, and arrow keys 
actually work as you might expect.


Sometimes pinfo isn't installed by default, but it's provided in most 
distributions.


--Jeremy
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: slug Digest, Vol 24, Issue 35

2008-01-21 Thread david . lyon


I have seen those problems also.

If you are certain that you have the correct driver (this must
be right) then try supplying a username and password.

It is quite possible that 'nobody' doesn't have the correct
access with samba for the printer share to be able to print.

Within Samba, it checks username/passwords.. even to print..

Cleanest way is to make sure you have the user registered on
the debian etch printing machine with smbpasswd.

In the print administration, click and select the log in with
a user option if you need to test with a know userid/password.

Regards

David

Quoting dbmoodb [EMAIL PROTECTED]:


I have a problem printing from an ubuntu gutsy box. I am trying to print to
a scx-4200 printer shared by a debian etch server. My other debian etch
computers can all print and two windows xp boxes can as well. However, the
ubuntu box does not want to print. I have sudo aa-compain ed about cups,
turned off apparmor and it still will not work.  The  error  cupsys provides
is  Can not get the ticket cache for ...blah (where blah is my username).

file=/usr/sbin/cupsd
[16361.151404] audit(1200900536.960:146):  type=1502
operation=inode_permission requested_mask=r denied_mask=r
name=/var/run/samba/unexpected.tdb pid=21447 profile=/usr/sbin/cupsd
[16361.151441] audit(1200900536.960:147):  type=1502 operation=file_mmap
requested_mask=r denied_mask=r name=/var/run/samba/unexpected.tdb
pid=21447 profile=/usr/sbin/cupsd
[16361.243346] audit(1200900536.960:148):  type=1502
operation=inode_permission requested_mask=r denied_mask=r
name=/var/run/samba/unexpected.tdb pid=21447 profile=/usr/sbin/cupsd
[16361.243385] audit(1200900536.960:149):  type=1502 operation=file_mmap
requested_mask=r denied_mask=r name=/var/run/samba/unexpected.tdb
pid=21447 profile=/usr/sbin/cupsd

D [21/Jan/2008:18:49:45 +1100] PID 22418
(/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] CUPS-Get-Printers
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/PDF
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zelda
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zles
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)

On the debian etch server I get the following errors - Jan 21 06:45:16
localhost RECV[5902]: lp: Check_for_missing_files: FAILED 'hfA5$


and
194 process=6197
opening device '/dev/usb/lp0' at 2008-01-21-14:23:31.661 ## A=
[EMAIL PROTECTED] number=194 process=6197
printing job '[EMAIL PROTECTED]' at 2008-01-21-14:23:31.662 ## A=
[EMAIL PROTECTED] number=194 process=6197
processing 'dfA194localhost.localdomain', size 39189, format 'f', IF filter
'none - passthrough' at 2008-01-21-14:23:31.664 ## [EMAIL PROTECTED]
number=194 process=6197
printing finished at 2008-01-21-14:23:31.865 ## [EMAIL PROTECTED]
number=194 process=6197
accounting at end at 2008-01-21-14:23:31.866 ## [EMAIL PROTECTED]
number=194 process=6197
finished '[EMAIL PROTECTED]', status 'JSUCC' at   
2008-01-21-14:23:31.867## A=

[EMAIL PROTECTED] number=194 process=6197
[EMAIL PROTECTED]: job '[EMAIL PROTECTED]' printed at
2008-01-21-14:23:31.872 ## [EMAIL PROTECTED] number=194 process=6196
job '[EMAIL PROTECTED]' saved at 2008-01-21-14:23:31.874 ## A=
[EMAIL PROTECTED] number=194 process=6196
lp: Check_for_missing_files: FAILED 'hfA501' lp: no permission to print at
2008-01-21-17:45:16.962 ## A=NULL number=0 process=5902


Oddly enough if i change the permissoins of the other shares i have ( the
actual file permissions) the other computers cannot print either. (they
require to be a user name blah-)
I think that it maybe that nobody or nogroup will not work because nobody
isn't part of the group lp or lpadmin perhaps. I shall test this out.

If anyone else has any ideas please respond.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html





--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: [LINK] Sourcing replacement laptop batteries

2008-01-21 Thread John Clarke
On Fri, Jan 18, 2008 at 09:37:31 +1100, Daryl Thompson wrote:

 What is the Web address for Global Batteries please?

It was in Howard's original email: http://global-batteries.com.au/


Cheers,

John
-- 
Science is like sex: sometimes something useful comes out, but that's
not why we're doing it.
  -- Richard Feynman
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Printing

2008-01-21 Thread jam

On Tue, 2008-01-22 at 09:58 +1100, [EMAIL PROTECTED] wrote:
 I have seen those problems also.
 
 If you are certain that you have the correct driver (this must
 be right) then try supplying a username and password.
 
 It is quite possible that 'nobody' doesn't have the correct
 access with samba for the printer share to be able to print.
 
 Within Samba, it checks username/passwords.. even to print..
 
 Cleanest way is to make sure you have the user registered on
 the debian etch printing machine with smbpasswd.
 
 In the print administration, click and select the log in with
 a user option if you need to test with a know userid/password.

Why use samba for any of the printing stuff?
Cups works perfectly, nicely, properly.

I even use cups for windows to print raw to an epson photo printer, the
only missing bit is the ink-level feedback and despite all the PR
epson's win print of photos is better than their linux offering.
(Clearly Visible)
James

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mass converting Gigabites of wma to mp3

2008-01-21 Thread Rick Welykochy

Daryl Thompson wrote:



#
# Move the conversion process into a function that can
# be called.
# The  makes it so each step must be successful before


No, the  will not work as written. It must be used as a conjunction
on one command line, as in the following example:

mplayer blah  lame goop



# the next step will be done.
#

function wma2mp3 () {
  if [ ! -f $1 ]; then
 echo File $1 not found!
  else
 mplayer -ao pcm:file=${1%%.[Ww][Mm][Aa]}.wav $1 
 lame -h -b 192 ${1%%.[Ww][Mm][Aa]}.wav ${1%%.[Ww][Mm][Aa]}.mp3



The above  will not work as intended. Rather, you will see an error:

-bash: syntax error near unexpected token `'



 rm -f ${1%%.[Ww][Mm][Aa]}.wav ||
 echo There was a problem with the conversion process!
  fi
}



HTH

cheers
rick


p.s. as other posters have pointed out, find is your friend



--
_
Rick Welykochy || Praxis Services

Once a new technology starts rolling, if you're not part of the
steamroller, you're part of the road.
 -- Stewart Brand
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] New in australia

2008-01-21 Thread Peter Hardy
On Mon, 2008-01-21 at 16:17 -0600, Sonia Hamilton wrote:
 On Mon, 2008-01-21 at 22:10 +1100, Rodolphe wrote:
  Sonia Hamilton wrote:
   
   Hi Rodolphe, welcome to Australia! By gnu/linux compliant internet
   cafe, what do you mean? That they use Linux on their desktops (I don't
   know of any), you can use your Linux laptop to connect via ethernet
   cable or wireless (some in George St near Chinatown), or ...?
   
  
  Yes, you're right, i need to precise my need.
  I look for an internet cafe where the computers run under linux (idealy 
  with gnome :P), but all those i have seen run under xp :(
  So, if anybody know where i can found the holy graal ...
 
 Hi Rodolphe,
 
 You posted to me but I presume to meant to post to the list :-)
 
 I don't know of any Internet cafes in Sydney that run Linux on their
 desktops - as you suggest it's the holy grail - maybe others on the list
 would know?

The closest I've seen recently was a number of Optus kiosks scattered
around the international terminal offering free Internet access. They
all seem to be powered by Ubuntu, but I only figured that out because of
the one that'd crashed on a boot screen. :-/

 I would suggest that if you get desperate for a Linux desktop you could
 by a cheap second hand laptop and install a light version of Linux like
 Xubuntu http://www.xubuntu.org/ 

Incidentally, Xubuntu on the Eee is a winning combination.

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Adding Comic font to Xvfb FC6

2008-01-21 Thread Peter Rundle

Sluggers,

Just looking for some info on how to add the ttf comic to FC6 so that 
Xvfb will use it.


I've inherited a server that is using html2image to generate page images 
using Xvfb and the resultant images don't look like what the user sees 
on their desktop because the font comic is missing.


I pinched the file comic.ttf from my desktop (FC5) and I've found a 
directory /usr/share/X11/fonts/TTF which seems to contain files like 
luximb.ttf on the server.


So can I just dump the comic.ttf file in there or do I need to run 
some utility to get it to add the font to the list somewhere. I assume 
that I'll need to restart Xvfb.


TIA's

Pete
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html