Re: Sistema para respaldos

2017-07-01 Thread Pablo Daniel Estigarribia Davyt
El mar., 20 jun. 2017 a las 16:38, Maykel Franco ()
escribió:

>
>
> El 20 jun. 2017 5:59 p. m., "Ian Malo"  escribió:
>
> HOla amigos.
>
> Estoy buscando un software para manejar los respaldos de varios servidores
> (Windows y Linux), he investigado y cuando me prestaba para instalar Bareos
> estos no han sido actualizados a la nueva versión de Debian Stretch y no
> funcionan correctamente... Pienso que podría usar BackupPC... alguien me
> puede dar una opinión?
>
> Saludos,
> Ian.
>
>
> Backuppc con rsync o dirvish ssh son tus amigos.
>
>
>
Yo uso burp y también creé los roles ansibles para automatizarlo:

https://github.com/grke/burp/wiki/Automated-deploy-and-maintenance

he tenido muy buena experiencia con este tanto en servidores como laptops.

Saludos,
Pablo.

-- 
Pablo.


Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Rodolfo Medina  writes:

> David Wright  writes:
>
>> On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
>>> Rodolfo Medina  writes:
>>> 
>>> > My output seems to be the same as yours:
>>> >
>>> > # ls -lR /dev/snd
>>> > /dev/snd:
>>> > total 0
>>> > drwxr-xr-x  2 root root   80 Jul  1 23:55 by-path
>>> > crw-rw+ 1 root audio 116,  2 Jul  1 23:55 controlC0
>>> > crw-rw+ 1 root audio 116,  5 Jul  1 23:55 controlC1
>>> > crw-rw+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
>>> > crw-rw+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
>>> > crw-rw+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
>>> > crw-rw+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
>>> > crw-rw+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
>>> > crw-rw+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
>>> > crw-rw+ 1 root audio 116,  1 Jul  1 23:55 seq
>>> > crw-rw+ 1 root audio 116, 33 Jul  1 23:55 timer
>>> >
>>> > /dev/snd/by-path:
>>> > total 0
>>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:01.1 -> ../controlC0
>>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:14.2 -> ../controlC1
>>> 
>>> Well, no, it's different: in mine there's no pcmC0D0c...
>>
>> Any help from
>> https://bbs.archlinux.org/viewtopic.php?id=185675
>> ?
>
>
> Yes: it solved half a problem...  or maybe one since they were two... Thanks 
> to
> archlinux topic's suggestion (create .asoundrc and put `defaults.pcm.device 3'
> in it), mplayer's finally plays as root, but its output is:
>
>
> # mplayer -ao alsa beeth-symph3-klemperer_01.wav 
> MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
> do_connect: could not connect to socket
> connect: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> Playing beeth-symph3-klemperer_01.wav.
> libavformat version 57.56.101 (external)
> Audio only file format detected.
> Load subtitles in ./
> ==
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000!
> (This could e g happen if you try to connect to a non-root PulseAudio as a 
> root
> user, over the native protocol. Don't do that.)
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
>
> , and there's no sound...


...also with `-ao alsa'.

Rodolfo



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
David Wright  writes:

> On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
>> Rodolfo Medina  writes:
>> 
>> > My output seems to be the same as yours:
>> >
>> > # ls -lR /dev/snd
>> > /dev/snd:
>> > total 0
>> > drwxr-xr-x  2 root root   80 Jul  1 23:55 by-path
>> > crw-rw+ 1 root audio 116,  2 Jul  1 23:55 controlC0
>> > crw-rw+ 1 root audio 116,  5 Jul  1 23:55 controlC1
>> > crw-rw+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
>> > crw-rw+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
>> > crw-rw+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
>> > crw-rw+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
>> > crw-rw+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
>> > crw-rw+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
>> > crw-rw+ 1 root audio 116,  1 Jul  1 23:55 seq
>> > crw-rw+ 1 root audio 116, 33 Jul  1 23:55 timer
>> >
>> > /dev/snd/by-path:
>> > total 0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:01.1 -> ../controlC0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:14.2 -> ../controlC1
>> 
>> Well, no, it's different: in mine there's no pcmC0D0c...
>
> Any help from
> https://bbs.archlinux.org/viewtopic.php?id=185675
> ?


Yes: it solved half a problem...  or maybe one since they were two... Thanks to
archlinux topic's suggestion (create .asoundrc and put `defaults.pcm.device 3'
in it), mplayer's finally plays as root, but its output is:


