Re: [gentoo-user] Re: Permissions of /etc/sudoers

2009-02-10 Thread Heiko Wundram
Am Montag 09 Februar 2009 14:15:35 schrieb Nikos Chantziaras:
 Heiko Wundram wrote:
  Am Montag 09 Februar 2009 13:37:31 schrieb Nikos Chantziaras:
  Stroller wrote:
  I install sudo, give my user wide sudo rights and then set
  PermitRootLogin no in /etc/ssh/sshd_config.
  (Critique of this measure welcomed).
 
  Since Hung already answered about the other problem, I'll just comment
  on this.
 
  It's a bad idea if the machine is open to the Internet, especially since
  it's easy to simply su - or sudo as a normal user.
 ...
 Er, didn't I actually say the same?  If other people have network access
 to the machine, disable root.  You misunderstood something.

Err, no, you didn't say the same, at least not considering your quote (I 
didn't read the OP):

Reading the above, you said that PermitRootLogin no is a bad idea (i.e., 
disabling root login via SSH is a bad idea), whereas I said the exact opposite 
(and you meant the exact opposite).

But, as you meant the same as me, forget what I said or just take my rant as a 
clarification of your point. ;-)

-- 
Heiko Wundram
Gehrkens.IT GmbH

FON 0511-59027953 | http://www.gehrkens.it
FAX 0511-59027957 | http://www.xencon.net

Gehrkens.IT GmbH
Strasse der Nationen 5
30539 Hannover

Registergericht: Amtsgericht Hannover, HRB 200551
Geschäftsführer: Harald Gehrkens, Daniel Netzer


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-10 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Kazantsev wrote:
 On Mon, 09 Feb 2009 19:50:04 +0100
 Johan Blåbäck johan.bluecr...@gmail.com wrote:
 
 I had noticed this problem w/ my laptop where some usbdevices dont show
 up until a few seconds later than when the init is running. So I added a
 'sleep 10' to the init, and what I got was

 - - 10 s sleep
 - - during these I get a messege: sda: sda1 sda2 (this is the bootable
 usb-key)
 - - cryptsetup segfaults
 - - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
 - - ls -l DEv/hd* gives '/dev/hda1'

 How is this possible? Shouldn't it show sda, sda1 and sda2 together with
 hda and hda1? Why are these missing?
 
 Why should it? Do you have full-fledged udev on initrd?
 I've always created them by hand with mknod or just copied from a
 working system - you know which ones you'll need, anyway.
 
 And I've had segfaults with usb hdd too, as I recall, but if you put
 cryptsetup in a 'while true' loop it'll prompt for passphrase / mount
 device as soon as it'll be detected.
 

True. I forgot that I just created the hda1 node. I figured it out
anyway. What I was missing was some IDE options in the kernel. Thanks
for the help all.

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmROPgACgkQ82oqndqg+437rACcCq0Usa21m4Cmndpp1b7+xPki
MKMAniVr+1GS5ZTCa9JqrvHja8O4xxV1
=OrNi
-END PGP SIGNATURE-



[gentoo-user] Re: KDE4.2 compile problem

2009-02-10 Thread Nikos Chantziaras

Dirk Uys wrote:

But when I try to start KDE4.2 (using kdm), the screen blanks out a
few times while kde is loading (the spash screen being displayed) and
then I briefly see a malformed desktop (the bottom of the taskbar
wraps around to the top of the screen) and then just a black screen.

In /var/log/messages, something about plasma crashing is reported,
can't remember and I'm not at the PC now, but nothing very
informative.


The screen flashes are an indication of trying to enable desktop effects 
(compositing.)  I think KDE 4.2.0 tries to enable them by default, but 
it seems the auto-detection of your graphics card's capabilities is 
failing.  Would be good if you can file a bug report about on bugs.kde.org.





Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Stroller


On 10 Feb 2009, at 04:59, Saphirus Sage wrote:

...  I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.


Canonical is Ubuntu.

Stroller.





[gentoo-user] Sandbox Violation

2009-02-10 Thread Thomas Kahle
Hi everyone,

recently I killed a running merge of app-emacs/auctex with C-c in the
shell. Now after that I am not able to install the package anymore. I
get a sandbox when kpathsea is run. 

