Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread Thierry Despeyroux
Bonjour,

bien sur ça dépend des autres fichiers, mais on peut utiliser le * dans
le nom de fichier pour faire le mv,
et puis il y a emacs... bien pratique aussi, ou simplement nautilus ou
caja

Thierry

Le Fri, 28 Apr 2017 19:46:42 +0200,
MERLIN Philippe  a écrit :

> Bonsoir,
> J'ai un problème facile pour la liste j'ai un nom de Répertoire avec
> un Encodage inconnu :
> le nom du fichier tel qu'est donné par un ls :
> "Gers Chambre d'h?te" 
> J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
> l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des
> soucis. Toute idée sera la bienvenue, je sèche lamentablement .
> Philippe Merlin
> 



converting my local site to be https only access

2017-04-28 Thread Gene Heskett
Greetings all;

My web site (see the sig) is local, on this machine, in a pretty tight 
sandbox, but not running https.

Where can I find a tut that is a complete instruction set to have it do 
an auto-redirect to itself, but using the "s" stuff regardless of the 
accessing client as long as the client can handle the https stuff this 
conversion will return to the client?

I tried putting those 3 lines quoted numerous times at the bottom of the 
httpd/conf/httpd.conf, but that killed local access so I assume it also 
killed external access too.  And its failure did not generate an 
error.log entry.

Something was said about the AllowRedirect settings in httpd.conf, but it 
did not specify what to change it to. Currently several such entries 
are "none"

I want to have it applied to the whole site. URL to the best tut please.

Thank you. 

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Firefox: security vs flexibility or rtfm?

2017-04-28 Thread Andy Smith
Hi Mark,

I think Mozilla's position is reasonable since if you allow this
sort of thing to remain possible, nobody will fix anything. Broken
software will ship with instructions for the users to "just make an
exception".

Would it be feasible to put a proxy in front of the HTTP-only
service, that consumes HTTP on its backend and exposes HTTPS on its
frontend?

That way, the burden is on the administrator rather than the
end-user, which is probably a fairer division of labour.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Jessie for Udoo X86?

2017-04-28 Thread Larry Dighera
Below are the lightdm and Xorg logs from my Debian Jessie install that
crashes when attempting to launch X11.

In particular, the "[  1983.306] (II) VESA(0): Bad V_BIOS checksum" message
in the Xorg log is troubling. 

Is this canonical evidence of hardware corruption?

== LIGHTDM LOG ==
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.3, UID=0 PID=3271
[+0.00s] DEBUG: Loading configuration dirs from
/usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from
/usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration dirs from
/usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from
/etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Registered seat module surfaceflinger
[+0.03s] DEBUG: Adding default seat
[+0.03s] DEBUG: Seat: Starting
[+0.03s] DEBUG: Seat: Creating greeter session
[+0.03s] DEBUG: Seat: Creating display server of type x
[+0.04s] DEBUG: Using VT 7
[+0.04s] DEBUG: Seat: Starting local X display on VT 7
[+0.04s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.05s] DEBUG: DisplayServer x-0: Writing X server authority to
/var/run/lightdm/root/:0
[+0.05s] DEBUG: DisplayServer x-0: Launching X Server
[+0.05s] DEBUG: Launching process 3275: /usr/bin/X :0 -seat seat0 -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.05s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.05s] DEBUG: Registering seat with bus path
/org/freedesktop/DisplayManager/Seat0
[+0.06s] WARNING: Error getting user list from org.freedesktop.Accounts:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Accounts was not provided by any .service files
[+0.06s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.13s] DEBUG: User larry added

== X.ORG LOG ==
[  1983.182]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[  1983.182] X Protocol Version 11, Revision 0
[  1983.182] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  1983.182] Current Operating System: Linux UdooX86Debian 3.16.0-4-amd64 #1
SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64
[  1983.182] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64
root=UUID=f0748180-a596-4f02-85d8-34b09b57cb42 ro quiet
[  1983.183] Build Date: 11 February 2015  12:32:02AM
[  1983.183] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
[  1983.183] Current version of pixman: 0.32.6
[  1983.183]Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1983.183] Markers: (--) probed, (**) from config file, (==) default
setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1983.184] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 27 09:10:40
2017
[  1983.185] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1983.190] (==) No Layout section.  Using the first Screen section.
[  1983.190] (==) No screen section available. Using defaults.
[  1983.190] (**) |-->Screen "Default Screen Section" (0)
[  1983.190] (**) |   |-->Monitor ""
[  1983.193] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1983.193] (==) Automatically adding devices
[  1983.193] (==) Automatically enabling devices
[  1983.193] (==) Automatically adding GPU devices
[  1983.193] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[  1983.193]Entry deleted from font path.
[  1983.194] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/100dpi/:unscaled,
   /usr/share/fonts/X11/75dpi/:unscaled,
   /usr/share/fonts/X11/Type1,
   /usr/share/fonts/X11/100dpi,
   /usr/share/fonts/X11/75dpi,
   built-ins
