Re: Recording needed data from mate-search-tool - possible?

2017-04-02 Thread Richard Owlett

On 04/02/2017 08:56 AM, songbird wrote:

Richard Owlett wrote:

I am using Jessie with MATE desktop.
I search for a string within a filename OR folder name.
I must distinguish between files, folders and links to either.
"Applications->Accessories->Search for files" will DISPLAY the data.
*HOWEVER* attempting to record the data yields obfuscated data:


ITEM NOTE
[ 1] [1] 
/var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb
[ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen
[ 3] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen
[ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp
[ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen
[ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen
[ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen
[ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list
[ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums
[10] [1] 
/usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot
[11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip


Notes:
1 a filename w extension
2 folder
3 link to folder
4 a filename w/o extension

NOTE BENE
Item 4 is a folder but resembels a filename w extension


Any suggestions?


  use find.  sometimes trying to make a square peg
fit in a round hole isn't worth it.



The annoying facet of the problem is that 
"Applications->Accessories->Search for files" retrieves exactly the data 
I want and can sort it so that it visually groups data 
'productively'{right word??}.


But it can only be saved as an image. I need ASCII text.

In my reading I found references that internally it uses "find" &/or 
"locate" but I don't look forward to formatting the output of either.


Although I've done some coding years ago, in no way would I refer to 
myself as a programmer.







Re: Captive network account (w/ login redirect) and HSTS

2017-04-02 Thread David Wright
On Sun 02 Apr 2017 at 21:20:30 (+0200), Marc SCHAEFER wrote:
> On Sun, Apr 02, 2017 at 07:51:40PM +0100, Brian wrote:
> > Probably the best place for this is the wiki. Anyone can create a page
> > on the topic of captive networks there. Maybe there one is in existence
> > which can be added to. Feel free to add to such a page or start a new
> > one.
> 
> I did not find any, so I created:
> 
>https://wiki.debian.org/CaptivePortal

That was quick!

IIRC I have in the past typed   ip route show
and then pasted the IP of the default route into the browser.
Am I remembering correctly, and would that IP address obey
your conditions outlined earlier?

Cheers,
David.



Re: Captive network account (w/ login redirect) and HSTS

2017-04-02 Thread Marc SCHAEFER
On Sun, Apr 02, 2017 at 07:51:40PM +0100, Brian wrote:
> Probably the best place for this is the wiki. Anyone can create a page
> on the topic of captive networks there. Maybe there one is in existence
> which can be added to. Feel free to add to such a page or start a new
> one.

I did not find any, so I created:

   https://wiki.debian.org/CaptivePortal

Thank you for the suggestion.



Re: Captive network account (w/ login redirect) and HSTS

2017-04-02 Thread Brian
On Sun 02 Apr 2017 at 18:36:25 +0200, Marc SCHAEFER wrote:

> with a basic Debian jessie install and a recent Firefox, I observe the
> following:
> 
>[1] Debian has no specific support for detecting captive networks
>(e.g. Android, iOS) and redirecting automatically the browser to
>the captive login page
> 
>[2] launching Firefox on the default page doesn't work (doesn't get
>redirected properly to the login page but fails with a HTTPS
>certificate error), if there is a recent HSTS[*] security
>configuration cache for the default domain page (e.g. google.com)
> 
> [1] is not really an issue: I wouldn't like myself that connecting to
> a WiFi captive network starts a browser. Also, open captive networks are
> messing up, dangerous, a WPA/RADIUS auth would be much better.
> 
> However, open captive networks are quite commons in hotels, airports,
> parks, etc.  So it cannot be dismissed.
> 
> [2] the only fix is to type an URL you know is HTTP, not HTTPS and does
> not configure HSTS, and does not support DNSSEC. In my case I used
> ptiturl.ch
> 
> Maybe this could be in the Debian User manual somehow?
> 
> Feel free to contact me if you want help in writing the documentation.
> 
> https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

Probably the best place for this is the wiki. Anyone can create a page
on the topic of captive networks there. Maybe there one is in existence
which can be added to. Feel free to add to such a page or start a new
one.

-- 
Brian.



Re: Sound problems (mpd, mpv mainly)

2017-04-02 Thread Dan Hitt
Hi Pierre,

When i do:
/usr/bin/mpv --version

it responds with:
mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil   55.34.100
   libavcodec  57.64.101
   libavformat 57.56.100
   libswscale  4.2.100
   libavfilter 6.65.100
   libswresample   2.3.100
ffmpeg version: 3.2.2-2

I did not install ffmpeg explicitly, but when i installed mpv it
picked up a bunch of other packages.

(For reference, i did install some other sound packages centered
around sox and sndfile, but i'm guessing these are irrelevant.)

Everything is via apt-get, nothing home-compiled (yet).

/etc/debian_version says '9.0' for me, and i think it is called
'stretch' (it is not in the list of debian versions in the wikipedia,
which stops at 8, 'jessie').

I put debian on a fresh partition (i.e., this is not an upgrade) in
early February this year to get access to some newer and totally
unrelated packages.

The mpv website recommends building your own or using a 3rd party
builds instead of relying on a package.  ("Distributions usually
package outdated, unmaintained, and unsupported versions of mpv. This
is especially true for popular distros like Debian and Ubuntu. You are
recommended to use mpv-build or 3rd party packages instead.")  That's
all in https://mpv.io/installation/

However, despite using both debian and ubuntu, i've never had to do
that yet.  knock on wood! :)

But if you do install something from mpv.io, and it works better for
jessie, please post and tia!

dan

On Sun, Apr 2, 2017 at 1:02 AM, Pierre Frenkiel
 wrote:
> On Sat, 1 Apr 2017, Dan Hitt wrote:
>
>> . . .
>> If you have no idea what name to use (and i certainly didn't), mpv
>> will list them for you, if you run this command:
>>   mpv --audio-device=help
>> . . .
>
>
> hi Dan
> what is your mpv version?
> For mine, the --audio-device is unknown.
> I am on Jessie, with mpv version "0.6.2 (C) 2000-2014 mpv/MPlayer/mplayer2
> projects"
>
> best regards,
> --
> Pierre Frenkiel
>



Captive network account (w/ login redirect) and HSTS

2017-04-02 Thread Marc SCHAEFER
Hello,

with a basic Debian jessie install and a recent Firefox, I observe the
following:

   [1] Debian has no specific support for detecting captive networks
   (e.g. Android, iOS) and redirecting automatically the browser to
   the captive login page

   [2] launching Firefox on the default page doesn't work (doesn't get
   redirected properly to the login page but fails with a HTTPS
   certificate error), if there is a recent HSTS[*] security
   configuration cache for the default domain page (e.g. google.com)

[1] is not really an issue: I wouldn't like myself that connecting to
a WiFi captive network starts a browser. Also, open captive networks are
messing up, dangerous, a WPA/RADIUS auth would be much better.

However, open captive networks are quite commons in hotels, airports,
parks, etc.  So it cannot be dismissed.

[2] the only fix is to type an URL you know is HTTP, not HTTPS and does
not configure HSTS, and does not support DNSSEC. In my case I used
ptiturl.ch

Maybe this could be in the Debian User manual somehow?

Feel free to contact me if you want help in writing the documentation.

https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security



Re: Recording needed data from mate-search-tool - possible?

2017-04-02 Thread songbird
Richard Owlett wrote:
> I am using Jessie with MATE desktop.
> I search for a string within a filename OR folder name.
> I must distinguish between files, folders and links to either.
> "Applications->Accessories->Search for files" will DISPLAY the data.
> *HOWEVER* attempting to record the data yields obfuscated data:
>
>> ITEM NOTE
>> [ 1] [1] 
>> /var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb
>> [ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen
>> [ 3] [2] 
>> /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen
>> [ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp
>> [ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen
>> [ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen
>> [ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen
>> [ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list
>> [ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums
>> [10] [1] 
>> /usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot
>> [11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip
>>
>>
>> Notes:
>> 1 a filename w extension
>> 2 folder
>> 3 link to folder
>> 4 a filename w/o extension
>>
>> NOTE BENE
>> Item 4 is a folder but resembels a filename w extension
>
> Any suggestions?

  use find.  sometimes trying to make a square peg
fit in a round hole isn't worth it.


  songbird



problems using PBIS-Open for AD authentication

2017-04-02 Thread Paul Duncan

Hello,

Just wondering if anyone on here is using PBIS-Open (the successor to 
Likewise-Open) in order to authenticate with an AD domain controller.


I have managed to install it on several machines. I can run the 
domainjoin-cli program, join the domain, but not login using AD 
credentials. I can see all the AD users on the login screen, it just 
claims the password is wrong every time.


If I look at auth.log, this is what I see:

Apr  2 15:55:26 rvfk-mbproc-04 login[9471]: [lsass-pam] 
[module:pam_lsass]User paul.d is denied access because they are not in 
the 'require membership of' list
Apr  2 15:55:26 rvfk-mbproc-04 login[9471]: [lsass-pam] 
[module:pam_lsass]pam_sm_authenticate error [login:paul.d][error code:40158]
Apr  2 15:55:29 rvfk-mbproc-04 login[9471]: FAILED LOGIN (2) on 
'/dev/pts/1' FOR 'paul.d', Authentication failure


Running /opt/pbis/bin/config --show RequireMembershipOf I get the following:

   multistring
   DomainUsers

   local policy

And, yes, that really is a blank line between DomainUsers and local policy.

I have an older system running Likewise-Open which IS working correctly, 
but I cannot find an equivalent to that command in order to show the 
RequiredMemberships on that system.


And the operating system is Linux Mint 18. Yes, I know its not pure 
Debian, but I suspect there may be someone on her with a Clue about this...


Thanks!

Paul.



Re: Matrox G550 + mga driver hangs system

2017-04-02 Thread kamaraju kusumanchi
On Wed, Mar 29, 2017 at 9:36 AM, Tony Stoneley  wrote:
>
> A severely trimmed version of /var/log/Xorg.0.log follows. The whole
> affair is 616 lines, which seems excessive for an initial posting.
> This is with the fully up-to-date testing distribution, in particular
> with xserver-xorg-video-mga version 1:1.6.5-1.

In Xorg.0.log, the errors are logged with (EE) prefix, so the output of

grep EE /var/log/Xorg.0.log

would be useful in documenting the problem. In your case, you already
gave the relevant information but thought I would point it out in case
you are not aware of it.

raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: Suitable text editor [NOT word processor] or workaround?

2017-04-02 Thread Curt
On 2017-04-01, Richard Owlett  wrote:
>
> On 03/16/2017 09:04 AM, I {the OP} had written:
> >
> > I don't need a diff tool exactly. I need to do a _visual_ comparison
> > to make sure I'm editing the right portion.
> > I might say I was looking for an "analog" not "digital" solution.
>

There's meld. 

-- 
"It might be a vision--of a shell, of a wheelbarrow, of a fairy kingdom on the
far side of the hedge; or it might be the glory of speed; no one knew." --Mrs.
Ramsay, speculating on why her little daughter might be dashing about, in "To
the Lighthouse," by Virginia Woolf.



Re: Suitable text editor [NOT word processor] or workaround?

2017-04-02 Thread Tom Browder
On Sat, Apr 1, 2017 at 14:36 Fred  wrote:

> On 04/01/2017 09:24 AM, Richard Owlett wrote:
> > On 04/01/2017 10:55 AM, cbannis...@slingshot.co.nz wrote:
> >> On Thu, Mar 16, 2017 at 06:38:52AM -0500, Richard Owlett wrote:
> >>> The two files are nearly identical and need them displayed
> >>> simultaneously
> >>> for instant visual comparison. Opening one of the files read only
> >>> would be
> >>> acceptable but not preferable.


Try diffuse.

-Tom


Re: Sound problems (mpd, mpv mainly)

2017-04-02 Thread Pierre Frenkiel

On Sat, 1 Apr 2017, Dan Hitt wrote:


. . .
If you have no idea what name to use (and i certainly didn't), mpv
will list them for you, if you run this command:
  mpv --audio-device=help
. . .


hi Dan
what is your mpv version?
For mine, the --audio-device is unknown.
I am on Jessie, with mpv version "0.6.2 (C) 2000-2014 mpv/MPlayer/mplayer2 
projects"

best regards,
--
Pierre Frenkiel