# mplayer -ao alsa beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
(This could e g happen if you try to connect to a non-root PulseAudio as a root 
user, over the native protocol. Don't do that.)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

, and there's no sound...

Rodolfo



Re: mplayer won't play audio CD

2017-07-01 Thread David Wright
On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
> Rodolfo Medina  writes:
> 
> > My output seems to be the same as yours:
> >
> > # ls -lR /dev/snd
> > /dev/snd:
> > total 0
> > drwxr-xr-x  2 root root   80 Jul  1 23:55 by-path
> > crw-rw+ 1 root audio 116,  2 Jul  1 23:55 controlC0
> > crw-rw+ 1 root audio 116,  5 Jul  1 23:55 controlC1
> > crw-rw+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
> > crw-rw+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
> > crw-rw+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
> > crw-rw+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
> > crw-rw+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
> > crw-rw+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
> > crw-rw+ 1 root audio 116,  1 Jul  1 23:55 seq
> > crw-rw+ 1 root audio 116, 33 Jul  1 23:55 timer
> >
> > /dev/snd/by-path:
> > total 0
> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:01.1 -> ../controlC0
> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:14.2 -> ../controlC1
> 
> Well, no, it's different: in mine there's no pcmC0D0c...

Any help from
https://bbs.archlinux.org/viewtopic.php?id=185675
?

Cheers,
David.



Re: Remotely exploitable bug in systemd (CVE-2017-9445)

2017-07-01 Thread Mark Fletcher
On Sun, Jul 02, 2017 at 12:44:20AM +0200, deloptes wrote:
> 
> I don't think it is that new as I have not done any upgrades recently and I
> have
> dpkg -l | grep systemd
> ii  libpam-systemd:amd64   215-17+deb8u7  
> 
> amd64system and service manager - PAM module
> ii  libsystemd0:amd64  215-17+deb8u7  
> 
> amd64systemd utility library
> 
> and in the CVE-2017-9445 it says it is fixed in jessie in the above
> mentioned versions ... so it must be at least few weeks old as I recently
> updated back then.
> 

>From my reading of the issue it isn't that it is fixed in Jessie, it is 
that it was never an issue in the first place in Jessie -- Jessie's 
version of systemd never had the vulnerable code (presumably because the 
vulnerable code is newer than that)

Mark



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Rodolfo Medina  writes:

> My output seems to be the same as yours:
>
> # ls -lR /dev/snd
> /dev/snd:
> total 0
> drwxr-xr-x  2 root root   80 Jul  1 23:55 by-path
> crw-rw+ 1 root audio 116,  2 Jul  1 23:55 controlC0
> crw-rw+ 1 root audio 116,  5 Jul  1 23:55 controlC1
> crw-rw+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
> crw-rw+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
> crw-rw+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
> crw-rw+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
> crw-rw+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
> crw-rw+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
> crw-rw+ 1 root audio 116,  1 Jul  1 23:55 seq
> crw-rw+ 1 root audio 116, 33 Jul  1 23:55 timer
>
> /dev/snd/by-path:
> total 0
> lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:01.1 -> ../controlC0
> lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-:00:14.2 -> ../controlC1

Well, no, it's different: in mine there's no pcmC0D0c...

Rodolfo



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Thanks to all who kindly replied.


David Wright  writes:

> Secondly, most of the error messages involved alsa rather
> than the CD player. How does root get on with playing
> sound files from other sources?

Yes, the error message remains also with sound files, so it actually does not
concern cdda:


# mplayer beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
(This could e g happen if you try to connect to a non-root PulseAudio as a root 
user, over the native protocol. Don't do that.)
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
(This could e g happen if you try to connect to a non-root PulseAudio as a root 
user, over the native protocol. Don't do that.)
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' 
failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


> First, it would seem sensible to clean up your first post by
> revealing the output from, say,
>
> # mplayer --noconfig=all --ao=alsa cdda://
>
> Currently I don't have mplayer installed, only mplayer2.
> I would point out that this command still reads input.conf
> files so you might want to move them out of the way too.


The error remains:

# mplayer -noconfig all -ao alsa beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
(This could e g happen if you try to connect to a non-root PulseAudio as a root 
user, over the native protocol. Don't do that.)
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' 
failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


Please note that if, instead of becoming root with `su', I log in as root, the
error message is smaller:

# mplayer cdda://
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://.
Found audio CD with 12 tracks.
rawaudio file format detected.

Track 1
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' 
failed (-2): No such file or directory
[AO_ALSA] alsa-lib: 

Re: Tracing hard Lockup

2017-07-01 Thread Mini Trader
Java 7 rarely has issues on Java 8 and if they do it's a program error not
system. At this point I'll go back to Jessie or Ubuntu 16.

Thanks for the feedback.

On Sat, Jul 1, 2017 at 6:41 PM deloptes  wrote:

> Mini Trader wrote:
>
> > I tried oracles version as well and same response. Is there any sort of
> > utility that can be used to sandbox this and see what is going on?
> >
>
> If a java program was compiled and designed to run on specific version it
> could be that it causes problems on higher version - especially java 1.7 to
> 1.8 changed a lot in how things are handled.
> Did you try with older java version or with the previous one?
>
> I've been using visualvm to banchmark java threading - I'm not sure if it
> will help you. You can set some tight limits to your java program and see
> where it breaks and create a dump. Enable debugging and garbedge collector
> also tight.
>
> As you have a newer kernel, you can set some limits there too - I don't
> recall exactly but there was an option to purge each app using higher than
> limit memory. how it is done in ESX - no idea  can't you run it on
> another machine
>
>


Re: Stretch, pulseaudio and bluetooth headphones

2017-07-01 Thread Mark Fletcher
On Fri, Jun 30, 2017 at 09:52:42AM -0400, Ric Moore wrote:
> On 06/29/2017 09:58 AM, Mark Fletcher wrote:
> > Hello the list!
> > 
> > Quite a while ago I bought a pair of Bang & Olufsen bluetooth headphones
> > and have been using them from Jessie.
> > 
> > The list may remember I had a little bit of a struggle getting them to
> > work with Jessie, which eventually turned out to be because I
> > unknowingly had 2 instances of Pulse running...
> > 
> > After that all has been working great, until I upgraded to Stretch.
> > 
> > After the upgrade, I was getting only mono sound.
> > 
> > I followed the instructions I found here -->
> > https://bbs.archlinux.org/viewtopic.php?id=197482https://bbs.archlinux.org/viewtopic.php?id=197482
> > 
> > and moving the command to load module-bluetooth-discover so it isn't run
> > until X starts as described there fixed it. But I am not very
> > comfortable with the solution -- it feels like it is likely to get
> > undone in the future by an unsuspecting package upgrade.
> > 
> > Anyone else seen this? Are there better solutions to be had? (Solutions
> > that aren't likely to fall apart after I've forgotten what I did)
> 
> Make sure that pavucontrol is installed and that you use it to set up your
> headphones. Click on the "Configuration" tab and select stereo from the drop
> down list. Should work just fine as long as lsusb shows the device. Ric
> 

Until I did the fix I mentioned in my original post, that I got from the 
arch forums (fora?), pavucontrol only showed the mono setup as an 
option. The dropdown contained only one option. Ditto the bluetooth 
setup screen you can get to from the place in Gnome where you connect 
the headphones after turning them on.

After I made the fix detailed in my original post, the stereo profile 
became available (specifically ad2p sink profile became available) and 
once available it was used by default.

Perhaps you didn't fully follow my original post -- the question was not 
"how can I fix this?" it was "isn't this fix a bit dodgy; is there a 
better one?" And I suppose now I would add "does anyone know why this 
wasn't an issue in Jessie, which to all outward appearances was 
identical to Stretch in this regard?"

Thanks

Mark



Re: Remotely exploitable bug in systemd (CVE-2017-9445)

2017-07-01 Thread deloptes
Perry E. Metzger wrote:

> Howdy! CVE-2017-9445 is a remotely exploitable bug in systemd. It was
> first announced to the public about four or five days ago, not sure
> when it would have been announced to the security team.
> 
> Am I correct in interpreting this:
> https://security-tracker.debian.org/tracker/CVE-2017-9445
> as meaning a fix to it still isn't in sid, and therefore is not
> yet in the process of percolating down to stretch?
> 
> Is there a preferred way of temporarily mitigating the problem?
> Remote exploitation that you can trigger by forcing a program to DNS
> queries seems kind of bad.
> 
> Perry

I don't think it is that new as I have not done any upgrades recently and I
have
dpkg -l | grep systemd
ii  libpam-systemd:amd64   215-17+deb8u7
  
amd64system and service manager - PAM module
ii  libsystemd0:amd64  215-17+deb8u7
  
amd64systemd utility library

and in the CVE-2017-9445 it says it is fixed in jessie in the above
mentioned versions ... so it must be at least few weeks old as I recently
updated back then.

regards



Re: (SOLVED) kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-07-01 Thread Felix Miata
Beco composed on 2017-07-01 18:12 (UTC-0300):

> It is similar indeed. Also, by the solution they figured out, (editing
> Theme=/usr/share/apps/kdm/themes/oxygen-air) I can see that it is using
> "kdm" instead of sddm.

> That is the root of the problem. A proper solution is just what I said in
> the previous email: install sddm as your default and remove old kdm.

Another option, set this in kdmrc:

UseTheme=false

SDDM doesn't work for me. It lacks KDM features I depend on. I like the built-in
KDM "theme" look and functionality.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Tracing hard Lockup

2017-07-01 Thread deloptes
Mini Trader wrote:

> I tried oracles version as well and same response. Is there any sort of
> utility that can be used to sandbox this and see what is going on?
> 

If a java program was compiled and designed to run on specific version it
could be that it causes problems on higher version - especially java 1.7 to
1.8 changed a lot in how things are handled.
Did you try with older java version or with the previous one?

I've been using visualvm to banchmark java threading - I'm not sure if it
will help you. You can set some tight limits to your java program and see
where it breaks and create a dump. Enable debugging and garbedge collector
also tight.

As you have a newer kernel, you can set some limits there too - I don't
recall exactly but there was an option to purge each app using higher than
limit memory. how it is done in ESX - no idea  can't you run it on
another machine



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Curt  writes:

> On 2017-07-01, Rodolfo Medina  wrote:
>> deloptes  writes:
>>
>>> Rodolfo Medina wrote:
>>>
 Are you calling me stupid...?  Thanks... ;-)
>>>
>>> just to be clear. You have had setup an alias for mplayer, correct? So
>>> everything people advised here was run via this alias 'mplayer -demuxer
>>> lavf'.
>>
>>
>> I'm sorry...  I apologize.  But the problem with root still remains...
>
> There's no need to apologize. As for the root problem I don't believe it
> is a problem in the sense you mean it (I think). pulseaudio is not
> intended to be run as root (that's what I'm reading on the innertubes). As
> usual my understanding of the whole kaboodle is quite fragile, however. Also
> I believe pulseaudio is configured per-useredly.  IOW you'd have to
> configure it for root in order for it to work (for root). Maybe.
>
> Unless you're not using pulseaudio, in which case...
>
> Now you see who's stupid.
>
> ;-)
>

:-) thanks...



help

2017-07-01 Thread sysadmin
buenos dias, tardes o noches. Disculpen: tuve una conferencia y queria 
usar mi Laptop con Debian 9 y conectarla al hdmi de mi escuela y no 
pude. No se puede conectar al HDMI, alguna sugerencia!?




Re: mplayer won't play audio CD

2017-07-01 Thread David Wright
On Sat 01 Jul 2017 at 18:46:27 (+0100), Brian wrote:
> On Sat 01 Jul 2017 at 10:42:45 -0500, David Wright wrote:
> 
> > On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> > > deloptes  writes:
> > > 
> > > > Rodolfo Medina wrote:
> > > >
> > > >> Are you calling me stupid...?  Thanks... ;-)
> > > >
> > > > just to be clear. You have had setup an alias for mplayer, correct? So
> > > > everything people advised here was run via this alias 'mplayer -demuxer
> > > > lavf'.
> > > 
> > > 
> > > I'm sorry...  I apologize.  But the problem with root still remains...
> > 
> > First, it would seem sensible to clean up your first post by
> > revealing the output from, say,
> > 
> > # mplayer --noconfig=all --ao=alsa cdda://
> 
> As someone whose use and knowledge of anything other than vlc is
> minimal I did this on unstable and got
> 
>  Unknown option on command line: --noconfig=all
>  Error parsing option on the command line: --noconfig=all
>  
> > Currently I don't have mplayer installed, only mplayer2.
> 
> How relevant is this statement to the issue?
> 
>   Package: mplayer2 (3:0.23.0-2) 
>   transitional dummy package for mpv
> 
>   This is a transitional dummy package to get upgrading systems to
>   install the mpv package. It can safely be removed once no other
>   package depends on it. 

I don't know. Actually I'm using
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
which is a real package.

But the thrust of my post was two-fold: (1) get configuration
files out of the way, and (2) get pulseaudio out of the way.
I'm assuming people can handle reading the man page to adjust
the command line arguments (eg my long options _require_ --ao
and --noconfig to parse correctly; the OP seems to get away
with one hyphen).

Were I using stretch mplayer, I would have posted yesterday,
but the thread seemed to have wandered up blind alleys (group
membership, device aliases, etc) without addressing the error
messages posted (missing sound device files, alsa/sdl errors).

> > I would point out that this command still reads input.conf
> > files so you might want to move them out of the way too.
> > 
> > Secondly, most of the error messages involved alsa rather
> > than the CD player. How does root get on with playing
> > sound files from other sources?
> 
> Once Thomas Schmitt had disposed of the idea that mplayer requires a
> cable between drive and sound card it comes down to software and not
> hardware.
> 
> (I use cdplay from the cdtool package quite extensively, especially in
> scripts. If the OP had been using cdtool, Curt's cable suggestion would
> have very likely been correct as cdtool uses the analogue play method).

Yes, I've used cdplay on occasions, and it's a lot quieter than
cdda because the disc so slowly comparatively, though I always
use eject rather than cdeject as the latter has given me problems.

Of course, with a laptop, you're at the mercy of the constructor
as to whether the analogue link exists.

> I installed mplayer on a machine (which has pulseaudio) yesterday. There
> was no problem with playing an audio CD, but I did not go in for any
> customisation, which is probably not the case with Rodolfo Medina.

Linux sound is complex enough that, once things work well enough,
I prefer not to disturb them, which is why I beg your forbearance.

Cheers,
David.



Re: Remotely exploitable bug in systemd (CVE-2017-9445)

2017-07-01 Thread Sven Joachim
On 2017-07-01 16:36 -0400, Perry E. Metzger wrote:

> Howdy! CVE-2017-9445 is a remotely exploitable bug in systemd. It was
> first announced to the public about four or five days ago, not sure
> when it would have been announced to the security team.
>
> Am I correct in interpreting this:
> https://security-tracker.debian.org/tracker/CVE-2017-9445
> as meaning a fix to it still isn't in sid, and therefore is not
> yet in the process of percolating down to stretch?

That seems to be correct.

> Is there a preferred way of temporarily mitigating the problem?

Yes, don't use systemd-resolved in the first place.  As mentioned in the
tracker, systemd-resolved is not enabled by default in Debian, therefore
the problem is not treated as urgent.

Cheers,
   Sven



(SOLVED) Re: kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-07-01 Thread Beco
On 1 July 2017 at 07:02, Curt  wrote:

> On 2017-06-29, Beco  wrote:
>
> >>From time to time, every one or two boots, KDE won't load, it shows a
> > dialog with only an "OK" button and the message:
> >
> > kde can't find file usr/share/kde4/apps/kdm/themes/lines
>
> > I click ok and get redirected to a console login.
> >
> > If I just boot again, it will likely boot just fine.
> >
> > The first time I saw the problem was during the first boot after the
> > upgrade. I didn't know then that I could just boot again, and I started
> > digging in the console to realize that I could not solve the problem and
> I
> > started all the install process again, which took me some of my weekend
> > time.
> >
> > I tried to google then, and today again after the problem reappears, but
> I
> > can't find any forum with another case similar.
>
> This looks similar:
>
> https://bbs.archlinux.org/viewtopic.php?id=116488
>
> > Any ideas ? Thanks.
>
>

Yes, Curt,

It is similar indeed. Also, by the solution they figured out, (editing
Theme=/usr/share/apps/kdm/themes/oxygen-air) I can see that it is using
"kdm" instead of sddm.

That is the root of the problem. A proper solution is just what I said in
the previous email: install sddm as your default and remove old kdm.

Thanks!

Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Sistema para respaldos

2017-07-01 Thread Pablo Álvarez Córdoba
Puedes usar bacula.

Remotely exploitable bug in systemd (CVE-2017-9445)

2017-07-01 Thread Perry E. Metzger
Howdy! CVE-2017-9445 is a remotely exploitable bug in systemd. It was
first announced to the public about four or five days ago, not sure
when it would have been announced to the security team.

Am I correct in interpreting this:
https://security-tracker.debian.org/tracker/CVE-2017-9445
as meaning a fix to it still isn't in sid, and therefore is not
yet in the process of percolating down to stretch?

Is there a preferred way of temporarily mitigating the problem?
Remote exploitation that you can trigger by forcing a program to DNS
queries seems kind of bad.

Perry
-- 
Perry E. Metzgerpe...@piermont.com



Re: Tracing hard Lockup

2017-07-01 Thread Mini Trader
I tried oracles version as well and same response. Is there any sort of
utility that can be used to sandbox this and see what is going on?

Any log files other than kernlog or syslog?

On Sat, Jul 1, 2017 at 4:42 PM deloptes  wrote:

> Mini Trader wrote:
>
> > My last two cents on this are that the vCenter consoles shows the machine
> > going to 100% CPU.  I've tried even executing the java process with the
> > nice command to see if this could throttle the CPU.
> >
> > Whatever it is that this java process is doing is completely throwing the
> > system into a loop hole on this release which I find very odd.
>
>
> with no log information or information what exactly this program is doing
> not much can be done.
>
> I've faced some similar issues with wrong or incomplete setups, when wrong
> libraries were on the way or similar. But you say it is a fresh install ...
> so something with openjre/jdk must be wrong. It could be specific to ESX
> and the combination as well, but I have no clue
>
> I prefer using the oracles version actually ...
>
>
>
>
>


Re: Tracing hard Lockup

2017-07-01 Thread deloptes
Mini Trader wrote:

> My last two cents on this are that the vCenter consoles shows the machine
> going to 100% CPU.  I've tried even executing the java process with the
> nice command to see if this could throttle the CPU.
> 
> Whatever it is that this java process is doing is completely throwing the
> system into a loop hole on this release which I find very odd.


with no log information or information what exactly this program is doing
not much can be done.

I've faced some similar issues with wrong or incomplete setups, when wrong
libraries were on the way or similar. But you say it is a fresh install ...
so something with openjre/jdk must be wrong. It could be specific to ESX
and the combination as well, but I have no clue

I prefer using the oracles version actually ... 






Re: [Stretch] apt-get has no updates?

2017-07-01 Thread Dejan Jocic
On 01-07-17, Larry Dighera wrote:
> On Fri, 30 Jun 2017 16:31:37 -0400, you wrote:
> 
> >> Someone else mentioned unattended upgrades, which is a thing I have
> >> never used, and which is also a thing I would disable if I ever found
> >> it running.  But that's just me.
> >
> >I would like to do that but don't know how. Anyone caring to enlighten 
> >me without me having to bother poor old Mr. Google yet again - it would 
> >be appreciated. :)
> 
> Perhaps you'll find this useful:
> 
> ===
> # auto-update-on-off.sh   This script will enable and disable
> unattended-updates
> #
> # LGD: Thu Jun  1 15:00:09 PDT 2017
> #
> 
> [[ $# != 1 ]] && echo -e "\n\t\"$@\" Unknown\n\tUsage: $0 
> \n\t\tWhere:  e = Enable\n\t\t\td = Disable\n\t\t\ts = Status" >&2 &&
> exit 1 
> 
> FILNAM="/etc/apt/apt.conf.d/10periodic"
> OFF="APT::Periodic::Unattended-Upgrade \"0\";" 
> ON="APT::Periodic::Unattended-Upgrade \"1\";" 
> 
> status(){ # Get current status
>   if [[ -s "$FILNAM" ]] ;then # Does file exist with >0 file
> length?
> [[ $(grep -qs 1 "$FILNAM") ]] && STATUS=Enabled
> [[ $(grep -qs 0 "$FILNAM") ]] && STATUS=Disabled
>   else
> STATUS="Not Configured (Disabled)"
>   fi
>   return $STATUS
> }
> 
> 
> case $1 in 
>   -[sS]*) status; echo "Current $0 status: $STATUS">&2;exit 0 ;;
>   -[dD]*) echo "$OFF" >/etc/apt/apt.conf.d/10periodic ;;
>   -[eE]*) echo "$ON"  >/etc/apt/apt.conf.d/10periodic ;;
>   *) echo -e "\n\t\"$@\" Unknown\n\tUsage: $0  \n\t\tWhere:  e
> = Enable\n\t\t\td = Disable\n\t\t\ts = Status" >&2 && exit 1 
> esac  
> 
> =
> 

Why would you do that? Write and use script to change one 0/1 in
/etc/apt/apt.conf/20auto-upgrades? Or even 2, in case that you change
both for update and upgrade. Not to mention that those using gnome
software or some kde equivalent can do it in GUI too.




Re: [Stretch] apt-get has no updates?

2017-07-01 Thread Larry Dighera
On Fri, 30 Jun 2017 16:31:37 -0400, you wrote:

>> Someone else mentioned unattended upgrades, which is a thing I have
>> never used, and which is also a thing I would disable if I ever found
>> it running.  But that's just me.
>
>I would like to do that but don't know how. Anyone caring to enlighten 
>me without me having to bother poor old Mr. Google yet again - it would 
>be appreciated. :)

Perhaps you'll find this useful:

===
# auto-update-on-off.sh This script will enable and disable
unattended-updates
#
# LGD: Thu Jun  1 15:00:09 PDT 2017
#

[[ $# != 1 ]] && echo -e "\n\t\"$@\" Unknown\n\tUsage: $0 
\n\t\tWhere:  e = Enable\n\t\t\td = Disable\n\t\t\ts = Status" >&2 &&
exit 1 

FILNAM="/etc/apt/apt.conf.d/10periodic"
OFF="APT::Periodic::Unattended-Upgrade \"0\";" 
ON="APT::Periodic::Unattended-Upgrade \"1\";" 

status(){   # Get current status
  if [[ -s "$FILNAM" ]] ;then   # Does file exist with >0 file
length?
[[ $(grep -qs 1 "$FILNAM") ]] && STATUS=Enabled
[[ $(grep -qs 0 "$FILNAM") ]] && STATUS=Disabled
  else
STATUS="Not Configured (Disabled)"
  fi
  return $STATUS
}


case $1 in 
  -[sS]*) status; echo "Current $0 status: $STATUS">&2;exit 0   ;;
  -[dD]*) echo "$OFF" >/etc/apt/apt.conf.d/10periodic   ;;
  -[eE]*) echo "$ON"  >/etc/apt/apt.conf.d/10periodic   ;;
  *) echo -e "\n\t\"$@\" Unknown\n\tUsage: $0  \n\t\tWhere:  e
= Enable\n\t\t\td = Disable\n\t\t\ts = Status" >&2 && exit 1 
esac  

=



Re: Tracing hard Lockup

2017-07-01 Thread Mini Trader
My last two cents on this are that the vCenter consoles shows the machine
going to 100% CPU.  I've tried even executing the java process with the
nice command to see if this could throttle the CPU.

Whatever it is that this java process is doing is completely throwing the
system into a loop hole on this release which I find very odd.

On Sat, Jul 1, 2017 at 10:39 AM, Mini Trader 
wrote:

> This isn't reserving JVM heap space > 2GB.  This is a java process taking
> down an entire system.
>
> I didn't have any memory issues.  They do mention that it was fixed in version
> 4.9.30-2+deb9u2. Which I do have installed. The system is a completely new
> and updated install.
>
> On Sat, Jul 1, 2017 at 10:22 AM, deloptes  wrote:
>
>> Mini Trader wrote:
>>
>> > I've installed Debian 9/Stetch and am having issues with what looks to
>> be
>> > a java application.
>> >
>> > When connecting to the app from certain devices the entire system will
>> > lockup inside an ESXi VM.
>> >
>> > There doesn't appear to be any errors.  The system just locks up, no
>> > console, no IP nothing works. The ESXi host is good as it runs
>> everything
>> > else fine and has so for a long time.
>> >
>> > Additionally, I've run this application on other systems (kernel
>> > 4.4/ubuntu
>> > 16 LTS) and have no issues at all.  How can I track this down?  Nothing
>> is
>> > in syslog or kernlog.
>> >
>> > Thanks!
>>
>> There was another thread "Problem reserving enough space for Java object
>> heap since stretch upgrade"
>>
>> regards
>>
>>
>


Re: He

2017-07-01 Thread Humberto A. Sousa

Uso o Thunderbird, aqui só respondo para a lista.

Saudações,


Humberto Araujo de Sousa
r
Em 29/06/2017 23:07, Gilberto F da Silva escreveu:

On Tue, Jun 27, 2017 at 04:06:32PM -0400, Thiago C. F. wrote:

Fala Gilberto. Aqui novamente.

Então... como não faço parte de outra lista de email, para mim aqui sem
problemas.

Eu clico em "Responder a todos", seleciono o email da lista e apago o
restante dos remetentes que me aparecem.

   Então!  Poderia ser mais simples se a respostas sempre fossem para a
   lista.  Sei que isso não vai mudar.  Tem bem uns 15 anos que reclamo
   disso.
   




Re: mplayer won't play audio CD

2017-07-01 Thread Thomas Schmitt
Hi,

Brian wrote:
> Once Thomas Schmitt had disposed of the idea that mplayer requires a
> cable between drive and sound card it comes down to software and not
> hardware.

To be exacting, i only doubted the idea. It got disposed by the report
that a normal user (the desktop starting user ?) can have success.

The hardware is at least not yet proven to be faulty. I am not really
aware whether it was reported that one of the successful CD play attempts
was acoustically flawless. (E.g. by pure Grunge with all its fine nuances.)


> I installed mplayer on a machine (which has pulseaudio) yesterday. There
> was no problem with playing an audio CD

Did you try as superuser ?

I have the gutt feeling that user "root" is slowly being moved into
the role of the man who once was indispensible but now is just an
old fart whom the young agile people don't trust to do anything useful.

Curt noticed this message in the original message:
>  XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by
>  uid 1000! (This could e g happen if you try to connect to a non-root
>  PulseAudio as a root user, over the native protocol. Don't do that.) 

So if the software means that the superuser is not welcome, then this
should be discussed with the software's Debian maintainer or its upstream
developers.

The other messages in the original post
  https://lists.debian.org/debian-user/2017/06/msg01215.html
look like software or system management problems, too.
(But hey, i am no expert with software that causes flamewars whenever
 its name gets mentioned.)

-

Brian wrote:
> cdtool uses the analogue play method

It has been deprecated by MMC-5, which is the first MMC version mentioning
Blu-ray drives. So one could assume that BD drives would not support the
PLAY AUDIO command. Nevertheless, my newest two BD drives announce its
availability by feature 103h. Only my good old LG GGW-H20 does not offer it.
I assume the ASUS and the Optiarc burner have an audio socket at their
backside. The last one i had with front earphone socket was a Lite-On CD
burner from 2003.


Have a nice day :)

Thomas



Re: Questions on nonfree software

2017-07-01 Thread Brian
On Sat 01 Jul 2017 at 11:12:44 -0700, Charles Chambers wrote:

> Is the firmware-9.0.0-amd64-DVD-1 the right media to use during
> installation if I have hardware that requires the nonfree repository?

Yes.



Questions on nonfree software

2017-07-01 Thread Charles Chambers
Is the firmware-9.0.0-amd64-DVD-1 the right media to use during
installation if I have hardware that requires the nonfree repository?

I'm trying to puzzle through an offline installation.


Re: mplayer won't play audio CD

2017-07-01 Thread Brian
On Sat 01 Jul 2017 at 10:42:45 -0500, David Wright wrote:

> On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> > deloptes  writes:
> > 
> > > Rodolfo Medina wrote:
> > >
> > >> Are you calling me stupid...?  Thanks... ;-)
> > >
> > > just to be clear. You have had setup an alias for mplayer, correct? So
> > > everything people advised here was run via this alias 'mplayer -demuxer
> > > lavf'.
> > 
> > 
> > I'm sorry...  I apologize.  But the problem with root still remains...
> 
> First, it would seem sensible to clean up your first post by
> revealing the output from, say,
> 
> # mplayer --noconfig=all --ao=alsa cdda://

As someone whose use and knowledge of anything other than vlc is
minimal I did this on unstable and got

 Unknown option on command line: --noconfig=all
 Error parsing option on the command line: --noconfig=all
 
> Currently I don't have mplayer installed, only mplayer2.

How relevant is this statement to the issue?

  Package: mplayer2 (3:0.23.0-2) 
  transitional dummy package for mpv

  This is a transitional dummy package to get upgrading systems to
  install the mpv package. It can safely be removed once no other
  package depends on it. 

> I would point out that this command still reads input.conf
> files so you might want to move them out of the way too.
> 
> Secondly, most of the error messages involved alsa rather
> than the CD player. How does root get on with playing
> sound files from other sources?

Once Thomas Schmitt had disposed of the idea that mplayer requires a
cable between drive and sound card it comes down to software and not
hardware.

(I use cdplay from the cdtool package quite extensively, especially in
scripts. If the OP had been using cdtool, Curt's cable suggestion would
have very likely been correct as cdtool uses the analogue play method).

I installed mplayer on a machine (which has pulseaudio) yesterday. There
was no problem with playing an audio CD, but I did not go in for any
customisation, which is probably not the case with Rodolfo Medina.

-- 
Brian.



Re: Debian v9 and auto logoff

2017-07-01 Thread Mike Kupfer
tony mollica wrote:

> I let the xscreensaver run overnight and it appears that after some
> time, whatever amount of time that is, the system still falls back to
> the lightdm greeter for logging in.  However, after logging in again I
> now get the xscreensaver unlock input window,

This doesn't sound to me like you're being logged out.  Rather it sounds
like light-locker is locking your screen, which is does by bringing up a
new lightdm instance.  

> The question is still 'where is the auto logoff taking place and where
> is the config for that"?

Please check whether light-locker is running.  If it is, you could
disable it in the list of startup applications.  Or, depending on what
desktop environment you're using, you could try removing the package
entirely.

I realize that this doesn't explain the problem with your printer.
Maybe that's actually a separate, coincidental issue?

mike



Re: Debian v9 and auto logoff

2017-07-01 Thread tony mollica

FOUND IT!  I think.

And there's a lot of discussion about it, too.
The issue is that Stretch has implemented light-locker as a screen 
locker for security purposes.   A search for 'debian light-locker' 
brings up a lot of discussion and bug reports concerning this new 
standard addition to Stretch.  It's doing what it's supposed to do on my 
system but I got used to mate-screensaver so I'll probably continue. 
For now, I just killed the process to see what happens.  The package 
can't be removed without taking a bunch of other stuff with it, it 
seems, but I'll try removing the startup file in /etc/xdg/autostart in 
an attempt to do it the easy way.  I browsed quickly through the source 
and found some configuration items that I don't quite understand.  Maybe 
a config file is planned for the future.


So, now I know why the system drops back to a lightdm greeter even 
though a screensaver is active.  I think I know how to disable it but 
there's no formal procedure for doing so.  It's tied to xfce packages so 
I'm afraid to remove the package for fear of spending another 3 days 
setting up the system again with all my apps.  But I'm still not sure 
why the running apps were suspended and didn't continue to run in the 
background.


tony

On 07/01/2017 08:42 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Jul 01, 2017 at 08:13:26AM -0700, tony mollica wrote:

Yet more information on this particular issue.

I let the xscreensaver run overnight and it appears that after some
time, whatever amount of time that is, the system still falls back
to the lightdm greeter for logging in.  However, after logging in
again I now get the xscreensaver unlock input window, so it appears
that even though it now falls back to the lightdm login it doesn't
kill the xscreensaver.  Previously the mate-screensaver unlock was
evidently bypassed when the lightdm greeter was enabled.

The question is still 'where is the auto logoff taking place and
where is the config for that"?

Next question is 'with no screensavers enabled, how long will it
take for the system to automatically log me out to the lightdm
greeter'?


This is getting stranger and stranger. I'm out of ideas for now,
sorry :-(

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllXwtYACgkQBcgs9XrR2kZmEACfWyjpSfVFUuo0bjdgmZA8haaK
ikIAn3xkqVdKp8TjpArz9wBifRm+KJec
=Fqhz
-END PGP SIGNATURE-






Re: mplayer won't play audio CD

2017-07-01 Thread David Wright
On Sat 01 Jul 2017 at 16:00:12 (+), Curt wrote:
> On 2017-07-01, David Wright  wrote:
> >
> > Secondly, most of the error messages involved alsa rather
> > than the CD player. How does root get on with playing
> > sound files from other sources?
> >
> 
> Actually, upon further reflection, the root error message from his
> original post was:
> 
>  XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by
>  uid 1000! (This could e g happen if you try to connect to a non-root
>  PulseAudio as a root user, over the native protocol. Don't do that.) 
> 
> which might mean the incriminated environment variable is being inherited 
> from his
> user shell (if he used 'su' maybe).
> 
> So, in order obviate that, he should--well, you tell me.

# mplayer --noconfig=all --ao=alsa cdda://
 ↑
should deal with that.

Without that parameter, I (mplayer2) get an extra line of output:

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
AO: [pulse] Init failed: Connection refused ←
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)

Cheers,
David.



Re: [Stretch] apt-get has no updates?

2017-07-01 Thread David Wright
On Fri 30 Jun 2017 at 22:46:35 (+0200), Dejan Jocic wrote:
> On 30-06-17, David Wright wrote:
> > 
> > I'm not sure what this is all about; unattended-upgrades appears
> > to have been maintained by the same person since the days of etch,
> > a decade ago. What constitutes an advertisement, and how is the
> > question posed as to whether updates are automatic or not?
> > 
> > Cheers,
> > David.
> > 
> 
> Probably because unattended-upgrades were not pulled in before
> automatically on install of Debian. In Stretch, through some added
> recommends, they are installed by default on at least Gnome and KDE
> tasks.

My points were aimed at two sections: "how did this got to stable
without really being advertised properly through those running
testing. I was under the impression that for anything other than
security-bug-fixes everything goes through the unstable and testing
first. This seems as something that appeared behind us."
and
"An update of apt/synaptics/aptitude could have included
the option to consciously choose between auto or manual updates."

Neither of those have been addressed.

But on your point of what's pulled in automatically by accepting
recommendations, I can't see a great difference between jessie and
stretch; either of  task-gnome-desktop  or  task-kde-desktop
appears to install  unattended-upgrades  by virtue of the chains
of dependencies/recommendations below.

jessie:

unattended-upgrades ['education-common', 'python-software-properties', 
'python3-software-properties']

python3-software-properties ['software-properties-common', 
'software-properties-gtk', 'software-properties-kde']

software-properties-gtk ['synaptic']
software-properties-kde ['apper']

synaptic ['apt', 'aptoncd', 'cinnamon-desktop-environment', 
'education-desktop-gnome', 'education-desktop-lxde', 'education-desktop-mate', 
'education-desktop-other', 'task-gnome-desktop', 'task-lxde-desktop', 
'task-mate-desktop', 'task-xfce-desktop']

apper ['apper-dbg', 'browser-plugin-packagekit', 'gstreamer1.0-packagekit', 
'packagekit-gtk3-module', 'task-kde-desktop']

stretch:

unattended-upgrades ['education-common', 'parl-desktop', 'plinth', 
'python3-software-properties']

python3-software-properties ['software-properties-common', 
'software-properties-gtk', 'software-properties-kde']

software-properties-gtk ['gnome-packagekit', 'gnome-software', 'synaptic']
software-properties-kde ['apper', 'plasma-discover']

synaptic ['apt', 'cinnamon-desktop-environment', 'education-desktop-gnome', 
'education-desktop-lxde', 'education-desktop-mate', 'education-desktop-other', 
'mate-menu', 'task-gnome-desktop', 'task-lxde-desktop', 'task-lxqt-desktop', 
'task-mate-desktop', 'task-xfce-desktop']

apper ['gstreamer1.0-packagekit', 'packagekit-gtk3-module', 'task-kde-desktop']

Cheers,
David.



Re: mplayer won't play audio CD

2017-07-01 Thread Curt
On 2017-07-01, David Wright  wrote:
>
> Secondly, most of the error messages involved alsa rather
> than the CD player. How does root get on with playing
> sound files from other sources?
>

Actually, upon further reflection, the root error message from his
original post was:

 XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by
 uid 1000! (This could e g happen if you try to connect to a non-root
 PulseAudio as a root user, over the native protocol. Don't do that.) 

which might mean the incriminated environment variable is being inherited from 
his
user shell (if he used 'su' maybe).

So, in order obviate that, he should--well, you tell me.

-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.



Re: mplayer won't play audio CD

2017-07-01 Thread David Wright
On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> deloptes  writes:
> 
> > Rodolfo Medina wrote:
> >
> >> Are you calling me stupid...?  Thanks... ;-)
> >
> > just to be clear. You have had setup an alias for mplayer, correct? So
> > everything people advised here was run via this alias 'mplayer -demuxer
> > lavf'.
> 
> 
> I'm sorry...  I apologize.  But the problem with root still remains...

First, it would seem sensible to clean up your first post by
revealing the output from, say,

# mplayer --noconfig=all --ao=alsa cdda://

Currently I don't have mplayer installed, only mplayer2.
I would point out that this command still reads input.conf
files so you might want to move them out of the way too.

Secondly, most of the error messages involved alsa rather
than the CD player. How does root get on with playing
sound files from other sources?

Thirdly, what's in /dev/snd?

# mplayer --noconfig=all --ao=alsa cdda://
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing cdda://.
Found audio CD with 11 tracks.
CD-Text (CD):

Track 1
CD-Text (track):

Detected file format: rawaudio
Selected audio codec: Uncompressed PCM [pcm]
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   3.2 (03.2) of 4629.0 ( 1:17:09.0)  2.6% 

Exiting... (Quit)
# ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x  2 root root   60 Jul  1 08:25 by-path
crw-rw+ 1 root audio 116,  2 Jul  1 08:25 controlC0
crw-rw+ 1 root audio 116,  5 Jul  1 08:25 hwC0D0
crw-rw+ 1 root audio 116,  4 Jul  1 08:28 pcmC0D0c
crw-rw+ 1 root audio 116,  3 Jul  1 10:28 pcmC0D0p
crw-rw+ 1 root audio 116,  1 Jul  1 08:26 seq
crw-rw+ 1 root audio 116, 33 Jul  1 08:25 timer

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Jul  1 08:25 pci-:00:1b.0 -> ../controlC0
# 

Cheers,
David.



Re: Debian v9 and auto logoff

2017-07-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Jul 01, 2017 at 08:13:26AM -0700, tony mollica wrote:
> Yet more information on this particular issue.
> 
> I let the xscreensaver run overnight and it appears that after some
> time, whatever amount of time that is, the system still falls back
> to the lightdm greeter for logging in.  However, after logging in
> again I now get the xscreensaver unlock input window, so it appears
> that even though it now falls back to the lightdm login it doesn't
> kill the xscreensaver.  Previously the mate-screensaver unlock was
> evidently bypassed when the lightdm greeter was enabled.
> 
> The question is still 'where is the auto logoff taking place and
> where is the config for that"?
> 
> Next question is 'with no screensavers enabled, how long will it
> take for the system to automatically log me out to the lightdm
> greeter'?

This is getting stranger and stranger. I'm out of ideas for now,
sorry :-(

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllXwtYACgkQBcgs9XrR2kZmEACfWyjpSfVFUuo0bjdgmZA8haaK
ikIAn3xkqVdKp8TjpArz9wBifRm+KJec
=Fqhz
-END PGP SIGNATURE-



Re: mplayer won't play audio CD

2017-07-01 Thread Curt
On 2017-07-01, Rodolfo Medina  wrote:
> deloptes  writes:
>
>> Rodolfo Medina wrote:
>>
>>> Are you calling me stupid...?  Thanks... ;-)
>>
>> just to be clear. You have had setup an alias for mplayer, correct? So
>> everything people advised here was run via this alias 'mplayer -demuxer
>> lavf'.
>
>
> I'm sorry...  I apologize.  But the problem with root still remains...

There's no need to apologize. As for the root problem I don't believe it
is a problem in the sense you mean it (I think). pulseaudio is not
intended to be run as root (that's what I'm reading on the innertubes). As
usual my understanding of the whole kaboodle is quite fragile, however. Also
I believe pulseaudio is configured per-useredly.  IOW you'd have to
configure it for root in order for it to work (for root). Maybe.

Unless you're not using pulseaudio, in which case...

Now you see who's stupid.

;-)

> Thanks
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.



Re: Disk Access

2017-07-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Jul 01, 2017 at 04:22:29PM +0100, David wrote:
> Dear List,
> 
> I am using Linux Mint Debian (Betsy) and I'm having problems writing to
> removable hard disks.
> 
> There are no problems reading and writing to USB sticks.
> 
> But removable sata disks I can read, but not write to. These disks are
> in caddies that are designed to be removed.
> 
> I thought the problem was because one of the disks in question was not
> formatted on the Mint machine, so I formatted a new disk, same problem.
> 
> Can anybody offer me a solution?

What file system are those disks formatted with?

Things to check:

  - what are the permissions of the files/directories you try to
write to?
  - is the whole disk perhaps mounted read only?

You may get some hints from the error message when you try the
write or from the log files, e.g. /var/log/messages (at mount
time).

> Would I have the same problem if I used native Debian?

Difficult to say without more hints.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllXwT4ACgkQBcgs9XrR2kZKpwCfeiJiW2lsPZ+FNCOv2Gc83V72
yeIAnRqa0n4VjuaVCC6etmgKzborVDPd
=A7VF
-END PGP SIGNATURE-



Disk Access

2017-07-01 Thread David
Dear List,

I am using Linux Mint Debian (Betsy) and I'm having problems writing to
removable hard disks.

There are no problems reading and writing to USB sticks.

But removable sata disks I can read, but not write to. These disks are
in caddies that are designed to be removed.

I thought the problem was because one of the disks in question was not
formatted on the Mint machine, so I formatted a new disk, same problem.

Can anybody offer me a solution?

Would I have the same problem if I used native Debian?

Thank you for reading this.

David.




Re: Debian v9 and auto logoff

2017-07-01 Thread tony mollica

Yet more information on this particular issue.

I let the xscreensaver run overnight and it appears that after some 
time, whatever amount of time that is, the system still falls back to 
the lightdm greeter for logging in.  However, after logging in again I 
now get the xscreensaver unlock input window, so it appears that even 
though it now falls back to the lightdm login it doesn't kill the 
xscreensaver.  Previously the mate-screensaver unlock was evidently 
bypassed when the lightdm greeter was enabled.


The question is still 'where is the auto logoff taking place and where 
is the config for that"?


Next question is 'with no screensavers enabled, how long will it take 
for the system to automatically log me out to the lightdm greeter'?


tony

On 06/30/2017 11:31 AM, tony mollica wrote:

Concerning this issue, I removed the mate-screensaver and installed
xscreensaver and while it certainly doesn't have as polished an
appearance as the mate version, it works.
It does the same thing, locks the screen and does not drop back to the
lightdm greeter logon and doesn't suspend in-progress apps, namely, my
3D printing apps.

I'll try and contact the author or package management folks to see if
anything can be re-configged in mate-screensaver to eliminate the
original problem.

Tony

On 06/30/2017 08:35 AM, tony mollica wrote:

This bug report sounds familiar but I find no evidence of anything that
appears to be related to this in any of the logs.

The only screensaver loaded is the mate-screensaver.  If I disable the
screensaver via the idle time and lock options and then lock the screen
manually, it stays at the mate-screensaver lock normally and never falls
back to the lightdm logon screen.

Even so, it's odd that if the screensaver idle time and lock options are
chosen,  and the screen is locked after the timeout, or locked manually
then the screensaver activates like it should but after a time it falls
back to the lightdm greeter screen.  BUT, the programs that were running
at the time are not killed but just appear to be suspended so when the
logon takes place the programs start processing again.  I would think
that if the system drops back to the lightdm greeter that it would kill
all the processes for the user but that doesn't happen.

I can't find the documentation for the mate-screensaver configuration
anywhere.

tony

On 06/29/2017 12:27 PM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jun 29, 2017 at 08:43:26AM -0700, tony mollica wrote:

Hello, yet again, and dropping the html.

Here's the problem.  I use this computer, previously v8, now v9, for
3D printing.  The old system worked perfectly in that the
screensaver did it's job BUT kept me logged in forever.  The new
system doesn't do this.  The screensaver set off and after some
period of time I get logged off automatically.  The BIG problem is
that when this happens printing stops but the extruder and build
plate stay at operating temperature, which is good to restart but
not good if I'm not there to catch it.  Basically, if I can't
prevent the auto logout this system is useless for 3D printing.

How do I do it, disable the auto logoff?  Searched a lot yesterday
but none of that appears to be in effect here.


Difficult to say. Your desktop environment is Gnome? After such a
forced logout, can you spot anything in the X server log (typically
in your home directory, somewhere in .local/share/xorg, unless you
have an uncommon setup, and then you would know ;-)

Perhaps in /var/log/daemon.log?

Here is an old bug where a crashing screensaver would force an X
server restart:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569933

Any similarities?

Does it happen when you disable the lock screen feature in the
screen saver? When you disable the screen saver altogether?

Hope there's a useful hint in there.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllVVLwACgkQBcgs9XrR2kaUfACfUOwtEq5UOEug1JuJ4fydFz6v
disAni9622kcKbcX6NCCCU6DxWD7tMhE
=ApJD
-END PGP SIGNATURE-












Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
deloptes  writes:

> Rodolfo Medina wrote:
>
>> Are you calling me stupid...?  Thanks... ;-)
>
> just to be clear. You have had setup an alias for mplayer, correct? So
> everything people advised here was run via this alias 'mplayer -demuxer
> lavf'.


I'm sorry...  I apologize.  But the problem with root still remains...

Thanks

Rodolfo



Re: Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread Adam Rosi-Kessel

On 7/1/2017 9:50 AM, Eduardo M KALINOWSKI wrote:

On 01-07-2017 10:47, Adam Rosi-Kessel wrote:

I have been unable to execute Java with >=2048M memory allocation
since upgrading to stretch. I've changed nothing in my configuration
otherwise.

Might be related to this:
https://lists.debian.org/debian-security-announce/2017/msg00160.html
I just tried upgrading to 4.9.30-2+deb9u2 per that posting and rebooted; 
same result.


Adam



Re: Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread Adam Rosi-Kessel

On 7/1/2017 10:37 AM, David Wright wrote:

On Sat 01 Jul 2017 at 09:47:38 (-0400), Adam Rosi-Kessel wrote:

I have been unable to execute Java with >=2048M memory allocation
since upgrading to stretch. I've changed nothing in my configuration
otherwise.

# ulimit -v
unlimited

What does # ulimit -H -v say?


Also unlimited.

Adam



Re: Tracing hard Lockup

2017-07-01 Thread Mini Trader
This isn't reserving JVM heap space > 2GB.  This is a java process taking
down an entire system.

I didn't have any memory issues.  They do mention that it was fixed in version
4.9.30-2+deb9u2. Which I do have installed. The system is a completely new
and updated install.

On Sat, Jul 1, 2017 at 10:22 AM, deloptes  wrote:

> Mini Trader wrote:
>
> > I've installed Debian 9/Stetch and am having issues with what looks to be
> > a java application.
> >
> > When connecting to the app from certain devices the entire system will
> > lockup inside an ESXi VM.
> >
> > There doesn't appear to be any errors.  The system just locks up, no
> > console, no IP nothing works. The ESXi host is good as it runs everything
> > else fine and has so for a long time.
> >
> > Additionally, I've run this application on other systems (kernel
> > 4.4/ubuntu
> > 16 LTS) and have no issues at all.  How can I track this down?  Nothing
> is
> > in syslog or kernlog.
> >
> > Thanks!
>
> There was another thread "Problem reserving enough space for Java object
> heap since stretch upgrade"
>
> regards
>
>


Re: Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread David Wright
On Sat 01 Jul 2017 at 09:47:38 (-0400), Adam Rosi-Kessel wrote:
> I have been unable to execute Java with >=2048M memory allocation
> since upgrading to stretch. I've changed nothing in my configuration
> otherwise.
> 
> I have plenty of RAM:
> 
> # free
>   totalusedfree  shared buff/cache
> available
> Mem:5168396 3326140  245712 85320 1596544 1227812
> Swap:   2255616  259204 1996412
> 
> # ulimit -v
> unlimited

What does # ulimit -H -v say?

> # java -Xmx2048M
> Error occurred during initialization of VM
> Could not reserve enough space for 2097152KB object heap
> 
> # ls -l /etc/alternatives/java
> lrwxrwxrwx 1 root root 45 Jun 27 20:45 /etc/alternatives/java ->
> /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java
> 
> But the same problem occurs when I switch to other Java
> alternatives. (openjdk-8-jre version = 8u131-b11-2).
> 
> Interestingly, if I set ulimit -v to something other than
> 'unlimited' but higher than the amount requested for the java
> process, it works:
> 
> # ulimit -v 2097153
> # java -Xmx2048M
> 
> (no errors)
> 
> But shouldn't "unlimited" be higher than any arbitrary value I put
> there? Also, for Java programs that are run as daemons from
> /etc/init.d, I have been unable to figure out how to get the
> arbitrary ulimit -v setting to "stick".
> 
> TIA for any suggestions for how to fix or troubleshoot.
> 

Cheers,
David.



Re: firewall rules for NAT

2017-07-01 Thread Igor Cicimov
On 1 Jul 2017 7:31 pm, "Pascal Hambourg"  wrote:

Le 01/07/2017 à 03:25, Igor Cicimov a écrit :

>
> You know what, i just checked the iptables rules the op sent again and
> realized this:
>
> -A POSTROUTING -d 10.7.33.109/32  -p tcp -m tcp
>
> --dport 25 -j SNAT --to-source 10.7.33.100
>
> is NOT how you would do SNAT with DNAT, you normally would need:
>
> A POSTROUTING -s 10.7.33.109/32  -p tcp -m tcp -
> -j SNAT --to-source 10.7.33.100
>

These two rules do not have the same purpose at all.

The OP's rule applies to incoming SMTP connections forwarded to the server,
in order to workaround the routing flaw (wrong gateway).

Your rule applies to outgoing connexions from the server,

so 1) is useless for incoming connections


That's my point, i misread his rule and thought it was the one I posted.

and 2) would be ignored in the original setup because the server did not
use the router as its default gateway.


Yep, but not if the source ip was being changed to the one of the router in
which case the reply would not go to the dgw.


PS. Igor, the plain text version of your posts does not properly mark the
quoted text from the message you reply to : it appears as if it was your
text, without any quotation marks.


Re: Tracing hard Lockup

2017-07-01 Thread deloptes
Mini Trader wrote:

> I've installed Debian 9/Stetch and am having issues with what looks to be
> a java application.
> 
> When connecting to the app from certain devices the entire system will
> lockup inside an ESXi VM.
> 
> There doesn't appear to be any errors.  The system just locks up, no
> console, no IP nothing works. The ESXi host is good as it runs everything
> else fine and has so for a long time.
> 
> Additionally, I've run this application on other systems (kernel
> 4.4/ubuntu
> 16 LTS) and have no issues at all.  How can I track this down?  Nothing is
> in syslog or kernlog.
> 
> Thanks!

There was another thread "Problem reserving enough space for Java object
heap since stretch upgrade"

regards



Re: mplayer won't play audio CD

2017-07-01 Thread deloptes
Rodolfo Medina wrote:

> Are you calling me stupid...?  Thanks... ;-)

just to be clear. You have had setup an alias for mplayer, correct? So
everything people advised here was run via this alias 'mplayer -demuxer
lavf'.

regards



Re: Votre expérience : Imprimante laser

2017-07-01 Thread andre_debian
> andre_deb...@numericable.fr a écrit:
> > J'utilise une imprimante Epson, modèle WF (Work Force), encre,
> > couleur.
> > Ils existent de nombreux modèles WF, pas chers du tout.
> > Consommation encre réduite, même en impression standard.
> > Imprmante parfaitement reconnue grâce aux pilotes Epson,
> > mais proprio...

On Saturday 01 July 2017 13:22:27 Gaëtan PERRIER wrote:
> Le Sat, 1 Jul 2017 12:37:28 +0200
> Oui mais attention au suivi dans le temps. A une époque j'avais un scanner
> Epson qui fonctionnait parfaitement avec les pilotes proprio Epson jusqu'au
> jour où j'ai passé ma debian en 64 bits... Les pilotes proprio n'ayant pas
> été suivis il n'y avait pas de pilote 64 bits. J'ai donc du me séparer du
> scanner. 
> Côté imprimante ou multifonction je suis fidèle à HP depuis plus de 20 ans
> et je n'ai jamais eu de problème de pilote. Si l'imprimante est supportée
> par linux au moment de l'achat, elle le reste au fil du temps.
> Gaëtan

J'ai écrit alors un peu vite, je suis en Jessie 32 bits.

Désolé si des pilotes Epson n'existent pas ou plus pour Linux 64 bits.
On avait signalé un cas identique pour les imprimantes Brother.

C'est dommageable pour Linux ces pilotes qui ne sont plus suivis,
Ça contribue à faire rester des personnes dans le monde Windows...

André





Tracing hard Lockup

2017-07-01 Thread Mini Trader
I've installed Debian 9/Stetch and am having issues with what looks to be a
java application.

When connecting to the app from certain devices the entire system will
lockup inside an ESXi VM.

There doesn't appear to be any errors.  The system just locks up, no
console, no IP nothing works. The ESXi host is good as it runs everything
else fine and has so for a long time.

Additionally, I've run this application on other systems (kernel 4.4/ubuntu
16 LTS) and have no issues at all.  How can I track this down?  Nothing is
in syslog or kernlog.

Thanks!


Re: mplayer won't play audio CD

2017-07-01 Thread Curt
On 2017-07-01, Rodolfo Medina  wrote:
>>
>> Oh, I see.  There's something vaguely wild about this goose.
>
> Are you calling me stupid...?  Thanks... ;-)
>

I'm not calling you stupid and you're not stupid, far from it.

-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.



Re: Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread Eduardo M KALINOWSKI
On 01-07-2017 10:47, Adam Rosi-Kessel wrote:
> I have been unable to execute Java with >=2048M memory allocation
> since upgrading to stretch. I've changed nothing in my configuration
> otherwise.

Might be related to this:
https://lists.debian.org/debian-security-announce/2017/msg00160.html


-- 
Não posso e não vou cortar minha consciência para me adequar
ao figurino deste ano.
-- Lilian Hellman

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread Adam Rosi-Kessel
I have been unable to execute Java with >=2048M memory allocation since 
upgrading to stretch. I've changed nothing in my configuration otherwise.


I have plenty of RAM:

# free
  totalusedfree  shared buff/cache   
available

Mem:5168396 3326140  245712 85320 1596544 1227812
Swap:   2255616  259204 1996412

# ulimit -v
unlimited

# java -Xmx2048M
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

# ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 45 Jun 27 20:45 /etc/alternatives/java -> 
/usr/lib/jvm/java-8-openjdk-i386/jre/bin/java


But the same problem occurs when I switch to other Java alternatives. 
(openjdk-8-jre version = 8u131-b11-2).


Interestingly, if I set ulimit -v to something other than 'unlimited' 
but higher than the amount requested for the java process, it works:


# ulimit -v 2097153
# java -Xmx2048M

(no errors)

But shouldn't "unlimited" be higher than any arbitrary value I put 
there? Also, for Java programs that are run as daemons from /etc/init.d, 
I have been unable to figure out how to get the arbitrary ulimit -v 
setting to "stick".


TIA for any suggestions for how to fix or troubleshoot.



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Curt  writes:

> On 2017-07-01, Rodolfo Medina  wrote:
>> Brian  writes:
>>
 > How about
 >
 >   vlc cdda:// ?
 
 Yes, vlc works!
>>>
>>> Not quite what you wanted but you can now play an audio CD.
>>
>> Recently I noticed that mplayer, when playing audio CDs, is always
>> complaining this way:
>
> When playing audio CDs?
>
>>  `Audio device got stuck!'
>>
>> , and sound continuosly `jumps' so becoming unheardable, and I thought it
>> was the device's hardware fault.  But vlc plays well with no at all that
>> problem.  I wonder about that...  mplayer is very potent and comfortable,
>> that's why I use it...
>>
>>
>>> We suppose the CD ROM shows activity (a blinking light) with
>>> 'mplayer cdda://' even though there is no sound output.
>>
>>
>> I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing
>> it,
>> now mplayer works regularly over CDs (apart from the above problem) as a
>> normal
>
> Oh, I see.  There's something vaguely wild about this goose.

Are you calling me stupid...?  Thanks... ;-)


>> user.  Instead, as root, the problem I started this thread with remains:
>> mplayer doesn't work...  Not so great a problem, after all.  But isn't it
>> strange that something user can do root can't...?
>>
>
> Comme c'est étrange...
>
>>> How do you go on with
>>>
>>>   'mplayer -ao alsa cdda://'?
>>
>>
>> This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
>> normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a
>> new thread about that.)



Re: mplayer won't play audio CD

2017-07-01 Thread Curt
On 2017-07-01, Rodolfo Medina  wrote:
> Brian  writes:
>
>>> > How about
>>> >
>>> >   vlc cdda:// ?
>>> 
>>> Yes, vlc works!
>>
>> Not quite what you wanted but you can now play an audio CD.
>
> Recently I noticed that mplayer, when playing audio CDs, is always complaining
> this way:

When playing audio CDs?

>  `Audio device got stuck!'
>
> , and sound continuosly `jumps' so becoming unheardable, and I thought it was
> the device's hardware fault.  But vlc plays well with no at all that problem.
> I wonder about that...  mplayer is very potent and comfortable, that's why I
> use it...
>
>
>> We suppose the CD ROM shows activity (a blinking light) with
>> 'mplayer cdda://' even though there is no sound output.
>
>
> I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing 
> it,
> now mplayer works regularly over CDs (apart from the above problem) as a 
> normal

Oh, I see.  There's something vaguely wild about this goose. 

> user.  Instead, as root, the problem I started this thread with remains:
> mplayer doesn't work...  Not so great a problem, after all.  But isn't it
> strange that something user can do root can't...?
>

Comme c'est étrange...

>> How do you go on with
>>
>>   'mplayer -ao alsa cdda://'?
>
>
> This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
> normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a new
> thread about that.)
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.



Re: [ATTENTION] Votre expérience :: Imprimante laser

2017-07-01 Thread Jacques Lav!gnotte.
Le 01/07/2017 à 14:35, Christophe De Natale a écrit :
> Le 01/07/2017 à 11:44, Jacques Lav!gnotte. a écrit :

> Une personne l'a fait fonctionner avec le driver HP Laserjet Pro P1102w
> Source : https://askubuntu.com/questions/900272/laserjet-pro-m12w

Je répète :

SOUS RESERVE de l'avoir configuré préalablement en Wifi sous W$ ou Mac
avec le logiciel fourni sur le CD HP.

Source : https://askubuntu.com/questions/900272/laserjet-pro-m12w

For setting up the Laser Jet Pro M12w you still need a windows or mac
with the supplied software. But ones it is set up you can use the
printer under Ubuntu 16.04 by selecting the HP Laserjet Pro CP1025nw
driver which is part of the HPLib package.


-- 
GnuPg : 0x156520BBC8F5B1E3
WeUsePGP Because privacy matters http://weusepgp.info/



Wired and Wireless with Etables

2017-07-01 Thread ray
I would like to determine how to configure dom0 to use either wireless or wired 
connections automatically depending upon which are available.

I am trying to get Xen4.9 up and Debian 9 on a Toshiba laptop with only a 
wireless and a wired (enx0) connection through a docking station.  I am trying 
to use:  
https://wiki.debian.org/BridgeNetworkConnections#Bridging_with_a_wireless_NIC
This laptop is a personal workstation implementing a variety of vms and OSs. 
Testing wireless internet connection is using JetPack 4G AP and I intend to use 
various public/private wireless APs.  

It seems the way to do this is to bond wlan0 and eth0 as bond0, then build a 
bridge for domus with bond0.  Etables requires the bridge MAC to be defined in 
the rules.  I do not know how to assign a MAC to the bridge since I don't know 
which interface came up.

How can I set up bridging without knowing which interface is up?

Thanks,
Ray



Código de Processo Penal Comentado à Luz da Defesa

2017-07-01 Thread Livraria Mizuno


Se você não conseguir visualizar essa mensagem, clique aqui 
(http://mailchi.mp/4f44f1838419/palestra-como-aplicar-as-smulas-de-jurisprudncia-segundo-o-novo-cpc-20975?e=ea3bd08d7b)
 .
http://editorajhmizuno.us16.list-manage1.com/track/click?u=ecc1f9585949c78847cf882c4=b95db228a1=ea3bd08d7b
http://editorajhmizuno.us16.list-manage.com/track/click?u=ecc1f9585949c78847cf882c4=a6f31cccf7=ea3bd08d7b
http://editorajhmizuno.us16.list-manage1.com/track/click?u=ecc1f9585949c78847cf882c4=c28d3ec8ef=ea3bd08d7b
http://editorajhmizuno.us16.list-manage.com/track/click?u=ecc1f9585949c78847cf882c4=c8e35e2149=ea3bd08d7b
http://editorajhmizuno.us16.list-manage.com/track/click?u=ecc1f9585949c78847cf882c4=373efb3797=ea3bd08d7b
http://editorajhmizuno.us16.list-manage1.com/track/click?u=ecc1f9585949c78847cf882c4=831d9f4a20=ea3bd08d7b


** 
(http://editorajhmizuno.us16.list-manage.com/track/click?u=ecc1f9585949c78847cf882c4=b85599dbe9=ea3bd08d7b)
Confira as regras de frete, parcelamento e política de vendas em nosso site. 
Ofertas válidas por 10 dias ou enquanto duraram os estoques, o que ocorrer 
primeiro. As ofertas podem ser alteradas ou interrompidas a qualquer momento, 
sem aviso prévio. Imagens meramente ilustrativas. Consulte o site para maiores 
detalhes dos produtos anunciados.

Atendimento pelo telefone (19) 3571-0420 de segunda a sexta-feira das 08:00 às 
17:00h.
Nosso endereço de postagem é R. Prof. Mário Zini, 880 - Cidade Jardim - Leme / 
SP - CEP 13614-230.

Acesse o site para acompanhar seu pedido ou dúvida na entrega do pedido. 
Utilizamos Empresa Brasileira de Correios para envio dos pedidos.
Livraria Mizuno, Todos os direitos reservados.

Você está recebendo este e-mail porque se cadastrou no site 
www.livrariamizuno.com.br/
Você está cadastrado como: debian-user-portuguese@lists.debian.org

** Quero descadastrar meu e-mail desta lista 
(http://editorajhmizuno.us16.list-manage1.com/unsubscribe?u=ecc1f9585949c78847cf882c4=2e12e8fb94=ea3bd08d7b=d222de6a9f)
07/01/2017

** 
(http://editorajhmizuno.us16.list-manage.com/track/click?u=ecc1f9585949c78847cf882c4=f80a387f57=ea3bd08d7b)

Re: sftp en ligne de commande

2017-07-01 Thread Dominique Asselineau
Alain Rpnpif wrote on Sat, Jul 01, 2017 at 09:22:32AM +0200
> Bonjour,
> 
> Le 25 juin 2017, Erwan David a écrit :
> 
> > Le 06/25/17 à 11:35, bernard.schoenac...@free.fr a écrit :
> > > bonjour,
> > > 
> > > je recherche un moyen d'employer sftp en ligne de commande
> > > pour transférer des fichiers ...
> > > 
> > > actuellement mc est inutilisable (segfault erreur -31) pour sftp
> > > 
> > > en mode graphique j'emploie filezilla, mais quelles sont les solutions 
> > > pour
> > > soit télécharger ou téléverser ?
> > > 
> > > 
> > > slt
> > > bernard
> > >   
> > 
> > sftp tout simplement. (doit être dans openssh-client)
> > Sinon lftp connaît le protocole aussi.
> 
> Un exemple :
> lftp sftp://utilisat...@exemple.com
> Les commandes sont les mêmes que lftp.
> man lftp
> ou dans lftp : help ou bien help [lacommande]
> 
> J'aime lftp car il est très stable sur une connexion et sa commande
> mirror est puissante.

En effet et il prend aussi en charge le protocole FTPES.

Dominique
--



Re: [ATTENTION] Votre expérience :: Imprimante laser

2017-07-01 Thread Christophe De Natale

Le 01/07/2017 à 11:44, Jacques Lav!gnotte. a écrit :

SOUS RESERVE de l'avoir configuré préalablement en Wifi sous W$ ou Mac
avec le logiciel fourni sur le CD HP.


Bonjour,

Elle possède la fonctionnalité "wps" (il faut bien entendu que le 
routeur en dispose également) donc pas de soucis pour la déclarer sur le 
réseau :-)

Une personne l'a fait fonctionner avec le driver HP Laserjet Pro P1102w
Source : https://askubuntu.com/questions/900272/laserjet-pro-m12w



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Recently I noticed that mplayer, when playing audio CDs, is always
> complaining this way:
>
>  `Audio device got stuck!'
>
> , and sound continuosly `jumps' so becoming unheardable, and I thought it was
> the device's hardware fault.

The problem disappears running mplayer as:

 mplayer -ao alsa

Rodolfo



Re: mplayer won't play audio CD

2017-07-01 Thread Rodolfo Medina
Brian  writes:

>> > How about
>> >
>> >   vlc cdda:// ?
>> 
>> Yes, vlc works!
>
> Not quite what you wanted but you can now play an audio CD.

Recently I noticed that mplayer, when playing audio CDs, is always complaining
this way:

 `Audio device got stuck!'

, and sound continuosly `jumps' so becoming unheardable, and I thought it was
the device's hardware fault.  But vlc plays well with no at all that problem.
I wonder about that...  mplayer is very potent and comfortable, that's why I
use it...


> We suppose the CD ROM shows activity (a blinking light) with
> 'mplayer cdda://' even though there is no sound output.


I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing it,
now mplayer works regularly over CDs (apart from the above problem) as a normal
user.  Instead, as root, the problem I started this thread with remains:
mplayer doesn't work...  Not so great a problem, after all.  But isn't it
strange that something user can do root can't...?


> How do you go on with
>
>   'mplayer -ao alsa cdda://'?


This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a new
thread about that.)

Rodolfo



Re: firewall rules for NAT

2017-07-01 Thread Brad Rogers
On Sat, 1 Jul 2017 13:25:30 +0200
Pascal Hambourg  wrote:

Hello Pascal,

>Are you sure that your mailer displays the plain text version, not the 
>HTML version ?

I'll change my answer;  I only looked at a couple of Igor's messages and
they were fine.  However, further study shows that in some posts, quoted
text isn't quoted.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Walking through town is quite scary
I Predict A Riot - Kaiser Chiefs


signature.asc
Description: OpenPGP digital signature


Re: firewall rules for NAT

2017-07-01 Thread Brad Rogers
On Sat, 1 Jul 2017 13:25:30 +0200
Pascal Hambourg  wrote:

Hello Pascal,

>Are you sure that your mailer displays the plain text version, not the 
>HTML version ?

Positive.  I use Claws Mail *without* any HTML plugin.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
He signed up for just three years, it seemed a small amount
Tin Soldiers - Stiff Little Fingers


signature.asc
Description: OpenPGP digital signature


Re: Votre expérience :: Imprimante laser

2017-07-01 Thread Gaëtan PERRIER
Le Sat, 1 Jul 2017 12:37:28 +0200
andre_deb...@numericable.fr a écrit:

> On Saturday 01 July 2017 11:54:09 maderios wrote:
> > Depuis au moins 15 ans, je n'utilise que des Brother laser monochrome 
> > réseau avec Debian: rapport qualité prix imbattable, vitesse 
> > d'impression excellente, simplicité de la configuration et de la 
> > maintenance.
> > Prévoir si possible un tambour qui assure 25.000 pages. L'imprimante 
> > coûte plus cher mais on s'y retrouve quand on doit changer le tambour...
> 
> J'utilise une imprimante Epson, modèle WF (Work Force), encre,
> couleur.
> Ils existent de nombreux modèles WF, pas chers du tout.
> 
> Consommation encre réduite, même en impression standard.
> 
> Imprmante parfaitement reconnue grâce aux pilotes Epson,
> mais proprio...
> 

Oui mais attention au suivi dans le temps. A une époque j'avais un scanner
Epson qui fonctionnait parfaitement avec les pilotes proprio Epson jusqu'au
jour où j'ai passé ma debian en 64 bits... Les pilotes proprio 'ayant pas été
suivi il n'y avait pas de pilote 64 bits. J'ai donc du me séparer du scanner.

Côté imprimante ou multifonction je suis fidèle à HP depuis plus de 20 ans et
je n'ai jamais eu de problème de pilote. Si l'imprimante est supportée par
linux au moment de l'achat, elle le reste au fil du temps.

Gaëtan


pgpaEkwpkrcjA.pgp
Description: PGP signature


Re: firewall rules for NAT

2017-07-01 Thread Pascal Hambourg

Le 01/07/2017 à 12:54, Brad Rogers a écrit :

On Sat, 1 Jul 2017 11:30:41 +0200
Pascal Hambourg  wrote:

Hello Pascal,


PS. Igor, the plain text version of your posts does not properly mark
the quoted text from the message you reply to : it appears as if it was
your text, without any quotation marks.


It's fine here.


Are you sure that your mailer displays the plain text version, not the 
HTML version ?
The HTML version is fine but in the plain text version, the only 
quotation marks ">" are the ones that were already present in the quoted 
message.




Re: Wheezy to Stretch upgrade failure

2017-07-01 Thread Jimmy Johnson

On 06/24/2017 02:04 AM, Andrew wrote:

Ive tried to update a non GUI system from Wheezy to Stretch and its gone
horribly wrong.

Theres so many errors I cant even begin to fathom out what has gone
wrong and I think the only solution is going to be a clean install.


New infrastructure, new apt.

Where you left off run #apt-get -f install and then #dpkg --configure -a
Do that a couple of times and then you can start using the new apt, as 
in #apt update #apt upgrade and then install package 'upgrade-system' 
and run it and use -f install when you have to and dpkg --configure -a 
until done.



Would I have been wise to upgrade it to Jessie first?


Easier for sure, but you would still use the same steps as above.


Regards

Andrew


Cheers!
--
Jimmy Johnson

Debian Stretch - KDE Plasma 5.8.6 - Intel G3220 - EXT4 at sda11
Registered Linux User #380263



Re: firewall rules for NAT

2017-07-01 Thread Brad Rogers
On Sat, 1 Jul 2017 11:30:41 +0200
Pascal Hambourg  wrote:

Hello Pascal,

>PS. Igor, the plain text version of your posts does not properly mark 
>the quoted text from the message you reply to : it appears as if it was 
>your text, without any quotation marks.

It's fine here.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Loaded like a freight train flyin' like an aeroplane
Nightrain - Guns 'N' Roses


signature.asc
Description: OpenPGP digital signature


Re: Votre expérience :: Imprimante laser

2017-07-01 Thread andre_debian
On Saturday 01 July 2017 11:54:09 maderios wrote:
> Depuis au moins 15 ans, je n'utilise que des Brother laser monochrome 
> réseau avec Debian: rapport qualité prix imbattable, vitesse 
> d'impression excellente, simplicité de la configuration et de la 
> maintenance.
> Prévoir si possible un tambour qui assure 25.000 pages. L'imprimante 
> coûte plus cher mais on s'y retrouve quand on doit changer le tambour...

J'utilise une imprimante Epson, modèle WF (Work Force), encre,
couleur.
Ils existent de nombreux modèles WF, pas chers du tout.

Consommation encre réduite, même en impression standard.

Imprmante parfaitement reconnue grâce aux pilotes Epson,
mais proprio...

Prix des cartouches XL chez Amazon pour modèles WF = 1€ pièce.

Les imprimantes laser sont chers ainsi que les tambours-recharges.

Bon week-end,

André






Re: mplayer won't play audio CD

2017-07-01 Thread Brian
On Sat 01 Jul 2017 at 01:12:18 +0100, Rodolfo Medina wrote:

> Brian  writes:
> 
> > On Fri 30 Jun 2017 at 12:27:18 +0100, Rodolfo Medina wrote:
> >
> >> "Thomas Schmitt"  writes:
> >> 
> >> > Curt wrote:
> >> >>  mplayer -cdrom-device /dev/hdb cdda://1
> >> >> or wherever the device exists on your machine.
> >> >
> >> > Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
> >> 
> >> `mplayer -cdrom-device /dev/sr0 cdda://1' gives the same error output as
> >> `mplayer cdda://'.
> >
> > How about
> >
> >   vlc cdda:// ?
> 
> Yes, vlc works!

Not quite what you wanted but you can now play an audio CD.

We suppose the CD ROM shows activity (a blinking light) with
'mplayer cdda://' even though there is no sound output.

How do you go on with

  'mplayer -ao alsa cdda:// ?

> > You have "solved" this problem previously:
> >
> >   https://lists.debian.org/debian-user/2017/02/msg01080.html
> 
> Yes, but that time mplayer won't play files either.  Now instead mplayer works
> with mp3, audio files...  but fails only with audio CDs.  That time the 
> problem
> was solved installing alsaplayer-alsa and pulseaudio.  Now I already have 
> those
> packages in my system...

This could also be a software issue but this time involving pulseaudio.

-- 
Brian.



Re: kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-07-01 Thread Curt
On 2017-06-29, Beco  wrote:

>>From time to time, every one or two boots, KDE won't load, it shows a
> dialog with only an "OK" button and the message:
>
> kde can't find file usr/share/kde4/apps/kdm/themes/lines

> I click ok and get redirected to a console login.
>
> If I just boot again, it will likely boot just fine.
>
> The first time I saw the problem was during the first boot after the
> upgrade. I didn't know then that I could just boot again, and I started
> digging in the console to realize that I could not solve the problem and I
> started all the install process again, which took me some of my weekend
> time.
>
> I tried to google then, and today again after the problem reappears, but I
> can't find any forum with another case similar.

This looks similar:

https://bbs.archlinux.org/viewtopic.php?id=116488

> Any ideas ? Thanks.

-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.



Re: Votre expérience :: Imprimante laser

2017-07-01 Thread maderios

On 07/01/2017 09:47 AM, Vincent Bernat wrote:

Brother et Lexmark devrait aussi avoir au catalogue des imprimantes
durable et bien supportées par CUPS pour Linux avec un rapport
qualité-prix intéressant surtout chez le premier.


Brother a son propre dialecte de Postscript dont le support est plutôt
difficile car beaucoup de fonctionnalités de Postscript ne sont pas
disponibles (alors qu'ils se disent compatible avec Postscript 3). On se
retrouve à pouvoir imprimer une page toutes les 5 minutes après avoir
désactivé toute forme de compression/optimisation. Le support PCL est
meilleur, mais la vitesse reste plutôt faible (5ppm ?).

Ils filent des drivers proprios dont les performances sont bien
meilleures.

Expérience sur une HL-4150CDN (qui a maintenant quelques années).

Les imprimantes qui supportent du vrai Postscript ou du PDF sont sans
doute de meilleures cibles.


Bonjour
Depuis au moins 15 ans, je n'utilise que des Brother laser monochrome 
réseau avec Debian: rapport qualité prix imbattable, vitesse 
d'impression excellente, simplicité de la configuration et de la 
maintenance.
Prévoir si possible un tambour qui assure 25.000 pages. L'imprimante 
coûte plus cher mais on s'y retrouve quand on doit changer le tambour...


--
Maderios



Re: [ATTENTION] Votre expérience :: Imprimante laser

2017-07-01 Thread Jacques Lav!gnotte.
Le 30/06/2017 à 19:51, MERLIN Philippe a écrit :


> HP Laserjet Pro M12W pour Wifi même prix il semble que cela soit celle qui 
> succède à la 1102 w
> marche bien avec linux et Cups 

Oui-mais-non :

la M12W *serait* supportée par HPLIP avec le modèle Laserjet Pro CP1025nw

SOUS RESERVE de l'avoir configuré préalablement en Wifi sous W$ ou Mac
avec le logiciel fourni sur le CD HP.

Source :

https://h30434.www3.hp.com/t5/Printer-Software-and-Drivers/HP-Laser-Jet-Pro-M12w-ubuntu-driver/td-p/5963452

Pas de W$ ici.

> Philippe MERLIN

J.

-- 
GnuPg : 0x156520BBC8F5B1E3
WeUsePGP Because privacy matters http://weusepgp.info/



Re: firewall rules for NAT

2017-07-01 Thread Pascal Hambourg

Le 01/07/2017 à 03:25, Igor Cicimov a écrit :


You know what, i just checked the iptables rules the op sent again and
realized this:

-A POSTROUTING -d 10.7.33.109/32  -p tcp -m tcp
--dport 25 -j SNAT --to-source 10.7.33.100

is NOT how you would do SNAT with DNAT, you normally would need:

A POSTROUTING -s 10.7.33.109/32  -p tcp -m tcp -
-j SNAT --to-source 10.7.33.100


These two rules do not have the same purpose at all.

The OP's rule applies to incoming SMTP connections forwarded to the 
server, in order to workaround the routing flaw (wrong gateway).


Your rule applies to outgoing connexions from the server, so 1) is 
useless for incoming connections and 2) would be ignored in the original 
setup because the server did not use the router as its default gateway.


PS. Igor, the plain text version of your posts does not properly mark 
the quoted text from the message you reply to : it appears as if it was 
your text, without any quotation marks.




Re: Votre expérience :: Imprimante laser

2017-07-01 Thread Daniel Huhardeaux

Le 01/07/2017 à 09:31, Alain Rpnpif a écrit :

[...]
Brother et Lexmark devrait aussi avoir au catalogue des imprimantes
durable et bien supportées par CUPS pour Linux avec un rapport
qualité-prix intéressant surtout chez le premier.
Sauf que Brother ne fait pas évoluer ses drivers en fonction de l'OS. Je 
vis cela tous les jours avec une DCP-135C impossible à faire fonctionner 
sur une Jessie alors qu' avec Wheezy ou Ubuntu 16.04 pas de soucis.


--
Daniel Huhardeaux
+33.368460...@tootai.netsip:8...@sip.tootai.net
+48.222472...@tootai.nettootaiNET



Re: Votre expérience :: Imprimante laser

2017-07-01 Thread daniel huhardeaux

Le 01/07/2017 à 09:31, Alain Rpnpif a écrit :

[...]
Brother et Lexmark devrait aussi avoir au catalogue des imprimantes
durable et bien supportées par CUPS pour Linux avec un rapport
qualité-prix intéressant surtout chez le premier.
Sauf que Brother ne fait pas évoluer ses drivers en fonction de l'OS. Je 
vis cela tous les jours avec une DCP-135C impossible à faire fonctionner 
sur une Jessie alors qu' avec Wheezy ou Ubuntu 16.04 pas de soucis.


--
Daniel Huhardeaux
+33.368460...@tootai.netsip:8...@sip.tootai.net
+48.222472...@tootai.nettootaiNET



Re: Votre expérience :: Imprimante laser

2017-07-01 Thread Vincent Bernat
 ❦  1 juillet 2017 09:31 +0200, Alain Rpnpif  :

>> > >  sous Linux
>> > >  hp-setup
>> > 
>> > Merci, Jacques  
>> 
>> Pour le clicodrome,  moi j'aime bien hplip-gui qui fournit hp-toolbox
>> mais chacun fait ce qu'il veut.
>> 
>
> Brother et Lexmark devrait aussi avoir au catalogue des imprimantes
> durable et bien supportées par CUPS pour Linux avec un rapport
> qualité-prix intéressant surtout chez le premier.

Brother a son propre dialecte de Postscript dont le support est plutôt
difficile car beaucoup de fonctionnalités de Postscript ne sont pas
disponibles (alors qu'ils se disent compatible avec Postscript 3). On se
retrouve à pouvoir imprimer une page toutes les 5 minutes après avoir
désactivé toute forme de compression/optimisation. Le support PCL est
meilleur, mais la vitesse reste plutôt faible (5ppm ?).

Ils filent des drivers proprios dont les performances sont bien
meilleures.

Expérience sur une HL-4150CDN (qui a maintenant quelques années).

Les imprimantes qui supportent du vrai Postscript ou du PDF sont sans
doute de meilleures cibles.
-- 
Test input for validity and plausibility.
- The Elements of Programming Style (Kernighan & Plauger)


signature.asc
Description: PGP signature


Re: CUPS

2017-07-01 Thread Alain Rpnpif
Le 29 juin 2017, Benoit B a écrit :

> Bonjour à tous,
> 
> Depuis la mise à jour vers stretch, mon imprimante, ne réagit plus
> quand je lui envois une tâche.
> 
> Rien dans page_log, ni dans error_log.
> Seulement dans access_log
> localhost - - [29/Jun/2017:14:10:54 +0200] "POST
> /printers/Brother-HL-2030-series HTTP/1.1" 200 398 Print-Job
> successful-ok
> 
> 
> Description:Brother HL-2030 series Location:mars Driver:Brother
> HL-2035 Foomatic/hl1250 (recommended) (grayscale)
> Connection:usb://Brother/HL-2030%20series?serial=A7J883842
> Defaults:job-sheets=none, none media=iso_a4_210x297mm sides=one-side
> 
> J'ai supprimé et recréé dans cups rien n'y fait.
> 
> Comment diagnostiquer ?

Vérifier sur la page WEB de CUPS http://localhost:631/admin que
l'imprimante n'est pas arrêtée par CUPS. En effet sa règle par défaut
est de le faire quand l'imprimante est en erreur, même par simple
manque de papier.
Il est préférable de mettre comme règle d'annuler le travail (job) ou
de le réessayer plutôt que d'arrêter l'imprimante ce qui interdit tout
travail ultérieur sauf en redémarrant CUPS.
Voir http://localhost:631/printers/
Cliquer sur le nom de l'imprimante. Boutons Maintenance, Administration,
cliquer Set default options (après avoir rentrer le mot de passe root
ou administrateur.
Cliquer sur Règles et dans Règles d'erreur, choisir ce qui convient
(j'aime bien abort-job).
Confirmer en cliquant sur Set default options.

J'avoue que je ne sais pas pourquoi ce réglage n'agit pas sur toutes les
imprimantes.

Si ça peut aider mais peut-être que ce n'est pas le problème.
Autre piste : ne pas prendre foomatic mais un autre pilote. Jene
connais pas cette imorimante.

Cordialement.

-- 
Alain Rpnpif



Re: Votre expérience :: Imprimante laser

2017-07-01 Thread Alain Rpnpif
Le 30 juin 2017, Haricophile a écrit :

> Le Fri, 30 Jun 2017 21:46:27 +0200,
> "Jacques Lav!gnotte."  a écrit :
> 
> > >  sous Linux
> > >  hp-setup
> > 
> > Merci, Jacques  
> 
> Pour le clicodrome,  moi j'aime bien hplip-gui qui fournit hp-toolbox
> mais chacun fait ce qu'il veut.
> 

Brother et Lexmark devrait aussi avoir au catalogue des imprimantes
durable et bien supportées par CUPS pour Linux avec un rapport
qualité-prix intéressant surtout chez le premier.

-- 
Alain Rpnpif



Re: sftp en ligne de commande

2017-07-01 Thread Alain Rpnpif
Bonjour,

Le 25 juin 2017, Erwan David a écrit :

> Le 06/25/17 à 11:35, bernard.schoenac...@free.fr a écrit :
> > bonjour,
> > 
> > je recherche un moyen d'employer sftp en ligne de commande
> > pour transférer des fichiers ...
> > 
> > actuellement mc est inutilisable (segfault erreur -31) pour sftp
> > 
> > en mode graphique j'emploie filezilla, mais quelles sont les solutions pour
> > soit télécharger ou téléverser ?
> > 
> > 
> > slt
> > bernard
> >   
> 
> sftp tout simplement. (doit être dans openssh-client)
> Sinon lftp connaît le protocole aussi.

Un exemple :
lftp sftp://utilisat...@exemple.com
Les commandes sont les mêmes que lftp.
man lftp
ou dans lftp : help ou bien help [lacommande]

J'aime lftp car il est très stable sur une connexion et sa commande
mirror est puissante.

-- 
Alain Rpnpif