[  1983.194] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1983.194] (II) The server relies on udev to provide the list of input
devices.
   If no devices become available, reconfigure udev or disable
AutoAddDevices.
[  1983.194] (II) Loader magic: 0x7f66a0513d80
[  1983.194] (II) Module ABI versions:
[  1983.195]X.Org ANSI C Emulation: 0.4
[  1983.195]X.Org Video Driver: 18.0
[  1983.195]X.Org XInput driver : 21.0
[  1983.195]X.Org Server Extension : 8.0
[  1983.199] (--) PCI:*(0:0:2:0) 8086:22b1:8086:7270 rev 53, Mem @
0x9000/16777216, 0x8000/268435456, I/O @ 0x2000/64
[  1983.201] (II) LoadModule: "glx"
[  1983.204] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1983.234] (II) Module glx: 

[Résolu] Caractère inconnue dans nom de Répertoire

2017-04-28 Thread MERLIN Philippe
Le vendredi 28 avril 2017, 20:19:49 CEST Étienne Mollier a écrit :
> Par un beau début de fin de semaine, Philippe Merlin écrivit:
> > Bonsoir,
> > J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un
> > Encodage inconnu :
> > le nom du fichier tel qu'est donné par un ls :
> > "Gers Chambre d'h?te"
> > J'essaye de  le renommer par mv et je n'y arrive pas il semble que
> > l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des
> > soucis. Toute idée sera la bienvenue, je sèche lamentablement .
> > Philippe Merlin
> 
> Bonsoir Philippe,
> 
> Plusieurs solutions sont possibles.  Comme dit plus tôt, pour
> commencer il faudrait voir si l'autocomplétion du nom de fichier
> en utilisant la touche  permet de saisir correctement le nom
> de fichier.
> 
> Si le caractère Unicode bloque ce mécano, alors il y a une astuce
> à base de `find' et de numéro d'inode.  Tu peux obtenir le numéro
> d'inode de ton fichier avec :
> 
> $ ls -i
> 16125155 Gers Chambre d'h?te
> 
> Reporte le numéro dans un find comme suit et le fichier sera
> renommé :
> 
> $ find . -xdev -inum 16125155 -exec mv '{}' nom-potable ';'
> 
> Le fichier devrait enfin être renommé, quel que soit son nom
> d'origine.  N'oublies pas le "';'" à la fin.  Pas de risque de
> trouver des doublons de fichiers, par définition les numéros
> d'inodes sont uniques pour un système de fichier donné (l'option
> `-xdev' est là pour s'assurer que le `find' ne va pas aller
> chercher dans d'autres FS).
> 
> Il se peut également que tu ais quelques soucis avec la
> configuration de la langue de ton environnement, cette sortie est
> typique d'une variable LANG soit non réglée, soit réglée sur `C',
> auquel cas le problème pourrait être corrigé en réglant la langue
> de ton système sur un réglage qui lui est connu et puis en
> ouvrant un nouveau terminal comme suit :
> 
> export LANG=fr_FR.UTF-8
> xterm  # ou tout autre terminal de ton choix
> 
> mv "Gers Chambre d'hôte" gers-chambres-d-hote
> 
> Si ça coince, il faudra reconfigurer les locales, mais
> normalement les réglages les plus courant devant résoudre ton
> problème sont "fr_FR.UTF-8", "en_US.UTF-8", ou au pire "C.UTF-8".
> 
> À plus
Merci pour toutes vos solutions, j'ai appris pas mal de chose.
la solution qui a marché pour moi  est :
mv "Gers Chambre d'h"?"ote" "Gers Chambre d'hôte"
J'avais cette solution quand j'ai fait appel à la liste mais je n'avais pas vu 
que le nom du fichier commençait par  une date, la fatigue peut être.
Encore Merci.
Philippe Merlin



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread Dominique Asselineau
Étienne Mollier wrote on Fri, Apr 28, 2017 at 08:19:49PM +0200
> 
> 
> Par un beau début de fin de semaine, Philippe Merlin écrivit:
> > Bonsoir,
> > J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un 
> > Encodage inconnu :
> > le nom du fichier tel qu'est donné par un ls :
> > "Gers Chambre d'h?te" 
> > J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
> > l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des 
> > soucis.
> > Toute idée sera la bienvenue, je sèche lamentablement .
> > Philippe Merlin
> > 
> 
> Bonsoir Philippe,
> 
> Plusieurs solutions sont possibles.  Comme dit plus tôt, pour
> commencer il faudrait voir si l'autocomplétion du nom de fichier
> en utilisant la touche  permet de saisir correctement le nom
> de fichier.

J'ai déjà rencontré ce problème, les caractères étant encodés en
iso-8859, et l'autocomplétion est clairement la bonne solution pour
renommer le fichier.  On a des ? mais ça n'est pas important pour
l'opération.

dom
-- 