Hints anybody ?
Thanks.

Here's a snippet of the build log:


kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi
600 cmtt9
ACCESS DENIED  mkdir: /var/cache/fonts/pk/ljfour/public/cm   
mkdir: cannot create directory
`././var/cache/fonts/pk/ljfour/public/cm': Permission denied
mktexpk: /usr/share/texmf/web2c/mktexdir
/var/cache/fonts/pk/ljfour/public/cm failed.  
kpathsea: Appending font creation commands to missfont.log. 
   
(see the transcript file for additional information)
   
!pdfTeX error: /usr/bin/pdflatex (file cmtt9): Font cmtt9 at 600 not
found 
 == Fatal error occurred, no output PDF file produced! 
   
make[2]: *** [preview.pdf] Error 70 
   
make[2]: Leaving directory
`/var/tmp/portage/app-emacs/auctex-11.85/work/auctex-11.85/preview/latex'
make[1]: *** [texmf] Error 2

make[1]: Leaving directory
`/var/tmp/portage/app-emacs/auctex-11.85/work/auctex-11.85/preview'  
make: *** [all] Error 2 

 *  

 * ERROR: app-emacs/auctex-11.85 failed.

 * Call stack:  

 *   ebuild.sh, line   49:  Called src_compile  

 * environment, line 2860:  Called die  

 * The specific snippet of code:

 *   emake || die emake failed;   

 *  The die message:

 *   emake failed   

 *  

 * If you need support, post the topmost build error, and the call
   stack if relevant.   
 * A complete build log is located at
   '/var/tmp/portage/app-emacs/auctex-11.85/temp/build.log'. 
 * The ebuild environment file is located at
   '/var/tmp/portage/app-emacs/auctex-11.85/temp/environment'.
 *  

--- ACCESS VIOLATION SUMMARY
---
LOG FILE /var/log/sandbox/sandbox-8791.log


VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status  
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path   
FORMAT: C - Command Line 

F: mkdir
S: deny 
P: ././var/cache/fonts/pk/ljfour/public/cm
A: /var/cache/fonts/pk/ljfour/public/cm   
R: /var/cache/fonts/pk/ljfour/public/cm   
C: mkdir ././var/cache/fonts/pk/ljfour/public/cm 



-- 
Thomas Kahle

The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?


pgpmU5pZnzUHl.pgp
Description: PGP signature


Re: [gentoo-user] seamonkey helper apps

2009-02-10 Thread Paul Hartman
On Mon, Feb 9, 2009 at 9:31 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I use to listen to my voice mail, via mplayer and seamonkey.
 I setup mplayer to play voice-message.wav and it (use to)
 worked beautifully.

 Now I cannot get it to work. Any suggestion as to a simple app.
 I can set up as a helper application in seamonkey to play .wav
 files?

 The file command tells me this about the voice-message.wav file
 sent to me from vonage:

 file voice-message.wav
 voice-message.wav: RIFF (little-endian) data, WAVE audio,
 ITU G.711 mu-law, mono 8000 Hz

 ideas?


 James

I also have Vonage and use Seamonkey and everything is working okay
for me. I'm using the gecko-mediaplayer plugin, but opening with
gmplayer or something works too.

Paul



[gentoo-user] Re: Sandbox Violation

2009-02-10 Thread Nikos Chantziaras

Thomas Kahle wrote:

Hi everyone,

recently I killed a running merge of app-emacs/auctex with C-c in the
shell. Now after that I am not able to install the package anymore. I
get a sandbox when kpathsea is run. 


Just a shot in the dark, but try this as root:

  rm -rf /var/tmp/portage/*

and then emerge again.  Please type the above command very carefully; if 
you introduce a space by mistake it will be not good :P





[gentoo-user] How to check a terminal session remotely

2009-02-10 Thread James Stull
Here's my problem, lets say last night I start a rather long emerge in an
xterm window or in a separate session like Ctrl+Alt+F2 or whatever. The next
day I'm at work or a friends house and I ssh into my desktop so I can check
on the status of that emerge. Is their a way for me to take over a session
and see what's going on through the terminal?

I'm sure this is something simple, but so far google hasn't been much help
since I really don't know what key words to search for.

--James


Re: [gentoo-user] How to check a terminal session remotely

2009-02-10 Thread Neil Bothwick
On Tue, 10 Feb 2009 10:29:38 -0500, James Stull wrote:

 Here's my problem, lets say last night I start a rather long emerge in
 an xterm window or in a separate session like Ctrl+Alt+F2 or whatever.
 The next day I'm at work or a friends house and I ssh into my desktop
 so I can check on the status of that emerge. Is their a way for me to
 take over a session and see what's going on through the terminal?

The best way to do this is to run the emerge in a screen session, then
you can do screen -r from the SSH session to see what's going on.

If you have already started the emerge from a normal terminal, you can
view the progress with genlop -c. Emerge genlop if you don't already
have it.


-- 
Neil Bothwick

Bother, said Pooh, as he was given another bad script.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Sandbox Violation

2009-02-10 Thread Thomas Kahle
On 17:16 Tue 10 Feb , Nikos Chantziaras wrote:
 Thomas Kahle wrote:
 Hi everyone,
 recently I killed a running merge of app-emacs/auctex with C-c in the
 shell. Now after that I am not able to install the package anymore. I
 get a sandbox when kpathsea is run. 

 Just a shot in the dark, but try this as root:

   rm -rf /var/tmp/portage/*

 and then emerge again.  Please type the above command very carefully; if 
 you introduce a space by mistake it will be not good :P

That worked, Thanks.



-- 
Thomas Kahle

The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?


pgpXcNAZ4H7rk.pgp
Description: PGP signature


Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-10 Thread Florian Philipp

Johan Blåbäck schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

I'm setting up this old computer of mine and why not encrypt it. I have
done this on several computers before, but never have I gotten these
kind of errors.

When booting, cryptsetup segfaults. I can find no obvious reason why, I
have tried to recompile cryptsetup using different arch, but still the
same. It is build statically, USE=-dynamic is set and ldd just says no
dynamic executable. But when trying to debug I copied the cryptsetup,
that is not working in the init, to a usb-device and tried to decrypt my
disk using a livecd, and this went fine.

So to summarize:
init - cryptsetup segfaults
in livecd env - cryptsetup ok
in gentoo system - cryptsetup ok




I'm not sure whether it was cryptsetup or gpg who had trouble but I seem 
to need these lines in my initrd to get things going:


rm /dev/tty
ln -s /dev/console /dev/tty




[gentoo-user] Help With pptpclient

2009-02-10 Thread Drew Tomlinson
I'm trying to connect to a Cisco 3650 VPN Concentrator at work.  On
Windows clients, I use the included dialup networking client and connect
without issue using pptp.  This is not a L2TP/IPSEC VPN.  I want to do
the same on a Gentoo client.

I've Googled and found that pptpclient should do what I want.  I've
followed this guide:

http://wiki.archlinux.org/index.php/Microsoft_VPN_client_setup_with_pptpclient

I've also come across other guides that are very similar to the one above.

After following the guide, I am still unable to connect.  I see the
following in /var/log/messages:
(Please note that I have replaced the actual IP address with IP Address)

Feb 10 08:34:05 tagalong pppd[7781]: pppd options in effect:
Feb 10 08:34:05 tagalong pppd[7781]: debug  # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: nodetach   # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: logfd 2# (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: dump   # (from command
line)
Feb 10 08:34:05 tagalong pppd[7781]: noauth # (from
/etc/ppp/peers/d
ca)
Feb 10 08:34:05 tagalong pppd[7781]: name username   # (from
/etc/ppp
/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]: remotename IP Address   #
(from
/etc/ppp/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]:# (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: pty pptp IP Address
--nolaunchpppd --log
level 2 # (from /etc/ppp/peers/vpn)
Feb 10 08:34:05 tagalong pppd[7781]: ipparam IP Address  #
(from /etc/ppp/peers/dca)
Feb 10 08:34:05 tagalong pppd[7781]: nobsdcomp  # (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: nodeflate  # (from
/etc/ppp/options.pptp)
Feb 10 08:34:05 tagalong pppd[7781]: pppd 2.4.4 started by tomlinson_dr,
uid 0
Feb 10 08:34:05 tagalong pppd[7781]: using channel 12
Feb 10 08:34:05 tagalong pppd[7781]: Using interface ppp0
Feb 10 08:34:05 tagalong pppd[7781]: Connect: ppp0 -- /dev/pts/3
Feb 10 08:34:05 tagalong pptp[7782]: anon log[main:pptp.c:272]: The
synchronous pptp option is NOT activated
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:05 tagalong pptp[7786]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:06 tagalong pppd[7781]: sent [LCP ConfReq id=0x1 asyncmap
0x0 magic 0x550c0689 pcomp accomp]
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:06 tagalong pptp[7788]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:07 tagalong pptp[7790]: anon
log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Feb 10 08:34:08 tagalong pptp[7782]: anon
fatal[open_callmgr:pptp.c:439]: Could not launch call manager after 3 tries.
Feb 10 08:34:08 tagalong pppd[7781]: Modem hangup
Feb 10 08:34:08 tagalong pppd[7781]: Connection terminated.
Feb 10 08:34:08 tagalong pppd[7781]: Script pptp IP Address
--nolaunchpppd --loglevel 2 finished (pid 7782), status = 0x1
Feb 10 08:34:08 tagalong pppd[7781]: Exit.

Here are the contents of my /etc/ppp/chap-secrets:

# Secrets for authentication using CHAP
# clientserver  secret  IP addresses
#\'\'   *   \'\'
usernameIP Address   password   *

And finally, my connect script from /etc/ppp/peers/vpn:

pty pptp IP Address --nolaunchpppd --loglevel 2
name username
remotename IP address
file /etc/ppp/options.pptp
noauth
ipparam IP Address

Any ideas on what I'm missing?  I've been at this for two days but can
not figure out my errors.  In cases where the guide indicates using a
VPN server name, I have tried with both a made up (but common) server
name and the actual IP address as this VPN server does not have a
resolvable name.

Thanks,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] Help With pptpclient -- SOLVED

2009-02-10 Thread Drew Tomlinson
Drew Tomlinson wrote:
 I'm trying to connect to a Cisco 3650 VPN Concentrator at work.  On
 Windows clients, I use the included dialup networking client and connect
 without issue using pptp.  This is not a L2TP/IPSEC VPN.  I want to do
 the same on a Gentoo client.

 I've Googled and found that pptpclient should do what I want.  I've
 followed this guide:

 http://wiki.archlinux.org/index.php/Microsoft_VPN_client_setup_with_pptpclient
snip
 Any ideas on what I'm missing?  I've been at this for two days but can
 not figure out my errors.  In cases where the guide indicates using a
 VPN server name, I have tried with both a made up (but common) server
 name and the actual IP address as this VPN server does not have a
 resolvable name.

   

Never mind.  I found the problem.  The VPN concentrator still had a
connection registered for my IP address.  Once that was cleared, I was
able to connect.

Sorry for the noise.

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




[gentoo-user] Re: seamonkey helper apps

2009-02-10 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I also have Vonage and use Seamonkey and everything is working okay
 for me. I'm using the gecko-mediaplayer plugin, but opening with
 gmplayer or something works too.

Well here's my 'helper applications' entry
Maybe a syntax error?

Helper Applications   voice-message/wav

MIMI Type voice-message/wav
Extension wav
Open it with  /usr/bin/mplayer

no quotes


The baffling things is I can use this string
in my seamonkey browser to play the saved audio clip;
it plays just fine, using mplayer or amarok:


file:///home/path/voice-message.wav


I can use aplay path/filename and some wav 
files play
( aplay close.wav
Playing WAVE 'close.wav' : Signed 16 bit 
Little Endian, Rate 22050 Hz, Mono)

and some don't, like my voice mails:
(aplay voice-message.wav
aplay: test_wavefile:782: can't play WAVE-file 
format 0x0007 which is not PCM or FLOAT encoded)
Not sure if this matters...?

So it's got to be a seamonkey mis-config?
Here's my Seamonkey flags:
(crypt gnome ipv6 java ldap mozdevelop postgres)


KDE is the destop.





James








Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-10 Thread Dirk Heinrichs
Am Montag, 9. Februar 2009 23:26:46 schrieb Stroller:

 Am I not correct in thinking that initramfs used to be / can be / was
 originally a separate file which goes in /boot and is described with
 an extra boot parameter?

Yes, you are. There are several ways nowadays. I use the easy one: Populate a 
directory tree with the contents of the initramfs and configure that directory 
in menuconfig. The kernel build system handles the details.

 I wasn't aware that you could embed the initramfs into the kernel
 itself - after reading Neil's message yesterday I looked up more about
 the initramfs, contemplated about the idea of doing so and decided
 naw, you'll never be able to do that, it would make the kernel too
 big and take up too much memory.

Nope. It's freed right after swithing to the real root fs.

 I certainly can recognise that you're doing something bogus, because
 your kernel parameters use realroot= and not just root=

Luckily the kernel ignores everything it doesn't know so you can give it any 
option you like. In this case I use realroot inside initramfs to tell it (by 
parsing /proc/cmdline) what's the real volume for the encrypted root device 
(/dev/mapper/c-root) listed in fstab.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: seamonkey helper apps

2009-02-10 Thread Paul Hartman
On Tue, Feb 10, 2009 at 11:34 AM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I also have Vonage and use Seamonkey and everything is working okay
 for me. I'm using the gecko-mediaplayer plugin, but opening with
 gmplayer or something works too.

 Well here's my 'helper applications' entry
 Maybe a syntax error?

 Helper Applications   voice-message/wav

 MIMI Type voice-message/wav
 Extension wav
 Open it with  /usr/bin/mplayer

 no quotes


 The baffling things is I can use this string
 in my seamonkey browser to play the saved audio clip;
 it plays just fine, using mplayer or amarok:


 file:///home/path/voice-message.wav


 I can use aplay path/filename and some wav
 files play
 ( aplay close.wav
 Playing WAVE 'close.wav' : Signed 16 bit
 Little Endian, Rate 22050 Hz, Mono)

 and some don't, like my voice mails:
 (aplay voice-message.wav
 aplay: test_wavefile:782: can't play WAVE-file
 format 0x0007 which is not PCM or FLOAT encoded)
 Not sure if this matters...?

 So it's got to be a seamonkey mis-config?
 Here's my Seamonkey flags:
 (crypt gnome ipv6 java ldap mozdevelop postgres)


 KDE is the destop.

I don't have it set up as a helper. It just pops up the What would
you like to do? dialog and I choose to open it with /usr/bin/gmplayer

Paul



Re: [gentoo-user] ALSA config problem

2009-02-10 Thread Naga
On Tuesday 10 February 2009 07:02:16 Sebastian Günther wrote:
 * Naga (nagat...@gmail.com) [09.02.09 19:35]:
  In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27
  series kernel or use a live alsa ebuild.

 Why can I listen to music and watch DVD with my hda-intel, if it's
 broken?

Guess it's only broken for certain cards then?

/Regards
Naga



[gentoo-user] Re: {OT} xfce4 network management?

2009-02-10 Thread Francesco Talamona
On Sunday 08 February 2009, Francesco Talamona wrote:
 On Sunday 08 February 2009, Grant wrote:
  Why choose wicd over NetworkManager?

 Hi guys I'm back with a differend mail address, hope someone missed
 me :-)

 I tested both, but NM keeps shutting down wired NIC randomly,
 sometimes is eth0, other times is eth1.

 eth0 and ath0 are connected to the same access point, so it is sane
 to inhibite eth0, but I have hundred services relying on eth1 (fixed
 IP, internal network), half my system go upside down when eth1 lose
 its address. I don't want NM to touch this interface, even it is
 unplugged.

 Is it there a way to fix this?

 With wicd is trivial to pair eth0 and ath0, but it runs wireless for
 a few minutes, then it switches back to wired.

 So I'm going to try wpa_gui...

 Cheers
   Francesco

An the winner is...

wicd.

The uptime was quite regular, so it came to my mind the DHCP client 
demon.

It was the DHCP indeed, instead of automatic (that picks up dhclient) I 
switched to dhcpcd and now works like a charm

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo, Compiled #2 SMP PREEMPT Fri Dec 26 08:55:48 
CET 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.02 Bogomips Total
aemaeth



Re: [gentoo-user] seamonkey helper apps

2009-02-10 Thread Willie Wong
On Tue, Feb 10, 2009 at 03:31:41AM +, Penguin Lover James squawked:
 file voice-message.wav
 voice-message.wav: RIFF (little-endian) data, WAVE audio, 
 ITU G.711 mu-law, mono 8000 Hz
 
 
On Tue, Feb 10, 2009 at 05:34:06PM +, Penguin Lover James squawked:
 and some don't, like my voice mails:
 (aplay voice-message.wav
 aplay: test_wavefile:782: can't play WAVE-file 
 format 0x0007 which is not PCM or FLOAT encoded)
 Not sure if this matters...?
 
Have you tried aplay with manually specified format options?

aplay -f MU_LAW -c1 -r8000 -t wav voice-message.wav 

Is it possible that the wav files are corrupted? (Do you have just one
sample or multiple?) 

W
-- 
Where do you get Mercury?

H.G. Wells
Sortir en Pantoufles: up 795 days, 17:25



Re: [gentoo-user] Re: ALSA config problem

2009-02-10 Thread Mick
On Monday 09 February 2009, James wrote:
 Roy Wright roy at wright.org writes:

  On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules
  (recommended), 
[snip...] 

  * enable alsa in the kernel
  * enable as modules device drivers/sound card support/...
[snip...]

 I appreciate these steps and refs

 I'm good for now.

As was suggested above you may get better luck building the alsa drivers as 
modules.  Although I had my sound card driver built in the kernel for the 
last 2-3 years, I had to revert to building it as a module to get it to work 
with kernel 2.6.27-gentoo-r6/8.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Mick
On Tuesday 10 February 2009, Joshua D Doll wrote:
 Saphirus Sage wrote:
  Nikos Chantziaras wrote:
  http://video.linuxfoundation.org/video/1069
 
  I found it quite interesting that even Gentoo beat Canonical in the
  amount of patches contributed upstream...
 
  Good find, I actually didn't know about E-Trade using Gentoo servers. I
  don't think it should be too surprising that Gentoo would contribute
  more patches than Conical, as until today, I'd only actually heard of
  one of them.

 This video brought up an interesting question by my friend (an ubuntu
 user). How would one go about getting Canonical or the ubuntu community
 to change their practice of not contributing fixes back upstream?
 Without having to change distributions.

Gentoo involves you more with what goes bad under the bonnet and the average 
Gentoo user is more interested in the workings of their OS to attempt 
troubleshooting it and filing bugs.  Your average Ubuntu user is less likely 
to get their hands dirty, unless they are a dev.  So, essentially we are 
talking about different user profiles here.  To answer your friend's 
hypothetical question - he would either have to change your average Ubuntu's 
user technical aptitude, or change the user.  Either attempt may mean the end 
of Ubuntu as we know it.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] seamonkey helper apps

2009-02-10 Thread Mick
On Tuesday 10 February 2009, James wrote:
 Hello,

 I use to listen to my voice mail, via mplayer and seamonkey.

I would have thought that mplayer is a bit of an overkill for playing .wav, 
have you tried /usr/bin/aplay?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-10 Thread Mick
On Monday 09 February 2009, Dirk Heinrichs wrote:
 Am Montag, 9. Februar 2009 17:51:24 schrieb Stroller:
  I don't like initrd and the longer kernel  
  lines in grub.conf that they require.

 Errh, which longer lines in grub.conf?

 Here's mine, as an example:

 title=Gentoo Linux
 kernel /vmlinux.gz realroot=/dev/evms/root vga=0x31B notsc

 Quite short and simple, isn't it? You don't even recognize that it uses an
 initramfs (because it's embedded in the kernel itself).

How do you embed the initramfs in the kernel?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-10 Thread Albert Hopkins
On Tue, 2009-02-10 at 18:46 +, Mick wrote:
 On Monday 09 February 2009, Dirk Heinrichs wrote:
  Am Montag, 9. Februar 2009 17:51:24 schrieb Stroller:
   I don't like initrd and the longer kernel  
   lines in grub.conf that they require.
 
  Errh, which longer lines in grub.conf?
 
  Here's mine, as an example:
 
  title=Gentoo Linux
  kernel /vmlinux.gz realroot=/dev/evms/root vga=0x31B notsc
 
  Quite short and simple, isn't it? You don't even recognize that it uses an
  initramfs (because it's embedded in the kernel itself).
 
 How do you embed the initramfs in the kernel?

CONFIG_INITRAMFS_SOURCE




Re: [gentoo-user] Re: ALSA config problem

2009-02-10 Thread Roy Wright

Mick wrote:

On Monday 09 February 2009, James wrote:

Roy Wright roy at wright.org writes:



On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules
(recommended), 
[snip...] 


* enable alsa in the kernel
* enable as modules device drivers/sound card support/...

[snip...]


I appreciate these steps and refs

I'm good for now.


As was suggested above you may get better luck building the alsa drivers as 
modules.  Although I had my sound card driver built in the kernel for the 
last 2-3 years, I had to revert to building it as a module to get it to work 
with kernel 2.6.27-gentoo-r6/8.


The main reason for building the sound drivers as modules is so that 
alsaconf can find and setup your sound card for you.





Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Roy Wright

Mick wrote:

On Tuesday 10 February 2009, Joshua D Doll wrote:

Saphirus Sage wrote:

Nikos Chantziaras wrote:

http://video.linuxfoundation.org/video/1069

I found it quite interesting that even Gentoo beat Canonical in the
amount of patches contributed upstream...

Good find, I actually didn't know about E-Trade using Gentoo servers. I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.

This video brought up an interesting question by my friend (an ubuntu
user). How would one go about getting Canonical or the ubuntu community
to change their practice of not contributing fixes back upstream?
Without having to change distributions.


Gentoo involves you more with what goes bad under the bonnet and the average 
Gentoo user is more interested in the workings of their OS to attempt 
troubleshooting it and filing bugs.  Your average Ubuntu user is less likely 
to get their hands dirty, unless they are a dev.  So, essentially we are 
talking about different user profiles here.  To answer your friend's 
hypothetical question - he would either have to change your average Ubuntu's 
user technical aptitude, or change the user.  Either attempt may mean the end 
of Ubuntu as we know it.


The ubuntus are targeted at disgruntled windows users while gentoo is 
targeted at unix users.  The former are used to complaining and getting 
no response while the later know it's their responsibility to help make 
it better...


Have fun,
Roy



[gentoo-user] Re: The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Nikos Chantziaras

Roy Wright wrote:

[...]
The ubuntus are targeted at disgruntled windows users while gentoo is 
targeted at unix users.  The former are used to complaining and getting 
no response while the later know it's their responsibility to help make 
it better...


Works for me.

;)




Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Joshua D Doll

Roy Wright wrote:

Mick wrote:

On Tuesday 10 February 2009, Joshua D Doll wrote:

Saphirus Sage wrote:

Nikos Chantziaras wrote:

http://video.linuxfoundation.org/video/1069

I found it quite interesting that even Gentoo beat Canonical in the
amount of patches contributed upstream...
Good find, I actually didn't know about E-Trade using Gentoo 
servers. I

don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.

This video brought up an interesting question by my friend (an ubuntu
user). How would one go about getting Canonical or the ubuntu community
to change their practice of not contributing fixes back upstream?
Without having to change distributions.


Gentoo involves you more with what goes bad under the bonnet and the 
average Gentoo user is more interested in the workings of their OS to 
attempt troubleshooting it and filing bugs.  Your average Ubuntu user 
is less likely to get their hands dirty, unless they are a dev.  So, 
essentially we are talking about different user profiles here.  To 
answer your friend's hypothetical question - he would either have to 
change your average Ubuntu's user technical aptitude, or change the 
user.  Either attempt may mean the end of Ubuntu as we know it.


The ubuntus are targeted at disgruntled windows users while gentoo is 
targeted at unix users.  The former are used to complaining and 
getting no response while the later know it's their responsibility to 
help make it better...


Have fun,
Roy


I think you may be right with your assessment there Roy. The only 
solution I could up with was to change distributions he didn't like that 
suggestion, not sure why, because changing distros is like changing 
underwear. Maybe he has some strange fascination with Ubunutu's pretty 
color scheme?


--Joshua Doll
//



[gentoo-user] Re: seamonkey helper apps

2009-02-10 Thread James
Willie Wong wwong at Princeton.EDU writes:


 Have you tried aplay with manually specified format options?
 
 aplay -f MU_LAW -c1 -r8000 -t wav voice-message.wav 


Well that's weird. Only one out of 30 is in that format. It does
not play (corrupt) but the other 29 play, just fine with
mplayer, aplay, amarok or just using the default seamonkey
app (aplay) using this url:

file:///home/james/projects/voice-message.wav




 Is it possible that the wav files are corrupted? (Do you have just one
 sample or multiple?) 


No, only one is corrupt. I can play them all sorts of ways. Seamonkey
is messed up. When I change the helper app. config. it still launches
the old helper application. Exiting Seamonkey and restarting it does
not effect changes. I have to exit out of KDE for 'helper app' changes
to take effect?


I recompile seamonkey with --deep but that has not fixed the problem...






[gentoo-user] Re: seamonkey helper apps

2009-02-10 Thread James
Mick michaelkintzios at gmail.com writes:


  I use to listen to my voice mail, via mplayer and seamonkey.
 
 I would have thought that mplayer is a bit of an overkill for playing .wav, 
 have you tried /usr/bin/aplay?


True but it always worked. Aplay works on command line, but
not from Seamonkey


James









Re: [gentoo-user] Re: seamonkey helper apps

2009-02-10 Thread Paul Hartman
On Tue, Feb 10, 2009 at 12:12 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Tue, Feb 10, 2009 at 11:34 AM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I also have Vonage and use Seamonkey and everything is working okay
 for me. I'm using the gecko-mediaplayer plugin, but opening with
 gmplayer or something works too.

 Well here's my 'helper applications' entry
 Maybe a syntax error?

 Helper Applications   voice-message/wav

 MIMI Type voice-message/wav
 Extension wav
 Open it with  /usr/bin/mplayer

 no quotes


 The baffling things is I can use this string
 in my seamonkey browser to play the saved audio clip;
 it plays just fine, using mplayer or amarok:


 file:///home/path/voice-message.wav


 I can use aplay path/filename and some wav
 files play
 ( aplay close.wav
 Playing WAVE 'close.wav' : Signed 16 bit
 Little Endian, Rate 22050 Hz, Mono)

 and some don't, like my voice mails:
 (aplay voice-message.wav
 aplay: test_wavefile:782: can't play WAVE-file
 format 0x0007 which is not PCM or FLOAT encoded)
 Not sure if this matters...?

 So it's got to be a seamonkey mis-config?
 Here's my Seamonkey flags:
 (crypt gnome ipv6 java ldap mozdevelop postgres)


 KDE is the destop.

 I don't have it set up as a helper. It just pops up the What would
 you like to do? dialog and I choose to open it with /usr/bin/gmplayer

 Paul


I was wrong, it is set up.

MIME type: audio/x-wav
Description: (blank)
Extension: wav

Open it using /usr/bin/gmplayer

[checked] Always ask me before handling files of this type

And the same setup for MIME type of audio/wav

Regards,
Paul



Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Philip Webb
090210 Roy Wright wrote:
 The ubuntus are targeted at disgruntled windows users while gentoo is 
 targeted at unix users.  The former are used to complaining and getting no 
 response while the later know it's their responsibility to help make it 
 better...

In my commonplace book ... (smile)

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] vncviewer Recommendation

2009-02-10 Thread Eric Martin
Drew Tomlinson wrote:
 Aaron Clark wrote:
   
 Drew Tomlinson wrote:
 
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

   
 Did you check the version numbers for the two TightVNC clients?  You
 might need to switch to a ~arch version of Tight on Gentoo if the
 stable version is too old.

 If you're running Gnome, you could also take a look at Vinagre as a
 client.  It does connection bookmarking, multiple connections on tabs,
 etc.
 

 Thanks to all for the suggestions.  My TightVNC on Linux is version
 1.3.9 and is from net-misc/tightvnc-1.3.9-r2.  As I am using Gnome, I've
 installed Vinagre and it appears to be what I need.  I just wish there
 was some way to scroll in fullscreen mode.

 Thanks,

 Drew

   
this is probably a moot point, but nobody decided to ask.  What features
was tightvnc missing under GNU/Linux?