Re: Firefox: security vs flexibility or rtfm?

2017-04-28 Thread Anders Andersson
On Fri, Apr 28, 2017 at 8:35 PM, Mark Copper  wrote:
>> Would mozilla.support.firefox on news.mozilla.org be more productive as your
>> description suggests an OS independent problem?
>
> I think the issue has been raised and rejected at Firefox. Although OS
> independent, I was thinking a work-around might involve the
> distro--Chromium is gone but maybe there's a browser we didn't
> consider, for instance. We only need one browser to work as these
> tasks are all performed in house.

There are loads of browsers.

https://packages.debian.org/stable/web/

Search for "browser", find a suitable one.



Re: Program to electronically sign PDF's?

2017-04-28 Thread David Wright
On Fri 28 Apr 2017 at 20:11:53 (+0200), Daniel Pocock wrote:
> On 28/04/17 18:40, Dan Ritter wrote:
> > On Thu, Apr 27, 2017 at 08:30:14PM -0400, Fjfj109 wrote:
> >> How do you do this with Evince?
> >>
> >>  Original Message 
> >> Subject: Re: Program to electronically sign PDF's?
> >> Local Time: April 27, 2017 7:20 PM
> >> UTC Time: April 27, 2017 11:20 PM
> >> From: d...@randomstring.org
> >> To: Fjfj109 
> >> debian-user@lists.debian.org 
> >>
> >> On Thu, Apr 27, 2017 at 05:41:00PM -0400, Fjfj109 wrote:
> >>> I've tried GIMP, but the document is password protected and does not give 
> >>> me the option to input the password. Is there any program people know of 
> >>> in Debian (stable) that allows me to do this?
> >>
> >> epdfviewer and evince should both have that ability.
> > 
> > Please remember not to top-post.
> > 
> > I just tried this out, and as soon as I tried to open a
> > password-protected PDF, evince popped up a window to ask me for
> > the password.
> > 
> 
> qpdf is useful from the command line
> 
> https://packages.debian.org/jessie/qpdf
> 
> I use it in scripts to unencrypted some PDFs

This could be more useful (pdftk can do the same thing) than evince
if the OP means what is in their Subject line, for which I would use
xournal (look for PDF Annotation in its manual).

Cheers,
David.



Re: Firefox: security vs flexibility or rtfm?

2017-04-28 Thread Mark Copper
> Would mozilla.support.firefox on news.mozilla.org be more productive as your
> description suggests an OS independent problem?

I think the issue has been raised and rejected at Firefox. Although OS
independent, I was thinking a work-around might involve the
distro--Chromium is gone but maybe there's a browser we didn't
consider, for instance. We only need one browser to work as these
tasks are all performed in house. Just seemed like there must be a lot
of old equipment with embedded HTTP servers out there that clever
people keep working with OSS and chewing gum. But it's an imperfect
world and no one can eliminate risk completely--we may just have to be
vigilant.



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread Étienne Mollier


Par un beau début de fin de semaine, Philippe Merlin écrivit:
> Bonsoir,
> J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un 
> Encodage inconnu :
> le nom du fichier tel qu'est donné par un ls :
> "Gers Chambre d'h?te" 
> J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
> l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des soucis.
> Toute idée sera la bienvenue, je sèche lamentablement .
> Philippe Merlin
> 

Bonsoir Philippe,

Plusieurs solutions sont possibles.  Comme dit plus tôt, pour
commencer il faudrait voir si l'autocomplétion du nom de fichier
en utilisant la touche  permet de saisir correctement le nom
de fichier.

Si le caractère Unicode bloque ce mécano, alors il y a une astuce
à base de `find' et de numéro d'inode.  Tu peux obtenir le numéro
d'inode de ton fichier avec :

$ ls -i
16125155 Gers Chambre d'h?te

Reporte le numéro dans un find comme suit et le fichier sera
renommé :

$ find . -xdev -inum 16125155 -exec mv '{}' nom-potable ';'

Le fichier devrait enfin être renommé, quel que soit son nom
d'origine.  N'oublies pas le "';'" à la fin.  Pas de risque de
trouver des doublons de fichiers, par définition les numéros
d'inodes sont uniques pour un système de fichier donné (l'option
`-xdev' est là pour s'assurer que le `find' ne va pas aller
chercher dans d'autres FS).

Il se peut également que tu ais quelques soucis avec la
configuration de la langue de ton environnement, cette sortie est
typique d'une variable LANG soit non réglée, soit réglée sur `C',
auquel cas le problème pourrait être corrigé en réglant la langue
de ton système sur un réglage qui lui est connu et puis en
ouvrant un nouveau terminal comme suit :

export LANG=fr_FR.UTF-8
xterm  # ou tout autre terminal de ton choix

mv "Gers Chambre d'hôte" gers-chambres-d-hote

Si ça coince, il faudra reconfigurer les locales, mais
normalement les réglages les plus courant devant résoudre ton
problème sont "fr_FR.UTF-8", "en_US.UTF-8", ou au pire "C.UTF-8".

À plus
-- 
Étienne Mollier 



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread Étienne Mollier


On 04/28/2017 08:08 PM, JF Straeten wrote:
> Bien vu ;)
> 
> L'échapper manuellement alors ?
> 
>  mv 'Gers Chambre d\'h?te' nom-potable

Bonne approche, mais comme le caractère "\" est échappé, la fermeture
a encore lieu à l'apostrophe de l'hôte, il faut fermer l'inhibition
avant l'échappement puis la réouvrir après :

mv 'Gers Chambre d'\''h?te' nom-potable

Ceci dit, il est toujours possible que ça ne résolve pas le problème
induit par le caractère unicode présent dans la chaîne.

À plus
-- 
Étienne Mollier 



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread andre_debian
On Friday 28 April 2017 19:46:42 MERLIN Philippe wrote:
> J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un 
> Encodage inconnu :
> le nom du fichier tel qu'est donné par un ls :
> "Gers Chambre d'h?te" 
> J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
> l'apostrophe qui est inclus  dans le nom de ce répertoire me crée 
> des soucis. 

Déjà, je reçois le mail avec un caractère accentué qui peut poser problème :
"hôte" => "h?te" , pour renommer le répertoire.

Commencer par mettre "Gers Chambre d'hôte"...

André



Re: Program to electronically sign PDF's?

2017-04-28 Thread Daniel Pocock


On 28/04/17 18:40, Dan Ritter wrote:
> On Thu, Apr 27, 2017 at 08:30:14PM -0400, Fjfj109 wrote:
>> How do you do this with Evince?
>>
>>  Original Message 
>> Subject: Re: Program to electronically sign PDF's?
>> Local Time: April 27, 2017 7:20 PM
>> UTC Time: April 27, 2017 11:20 PM
>> From: d...@randomstring.org
>> To: Fjfj109 
>> debian-user@lists.debian.org 
>>
>> On Thu, Apr 27, 2017 at 05:41:00PM -0400, Fjfj109 wrote:
>>> I've tried GIMP, but the document is password protected and does not give 
>>> me the option to input the password. Is there any program people know of in 
>>> Debian (stable) that allows me to do this?
>>
>> epdfviewer and evince should both have that ability.
> 
> Please remember not to top-post.
> 
> I just tried this out, and as soon as I tried to open a
> password-protected PDF, evince popped up a window to ask me for
> the password.
> 

qpdf is useful from the command line

https://packages.debian.org/jessie/qpdf

I use it in scripts to unencrypted some PDFs



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread JF Straeten

Re,

On Fri, Apr 28, 2017 at 08:01:01PM +0200, Étienne Mollier wrote:

> > Empêcher toute interprétation du nom avec des quotes simples ?
> > 
> >  mv 'Gers Chambre d'h?te' nom-potable
> 
> Attention, la fermeture de quote se produit à l'apostrophe entre
> le "d" et le "h" de "d'h?te".  La partie "h?te '" est laissée à
> libre interprétation du shell (et il va donc se plaindre qu'il lui
> manque une quote fermante).
> 
> Est ce qu'une autocompletion avec  fonctionne ?

Bien vu ;)

L'échapper manuellement alors ?

 mv 'Gers Chambre d\'h?te' nom-potable

-- 

JFS.



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread Étienne Mollier


On 04/28/2017 07:50 PM, JF Straeten wrote:
> Empêcher toute interprétation du nom avec des quotes simples ?
> 
>  mv 'Gers Chambre d'h?te' nom-potable

Attention, la fermeture de quote se produit à l'apostrophe entre
le "d" et le "h" de "d'h?te".  La partie "h?te '" est laissée à
libre interprétation du shell (et il va donc se plaindre qu'il lui
manque une quote fermante).

Est ce qu'une autocompletion avec  fonctionne ?

À plus,
-- 
Étienne Mollier 



Re: Caractère inconnue dans nom de Répertoire

2017-04-28 Thread JF Straeten

Lo,

On Fri, Apr 28, 2017 at 07:46:42PM +0200, MERLIN Philippe wrote:

> J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un 
> Encodage inconnu :
> le nom du fichier tel qu'est donné par un ls :
> "Gers Chambre d'h?te" 
> J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
> l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des soucis.
> Toute idée sera la bienvenue, je sèche lamentablement .

Empêcher toute interprétation du nom avec des quotes simples ?

 mv 'Gers Chambre d'h?te' nom-potable

Hih,


-- 

JFS.



Caractère inconnue dans nom de Répertoire

2017-04-28 Thread MERLIN Philippe
Bonsoir,
J'ai un problème facile pour la liste j'ai un nom de Répertoire avec un 
Encodage inconnu :
le nom du fichier tel qu'est donné par un ls :
"Gers Chambre d'h?te" 
J'essaye de  le renommer par mv et je n'y arrive pas il semble que 
l'apostrophe qui est inclus  dans le nom de ce répertoire me crée des soucis.
Toute idée sera la bienvenue, je sèche lamentablement .
Philippe Merlin



Re: Firefox: security vs flexibility or rtfm?

2017-04-28 Thread Richard Owlett

On 04/28/2017 11:33 AM, Mark Copper wrote:

Our web server is off-site, colocated at a typical data center.
On-site are networked items such as a label printer and a weigh scale.

To generate a shipping label from Firefox browser, one requests a page
from the server, then gets the weight from the scale. At first this is
a problem: we had a Beaglebone serving HTTP requests for the weight
and Firefox blocked the request. Solvable by serving weight over HTTPS
with CORS header, using the self-signed cert and whitelisting the
private IP address in Firefox.

But for printing the label, we have no control over the HTTP server
(and Zebra seems to have no plans to update their print servers): it
does not serve HTTPS requests, so default Firefox blocks the XHR.
Firefox does offer a way to unblock mixed content on a website
temporarily, but you can't unblock *before* the request, which
invalidates the label, and as soon as one navigates away from the
site, the block is re-instated. So the only stable solution appears to
be setting the security.mixed_content.block_active_content parameter
to false. But that means allowing mixed active content on any page
served anywhere on the net.

So I'm wondering, first, am I missing something obvious? Or, now that
Debian has thrown its lot in with Firefox, is this an issue for anyone
else? Is there a reason why we can't permanently allow mixed content
just for websites we control? Or allow XHR for private IP's? I think I
saw a Firefox bug thread where these concerns were summarily
dismissed, but there must be a lot of shops like ours out there. How
do they handle this security issue?

Thanks for reading.

Mark


Would mozilla.support.firefox on news.mozilla.org be more productive as 
your description suggests an OS independent problem?







Re: Program to electronically sign PDF's?

2017-04-28 Thread Dan Ritter
On Thu, Apr 27, 2017 at 08:30:14PM -0400, Fjfj109 wrote:
> How do you do this with Evince?
> 
>  Original Message 
> Subject: Re: Program to electronically sign PDF's?
> Local Time: April 27, 2017 7:20 PM
> UTC Time: April 27, 2017 11:20 PM
> From: d...@randomstring.org
> To: Fjfj109 
> debian-user@lists.debian.org 
> 
> On Thu, Apr 27, 2017 at 05:41:00PM -0400, Fjfj109 wrote:
> > I've tried GIMP, but the document is password protected and does not give 
> > me the option to input the password. Is there any program people know of in 
> > Debian (stable) that allows me to do this?
> 
> epdfviewer and evince should both have that ability.

Please remember not to top-post.

I just tried this out, and as soon as I tried to open a
password-protected PDF, evince popped up a window to ask me for
the password.

-dsr-



Firefox: security vs flexibility or rtfm?

2017-04-28 Thread Mark Copper
Our web server is off-site, colocated at a typical data center.
On-site are networked items such as a label printer and a weigh scale.

To generate a shipping label from Firefox browser, one requests a page
from the server, then gets the weight from the scale. At first this is
a problem: we had a Beaglebone serving HTTP requests for the weight
and Firefox blocked the request. Solvable by serving weight over HTTPS
with CORS header, using the self-signed cert and whitelisting the
private IP address in Firefox.

But for printing the label, we have no control over the HTTP server
(and Zebra seems to have no plans to update their print servers): it
does not serve HTTPS requests, so default Firefox blocks the XHR.
Firefox does offer a way to unblock mixed content on a website
temporarily, but you can't unblock *before* the request, which
invalidates the label, and as soon as one navigates away from the
site, the block is re-instated. So the only stable solution appears to
be setting the security.mixed_content.block_active_content parameter
to false. But that means allowing mixed active content on any page
served anywhere on the net.

So I'm wondering, first, am I missing something obvious? Or, now that
Debian has thrown its lot in with Firefox, is this an issue for anyone
else? Is there a reason why we can't permanently allow mixed content
just for websites we control? Or allow XHR for private IP's? I think I
saw a Firefox bug thread where these concerns were summarily
dismissed, but there must be a lot of shops like ours out there. How
do they handle this security issue?

Thanks for reading.

Mark



Re: 4K problemen

2017-04-28 Thread Paul van der Vlis
Op 28-04-17 om 18:13 schreef Wouter Verhelst:
> On Fri, Apr 28, 2017 at 10:49:55AM +0200, Paul van der Vlis wrote:
>> Op 28-04-17 om 09:22 schreef Wouter Verhelst:
>>> On Thu, Apr 27, 2017 at 09:59:30PM +0200, Paul van der Vlis wrote:
 Hallo,

 Ik ben een computer aan het maken voor iemand, en deze zou 4K moeten
 kunnen. De praktijk is echter dat 4K niet goed werkt. Er zitten
 regelmatig trillingen in het beeld. Niet als je niets doet, maar wel als
 je bezig bent.

 Ik heb een kennis uitgenodigd met een Macbook die goed 4K kan. Daar is
 het beeld wel goed met dezelfde monitor en dezelfde kabel.
>>>
>>> Ook exact dezelfde resolutie? (Er zijn twee 4K-resoluties, één met 4096 
>>> pixels
>>> in de breedte, één met 3840)
>>
>> Ja, steeds 3840. De monitor kan ook niet hoger.
>>
>>> Ook exact dezelfde refresh rate?
>>
>> Ja, steeds 60.
> 
> Dat is dan DisplayPort, neem ik aan?

Inderdaad.

Er zit ook HDMI 2.0 op de monitor, maar dat gebruik ik niet. En volgens
de manual werkt dat alleen met Nvidia videokaarten goed.

Groet,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: 4K problemen

2017-04-28 Thread Wouter Verhelst
On Fri, Apr 28, 2017 at 10:49:55AM +0200, Paul van der Vlis wrote:
> Op 28-04-17 om 09:22 schreef Wouter Verhelst:
> > On Thu, Apr 27, 2017 at 09:59:30PM +0200, Paul van der Vlis wrote:
> >> Hallo,
> >>
> >> Ik ben een computer aan het maken voor iemand, en deze zou 4K moeten
> >> kunnen. De praktijk is echter dat 4K niet goed werkt. Er zitten
> >> regelmatig trillingen in het beeld. Niet als je niets doet, maar wel als
> >> je bezig bent.
> >>
> >> Ik heb een kennis uitgenodigd met een Macbook die goed 4K kan. Daar is
> >> het beeld wel goed met dezelfde monitor en dezelfde kabel.
> > 
> > Ook exact dezelfde resolutie? (Er zijn twee 4K-resoluties, één met 4096 
> > pixels
> > in de breedte, één met 3840)
> 
> Ja, steeds 3840. De monitor kan ook niet hoger.
> 
> > Ook exact dezelfde refresh rate?
> 
> Ja, steeds 60.

Dat is dan DisplayPort, neem ik aan?

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12



Re: direccionar peticiones web a un NAS

2017-04-28 Thread john vera
les recomiendo presentar una partición remota con SSHFS a ese servidor,
es solo una alternativa a NFS

Saludos,

El 28 de abril de 2017, 11:23, Dulasoft 
escribió:

>
> El 28/04/17 a las 14:30, Ariel Alvarez escribió:
>
> Hola lista tengo entre manos un proyecto de una especie de biblioteca
>> virtual y estoy elaborando ideas de como llevar a cabo esto, una de las
>> interrogandtes que tengo es la siguiente y explico el escenario que pienso
>> llevar a cabo y aun no tengo:
>>
>> servidor debian:, apache2, mysql, php, este servidor va a alojar una
>> plataforma web la cual va a mostrar el contenido de una gran cantidad de
>> documentos a descargar o visualizar directamente en esta.
>>
>> servidor NAS: en este se van a alojar todos los documentos referidos en
>> la plataforma antes mencionada.
>>
>> mi duda es la siguiente como pudiera direccionar las peticiones web de un
>> servidor a otro, el NAS en este caso solo tendra una serie de discos en un
>> arreglo con la información.
>>
>> gracias de antemano por su acostumbrada ayuda.
>>
>>
>> -
>> Consejo Nacional de Casas de Cultura
>> http://www.casasdecultura.cult.cu
>>
>>
>> Hola Ariel,
> que tal compartir por NFS lo que quieras del NAS únicamente con el
> servidor debian, y montarlo en éste como si fuera un directorio local.
>
> Saludos,
>
> Rolan Benavent.
>
>


-- 
John M. A. Vera F.
Debian user & VaSLibre Valencia-Venezuela
Linux Counter # 467192
Huella digital de la clave: 6402 0164 2FE9 AB99 555E EAAE BAA0 AC94 1CA7
7A86
y la verdad OS hará Libres!!


Re: direccionar peticiones web a un NAS

2017-04-28 Thread Dulasoft


El 28/04/17 a las 14:30, Ariel Alvarez escribió:
Hola lista tengo entre manos un proyecto de una especie de biblioteca 
virtual y estoy elaborando ideas de como llevar a cabo esto, una de 
las interrogandtes que tengo es la siguiente y explico el escenario 
que pienso llevar a cabo y aun no tengo:


servidor debian:, apache2, mysql, php, este servidor va a alojar una 
plataforma web la cual va a mostrar el contenido de una gran cantidad 
de documentos a descargar o visualizar directamente en esta.


servidor NAS: en este se van a alojar todos los documentos referidos 
en la plataforma antes mencionada.


mi duda es la siguiente como pudiera direccionar las peticiones web de 
un servidor a otro, el NAS en este caso solo tendra una serie de 
discos en un arreglo con la información.


gracias de antemano por su acostumbrada ayuda.


-
Consejo Nacional de Casas de Cultura
http://www.casasdecultura.cult.cu



Hola Ariel,
que tal compartir por NFS lo que quieras del NAS únicamente con el 
servidor debian, y montarlo en éste como si fuera un directorio local.


Saludos,

Rolan Benavent.



Re: Debian/Raspbian server freezes - how to find out what is causing it?

2017-04-28 Thread Jonathan Dowland
On Fri, Apr 28, 2017 at 11:26:21AM +0200, Peter Irbizon wrote:
> I am using Debian/Raspbian on my RPi but few days ago it started to freeze.
> By freeze I mean, it is running headless server and I see line raspberry
> login: _ and cursors blinks. But once daily if freezes and cursor does not
> blink anymore. Machine is unreachable and I must power cycle it to restart
> it.
> 
> How to find out what is causing it?

I sometimes have freezes on my Pi; what I intend to do is set up remote syslog
or journal logging to another host, and see whether there's any clues in the
last logs when it's gone down.  There's also a netconsole kernel module that
can be used to spray kernel log messages over UDP, that may be worth a look:

https://www.kernel.org/doc/Documentation/networking/netconsole.txt

> And nothing is in logs, too.

It's possible it dies before the logging services have a chance to commit the
logs to disk, hence my suggestions to fire it over the network instead.

-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄ Please do not CC me, I am subscribed to the list.



direccionar peticiones web a un NAS

2017-04-28 Thread Ariel Alvarez
Hola lista tengo entre manos un proyecto de una especie de biblioteca 
virtual y estoy elaborando ideas de como llevar a cabo esto, una de las 
interrogandtes que tengo es la siguiente y explico el escenario que 
pienso llevar a cabo y aun no tengo:


servidor debian:, apache2, mysql, php, este servidor va a alojar una 
plataforma web la cual va a mostrar el contenido de una gran cantidad de 
documentos a descargar o visualizar directamente en esta.


servidor NAS: en este se van a alojar todos los documentos referidos en 
la plataforma antes mencionada.


mi duda es la siguiente como pudiera direccionar las peticiones web de 
un servidor a otro, el NAS en este caso solo tendra una serie de discos 
en un arreglo con la información.


gracias de antemano por su acostumbrada ayuda.


-
Consejo Nacional de Casas de Cultura
http://www.casasdecultura.cult.cu



Re: Old, stale bug reports (bug triage)

2017-04-28 Thread songbird
Felix Dietrich wrote:
...
> I had considered the mentors list, but, while using the bug tracking
> system might start to border on the purview of that list, a quick
> skimming over its archive left me with the impression that the messages
> are generally package sponsering requests or otherwise about packaging –
> my question felt more like that of an interested user who has started to
> explore the possibilities of contributing to Debian.

  does installing package how-can-i-help help?

(i've not looked in a while to see what it now
contains, but...)


  songbird



Re: Debian/Raspbian server freezes - how to find out what is causing it?

2017-04-28 Thread songbird
Peter Irbizon wrote:
>
> I am using Debian/Raspbian on my RPi but few days ago it started to freeze.
> By freeze I mean, it is running headless server and I see line raspberry
> login: _ and cursors blinks. But once daily if freezes and cursor does not
> blink anymore. Machine is unreachable and I must power cycle it to restart
> it.
>
> How to find out what is causing it?

  instead of lingering at the login: screen why
not actually sign on and leave it with the journalctl -f 
(-f is the same as --follow) screen?


> When sometimes my RPi freezed in the past (once per 6-12 months) it showed
> me for example journal error or some kind of meaningful error message. But
> now nothing, just cursor stops blinking. I am pretty helpless without any
> error message. And nothing is in logs, too.

  what version are you running?  have upgrades
been applied?

  which logs are you looking at?  perhaps there is 
another you're missing...

  is there a raspian community forum someplace?
(i'm not familiar with it and have no idea what it
would do or look like running headless).


  songbird



Keyboard woes with X forwarding

2017-04-28 Thread Mark Fletcher
Hello

My main PC runs Debian Jessie and supports 2 virtual Windows machines 
using VirtualBox. On the Windows machines I run Logmein which allows me 
to access the Windows machines from my Android tablet when on the road.

I have installed Xming on the VMs and sometimes use SSH with X 
forwarding using PuTTY to access the Jessie host once logged remotely 
into the VMs. Then I have been known to fire up X apps, eg IntelliJ IDEA 
Community Edition, to work on code while on the road.

Everything basically works, except I have found that the backspace key 
on my Android bluetooth keyboard does not work with the X apps. Also 
Delete.

Backspace and Delete work fine in the Windows environment, ie after 
logging in to the VM with Logmein, so there is nothing wrong with the 
keyboard or the keyboard setup at the tablet end.

When I SSH into the Jessie Host from the VM, the shell that comes up 
also has a working backspace.

But, when I then use that shell to launch an X app, the launched app 
does not respond when I press backspace.

The info I could find from Google is all about remapping the backspace 
key so it generates the right keycode. So some step involving xmodmap. 
But I think I have a more fundamental problem, as when I run xev from 
the SSH shell and press the backspace key there is NO RESPONSE AT ALL. 
So somehow the backspace keypress is not making it to the X app, as 
opposed to being mapped to the wrong code.

So to summarise, remoted into Windows, no problem. SSH from there to 
underlying Jessie host, no problem. Launch xev or other X app from that 
session, including another Xterm, backspace keypresses do not seem to be 
getting delivered.

Any ideas how I can diagnose this?

TIA

Mark



Debian/Raspbian server freezes - how to find out what is causing it?

2017-04-28 Thread Peter Irbizon
I am using Debian/Raspbian on my RPi but few days ago it started to freeze.
By freeze I mean, it is running headless server and I see line raspberry
login: _ and cursors blinks. But once daily if freezes and cursor does not
blink anymore. Machine is unreachable and I must power cycle it to restart
it.

How to find out what is causing it?

When sometimes my RPi freezed in the past (once per 6-12 months) it showed
me for example journal error or some kind of meaningful error message. But
now nothing, just cursor stops blinking. I am pretty helpless without any
error message. And nothing is in logs, too.


Re: 4K problemen

2017-04-28 Thread Paul van der Vlis
Hoi Heiko en anderen,

Op 27-04-17 om 23:20 schreef Heiko Noordhof:
> In de tekst van de link die je hierboven noemt, staat dat de schrijver
> versie 1:7.6.1-1 van het
> "xserver-xorg-video-radeon" package geinstalleerd heeft. In Debian
> Jessie zit een oudere versie, nl: 1:7.5.0-1.
> 
> In stretch en jessie-backports zit inmiddels al weer nieuwere versie.
> Heb jij gewoon de Jessie versie gebruikt? Dan zou ik aanraden de
> backports in je apt-sources opnemen, en misschien ook een kernel daaruit
> te installeren (als die niet al vanzelf meekomt als depdency).

Ik gebruik Stretch, oftewel Debian 9, met de daarbij horende pakketten,
ook firmware-amd-graphics uit non-free. De firmware wordt netjes geladen.

Groeten,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: 4K problemen

2017-04-28 Thread Paul van der Vlis
Op 28-04-17 om 09:22 schreef Wouter Verhelst:
> On Thu, Apr 27, 2017 at 09:59:30PM +0200, Paul van der Vlis wrote:
>> Hallo,
>>
>> Ik ben een computer aan het maken voor iemand, en deze zou 4K moeten
>> kunnen. De praktijk is echter dat 4K niet goed werkt. Er zitten
>> regelmatig trillingen in het beeld. Niet als je niets doet, maar wel als
>> je bezig bent.
>>
>> Ik heb een kennis uitgenodigd met een Macbook die goed 4K kan. Daar is
>> het beeld wel goed met dezelfde monitor en dezelfde kabel.
> 
> Ook exact dezelfde resolutie? (Er zijn twee 4K-resoluties, één met 4096 pixels
> in de breedte, één met 3840)

Ja, steeds 3840. De monitor kan ook niet hoger.

> Ook exact dezelfde refresh rate?

Ja, steeds 60.

Groeten,
Paul




-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: 4K problemen

2017-04-28 Thread Wouter Verhelst
On Thu, Apr 27, 2017 at 09:59:30PM +0200, Paul van der Vlis wrote:
> Hallo,
> 
> Ik ben een computer aan het maken voor iemand, en deze zou 4K moeten
> kunnen. De praktijk is echter dat 4K niet goed werkt. Er zitten
> regelmatig trillingen in het beeld. Niet als je niets doet, maar wel als
> je bezig bent.
> 
> Ik heb een kennis uitgenodigd met een Macbook die goed 4K kan. Daar is
> het beeld wel goed met dezelfde monitor en dezelfde kabel.

Ook exact dezelfde resolutie? (Er zijn twee 4K-resoluties, één met 4096 pixels
in de breedte, één met 3840)

Ook exact dezelfde refresh rate?

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12



Re: continual acpid and gdm3 messages in syslog

2017-04-28 Thread Ron Leach

On 27/04/2017 21:57, Sven Joachim wrote:

On 2017-04-27 19:48 +0100, Ron Leach wrote:



In syslog there are pretty much continuous messages (extract below)
issued by acpid and gdm.  The gdm3 message warns that GdmDisplay is
lasting a very short time.




How about just stopping these services?  You probably don't need a
display manager at the moment, so "service gdm3 stop" gets rid of the
gdm3 syslog spam, and hopefully of acpid's too.



Indeed, that stopped it.

I'd had no idea gdm was a service that would alert if a physical 
display wasn't there.  My mental model had been that display software 
would simply (always) write to some video hardware which would display 
on whatever display was plugged in, so I hadn't thought of there being 
a service, there.


Sven, thank you,

Ron