Re: Debian server for backups of Windows clients

2016-08-03 Thread didier gaumet
Le 02/08/2016 à 23:12, Daniel Bareiro a écrit :
[...]
> But to use Dirvish with Windows clients I will need to install an SSH
> server [...] on Windows.
[...]

Apart from a Cygwin solution, it seems there is an open official
Microsoft OpenSSH port (including SSHD service) effort:
 
https://blogs.msdn.microsoft.com/powershell/2015/10/19/openssh-for-windows-update/
 https://github.com/PowerShell/Win32-OpenSSH/wiki

I cannot offer more precisions: I very rarely use both SSH and Windows



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Lisi Reisz
On Wednesday 03 August 2016 02:10:46 Charlie wrote:
> Has anyone discovered this problem and found a way to stop this
> happening? Please share.

Can only offer fellow-feeling.  Most annoying.  It is of recent arrival here 
(Debian Jessie, 8.5, Google Chrome 52.0.2743.82 (64-bit)), and although I 
have found a pattern - first window opened opens in workspace in which it was 
last running, second (and subsequent) window(s) opened separately open(s) in 
workspace selected - I have not found how to avoid it.  I fear that it is 
another Google "feature".

I suspect it may have something to do with the arrival of workspaces in 
Windows 10.

Lisi



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Charlie
On Wed, 3 Aug 2016 09:56:25 +0100 Lisi Reisz sent:

> On Wednesday 03 August 2016 02:10:46 Charlie wrote:
> > Has anyone discovered this problem and found a way to stop this
> > happening? Please share.  
> 
> Can only offer fellow-feeling.  Most annoying.  It is of recent
> arrival here (Debian Jessie, 8.5, Google Chrome 52.0.2743.82
> (64-bit)), and although I have found a pattern - first window opened
> opens in workspace in which it was last running, second (and
> subsequent) window(s) opened separately open(s) in workspace selected
> - I have not found how to avoid it.  I fear that it is another Google
> "feature".
> 
> I suspect it may have something to do with the arrival of workspaces
> in Windows 10.
> 
> Lisi

After contemplation, my reply is:

Sorry to read that your system is similarly afflicted. After a reboot
Chromuim settled down here. Chromium has been really good for so long.
But that could just be famous last words.

I only use it and Iceweasel, but now with the Iceweasel/Firefox
transition, which also has become a liability. Epiphany is my new
browser of choice in place of firefox-esr because of these bugs:


grave bugs of firefox-esr (→ 45.2.0esr-1) 
 
b1 - #828159 - firefox-esr: session tabs lost after upgrade from
iceweasel to firefox-esr serious bugs of firefox-esr (→ 45.2.0esr-1)


b2 - #827395 - firefox-esr: Firefox-esr privacy invading
defaults load beacons on 1st run serious bugs of firefox-esr (→
45.2.0esr-1) 

b3 - #822715 - firefox-esr: FTBFS with GCC 6:
'malloc' was not declared in this scope

So will leave it without installing again for a while.

Not a huge inconvenience. Just thought an answer might be out there.

Stay well,
Charlie
-- 
Registered Linux User:- 329524
***

No object is mysterious. The mystery is in your eye.
--Elizabeth Bowen

***

Debian GNU/Linux - Magic indeed.

-



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread David Wright
On Wed 03 Aug 2016 at 11:10:46 (+1000), Charlie wrote:
>   
>   From my keyboard:
>
>   Debian testing 4.6.0-1-amd64
>   Using FVWM
>   Chromium - Version 52.0.2743.82 built on Debian stretch/sid,
> running on Debian stretch/sid (64-bit)
> 
> Move onto the workspace on which Chromium is to open and try to do
> so, and Chromium opens, but selects it's own workspace to open on?
> 
> Have read about this, or similar, on the web but can't find a
> workaround to stop this happening.
> 
> Has anyone discovered this problem and found a way to stop this
> happening? Please share. It would be appreciated.

I'm not familiar with the term "workspace" in this context, especially
after reading Lisi's comment. Could you elaborate: does it apply to
the window manager or chromium?

Cheers,
David.



Re: Wheezy Xfce losing mouse clicks

2016-08-03 Thread Eduardo M KALINOWSKI

On Qua, 03 Ago 2016, David Christensen wrote:

Lately, I have noticed that mouse clicks (e.g. left button, one click)
are getting lost.  Sometimes I have to click multiple times, especially
when the CPU is loaded.  Right-clicks and center-clicks might be getting
lost, also.

How do I troubleshoot this?


Try another mouse?

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




Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Lisi Reisz
On Wednesday 03 August 2016 14:52:38 David Wright wrote:
> On Wed 03 Aug 2016 at 11:10:46 (+1000), Charlie wrote:
> > From my keyboard:
> >
> > Debian testing 4.6.0-1-amd64
> > Using FVWM
> > Chromium - Version 52.0.2743.82 built on Debian stretch/sid,
> > running on Debian stretch/sid (64-bit)
> >
> > Move onto the workspace on which Chromium is to open and try to do
> > so, and Chromium opens, but selects it's own workspace to open on?
> >
> > Have read about this, or similar, on the web but can't find a
> > workaround to stop this happening.
> >
> > Has anyone discovered this problem and found a way to stop this
> > happening? Please share. It would be appreciated.
>
> I'm not familiar with the term "workspace" in this context, especially
> after reading Lisi's comment. Could you elaborate: does it apply to
> the window manager or chromium?
>
> Cheers,
> David.

The desktop environment.  More often traditionally called "desktops" than 
workspaces.  It is a way of grouping things.

Please everyone, don't lets have a flamewar about terminology.  (Not aimed at 
you, David - but someone is bound to want to disagree. :-(  )

Lisi

Lisi



Re: Wheezy Xfce losing mouse clicks

2016-08-03 Thread Lisi Reisz
On Wednesday 03 August 2016 15:19:43 Eduardo M KALINOWSKI wrote:
> On Qua, 03 Ago 2016, David Christensen wrote:
> > Lately, I have noticed that mouse clicks (e.g. left button, one click)
> > are getting lost.  Sometimes I have to click multiple times, especially
> > when the CPU is loaded.  Right-clicks and center-clicks might be getting
> > lost, also.
> >
> > How do I troubleshoot this?
>
> Try another mouse?

:-)

Lisi



IBM Power System Leads

2016-08-03 Thread Constance Ryan
 

 

Hello there, 

 

Might want to know whether you are keen on obtaining IBM Power System Leads
for your marketing effort.

 

Data Fields: Name, Title, Email, Phone Numbers, Company Name, and Company
Details like Physical Address, Web Address, Revenue Size, Employee Size and
industry.

 

Please review and let me know your thoughts I will get back to you with a
sample file at no cost. Last Verification Date: 6/29/2016.

 

Regards,

Constance Ryan

Sales Executive

 

To opt-out response 'Remove' in the subject line

 



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Reco
Hi.

On Wed, 3 Aug 2016 23:18:40 +1000
Charlie  wrote:

> I only use it and Iceweasel, but now with the Iceweasel/Firefox
> transition, which also has become a liability. Epiphany is my new
> browser of choice in place of firefox-esr because of these bugs:
> 
<...> 
> b3 - #822715 - firefox-esr: FTBFS with GCC 6:
> 'malloc' was not declared in this scope

I'm really curious. How exactly the fact that firefox cannot be built
using gcc-6 affects you?


And returning to your original question - have you tried using
devilspie to pin Chromuim window to a single workspace?

Reco



Using sudo in a script.

2016-08-03 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to create a short script to mount and unmount SCXC cards.
 For these exfat cards to do either in Jessie has to be done as root.

I have set up sudo so that my user can run any command as root.  the
following command will mount the card without asking for my password.

sudo mount -U 6238-3434 /media/xca

(My file /etc/fstab contains the following line:

UUID-6238-3434  /media/xca  exfat   rw,users,noauto,noatime 0 0)

In order to automate the process I wrote the following script named mxca
:

#!/bin/bash
# Script to mount xca from any directory.
CURPWD=$PWD
cd /home/ken
sudo mount -U 6238-3434 /media/xca
cd $CURPWD

Running mxca alone does not produce the required result.  Running sudo
mxca together however does, even though the sudo command is also in
the script.

I can unmount the card by running command sudo umount /media/xca, but
I would like a similar script named uxca to do the same thing for
unmounting.

Is there a way to make sudo do its thing in these scripts so that I
can mount and unmount the SDXC card by running the script commands
mxca and uxca by themselves?

Regards, Ken Heard


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAleiGgQACgkQlNlJzOkJmTeE9ACfaJZ3Fk27+a9YPhHtk040cCpF
D/QAnA7KuGGRMlkP3AIpHqUiTgtyaaq2
=cxii
-END PGP SIGNATURE-



samba (and netbios)

2016-08-03 Thread Pol Hallen

Hi all :)

I've a samba server listen on eth0 (everything ok) and eth2

server1 has eth2: 192.168.100.212 <--> 192.168.100.213 (another linux 
server) with another interface 192.168.30.0/24


from network 192.168.30.0/24 I can ping 192.168.100.212 and use samba 
share (but only using numeric IP) I don't see netbios (from windows 
machines).


nbtstat doesn't find any host

Do I need to create a routing of broadcast address? or what?

thanks!

Pol



Re: Using sudo in a script.

2016-08-03 Thread Don Armstrong
On Wed, 03 Aug 2016, Ken Heard wrote:

> I would like to create a short script to mount and unmount SCXC cards.
>  For these exfat cards to do either in Jessie has to be done as root.
> 
> I have set up sudo so that my user can run any command as root.  the
> following command will mount the card without asking for my password.
> 
> sudo mount -U 6238-3434 /media/xca
> 
> (My file /etc/fstab contains the following line:
> 
> UUID-6238-3434  /media/xca  exfat   rw,users,noauto,noatime 0 0)

This should probably be

UUID=6238-3434 /media/xca exfat rw,users.noauto,noatime 0 0

and then in theory you should be able to go

mount /media/xca

as a user. If not, this sounds like a bug in mount.exfat.

> In order to automate the process I wrote the following script named mxca
> :
> 
> #!/bin/bash
> # Script to mount xca from any directory.
> CURPWD=$PWD
> cd /home/ken
> sudo mount -U 6238-3434 /media/xca
> cd $CURPWD

First off, the cd in the script won't change what the directory is once
the subshell started for the script exits.

Second, if you need to change directories temporarily in a shell script,
use a subshell:

#!/bin/bash
(cd /home/ken;
 sudo mount -U 6238-3434 /media/xca;
)

> Is there a way to make sudo do its thing in these scripts so that I
> can mount and unmount the SDXC card by running the script commands
> mxca and uxca by themselves?

It's possible that sudo doesn't have a tty, and can't ask for a
password. adding set -x; early on in the script may help you see what is
actually happening.

-- 
Don Armstrong  https://www.donarmstrong.com

Those who begin coercive elimination of dissent soon find themselves
exterminating dissenters. Compulsory unification of opinion achieves
only the unanimity of the graveyard.
 -- Justice Roberts in 319 U.S. 624 (1943)



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread David Wright
On Wed 03 Aug 2016 at 15:36:19 (+0100), Lisi Reisz wrote:
> On Wednesday 03 August 2016 14:52:38 David Wright wrote:
> > On Wed 03 Aug 2016 at 11:10:46 (+1000), Charlie wrote:
> > >   From my keyboard:
> > >
> > >   Debian testing 4.6.0-1-amd64
> > >   Using FVWM
> > >   Chromium - Version 52.0.2743.82 built on Debian stretch/sid,
> > > running on Debian stretch/sid (64-bit)
> > >
> > > Move onto the workspace on which Chromium is to open and try to do
> > > so, and Chromium opens, but selects it's own workspace to open on?
> > >
> > > Have read about this, or similar, on the web but can't find a
> > > workaround to stop this happening.
> > >
> > > Has anyone discovered this problem and found a way to stop this
> > > happening? Please share. It would be appreciated.
> >
> > I'm not familiar with the term "workspace" in this context, especially
> > after reading Lisi's comment. Could you elaborate: does it apply to
> > the window manager or chromium?
> >
> > Cheers,
> > David.
> 
> The desktop environment.  More often traditionally called "desktops" than 
> workspaces.  It is a way of grouping things.
> 
> Please everyone, don't lets have a flamewar about terminology.  (Not aimed at 
> you, David - but someone is bound to want to disagree. :-(  )

I just wanted to save some breath if the problem is of the sort
treated firstly here.

Anyway, if it's workspace in the sense of the one mention of
"workspace" in   man fvwm   ie desktop, then I can't be of any help.
I ran two desktops on two screens/graphics cards in fvwm for many
years and the boundary between them was impermeable.

OTOH if we're talking about viewports on one desktop, then yes, I do
have a problem where one of the Skype windows maps outside the entire
set of viewports, ie right off the desktop. I can get to it with the
Window Menu (Ctrl-rightButton presently, configurable) which brings
it into view.

I discovered in the past that I could achieve the same with a
FvwmButton if I found out the window title of the window concerned,
'my-skype-name - Skype*', then set up a button like

*MyButtons: (2x1+0+0, Title 'the label', Action MyBit)

and a function which includes the line

+ I All ('my...*') PipeRead '/bin/cat ${HOME}/.fvwm/move-skype'

where ${HOME}/.fvwm/move-skype contains, say

AnimatedMove 10p 10p

so that when you press the button, the windows races to the position
given, in the current viewport.

I use it when I start X to place various windows like digital clock,
analogue clock, sound mixer, xmms, Skype etc. Putting the coordinates
into files means you can dynamically compute them in .xsession using
the current screen resolution. The button is swallowed in the Pager
along with various scrot and video capture buttons.

Cheers,
David.



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Glenn English

> On Aug 3, 2016, at 2:56 AM, Lisi Reisz  wrote:
> 
> On Wednesday 03 August 2016 02:10:46 Charlie wrote:
>> Has anyone discovered this problem and found a way to stop this
>> happening? Please share.
> 
> Can only offer fellow-feeling.  Most annoying.  It is of recent arrival here 
> (Debian Jessie, 8.5, Google Chrome 52.0.2743.82 (64-bit)), and although I 
> have found a pattern - first window opened opens in workspace in which it was 
> last running, second (and subsequent) window(s) opened separately open(s) in 
> workspace selected - I have not found how to avoid it.  I fear that it is 
> another Google "feature".
> 
> I suspect it may have something to do with the arrival of workspaces in 
> Windows 10.

Nope. The most recent Mac OS does the same thing. 

Sounds to me like a conspiracy of systems programmers all over the globe :-)

-- 
Glenn English





Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Lisi Reisz
On Wednesday 03 August 2016 20:50:05 David Wright wrote:
> Anyway, if it's workspace in the sense of the one mention of
> "workspace" in   man fvwm   ie desktop, then I can't be of any help.

Thanks, David.  I don't think that anyone can be of any help.  I think one 
just has to curse and live with it!  After it has opened where it wants to 
open, I mouse-drag it to where I want it.  Easy, but mildly irritating.

Lisi



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Lisi Reisz
On Wednesday 03 August 2016 21:03:52 Glenn English wrote:
> > I suspect it may have something to do with the arrival of workspaces in
> > Windows 10.
>
> Nope. The most recent Mac OS does the same thing.

It isn't the OS we are complaining about.  It is Chromium/Google and its new 
habit, which I still think may have been invented by Google to suit what they 
imagine Windows 10 users would like, however many Os's have multiple desktops 
these days.  (Multiple desktops/workspaces depends, in fact, anyhow in Linux, 
on the DE/windows manager, not the OS.)

Lisi



Re: Using sudo in a script.

2016-08-03 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2016-08-03 12:21, Ken Heard wrote:
> I would like to create a short script to mount and unmount SCXC
> cards. For these exfat cards to do either in Jessie has to be done
> as root.
> 
> I have set up sudo so that my user can run any command as root.
> the following command will mount the card without asking for my
> password.
> 
> sudo mount -U 6238-3434 /media/xca
> 
> (My file /etc/fstab contains the following line:
> 
> UUID-6238-3434  /media/xca  exfat   rw,users,noauto,noatime 0
> 0)
> 
> In order to automate the process I wrote the following script named
> mxca :
> 
> #!/bin/bash # Script to mount xca from any directory. CURPWD=$PWD 
> cd /home/ken sudo mount -U 6238-3434 /media/xca cd $CURPWD
> 
> Running mxca alone does not produce the required result.  Running
> sudo mxca together however does, even though the sudo command is
> also in the script.
> 
> I can unmount the card by running command sudo umount /media/xca,
> but I would like a similar script named uxca to do the same thing
> for unmounting.
> 
> Is there a way to make sudo do its thing in these scripts so that
> I can mount and unmount the SDXC card by running the script
> commands mxca and uxca by themselves?

I have since discovered a command "/sbin/mount.fuse" and "fusermount
- -u" which are supposed to allow a non-privileged user to mount and
unmount exfat devices; but I haven't figured out how to use them yet.
 A simple "/sbin/mount.fuse /media/xca" or "fusermount -u /media/xca"
do not work.  Other than fixing the format of the UUID device indicate
from UUID- to UUID= I have yet to experiment with Don Armstrong's
other suggestions.  I thing I would rather get /sbin/mount.fuse and
fusermount -u to work instead.

Regards, Ken


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAleiYSoACgkQlNlJzOkJmTe4fwCcDvq8eBcq0I7guGdmmhN23sgP
3KEAn0LJKJzJUlIJTD0jMMt3T4CyXWAw
=lclv
-END PGP SIGNATURE-



Re: Using sudo in a script.

2016-08-03 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2016-08-03 15:16, Jude DaShiell wrote:
> Why not try a -H switch on the sudo line in your script and see
> what happens?

I did.  The answer was nothing.

Regards, Ken

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAleiYfsACgkQlNlJzOkJmTcD7wCbB/PgXclQY8xzuUAov+I37DaR
2qUAnj8XHWQADZzDmIyB6QopXDRsMYaO
=6LWe
-END PGP SIGNATURE-



Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread Charlie
On Wed, 3 Aug 2016 18:42:38 +0300 Reco sent:

>   Hi.
> 
> On Wed, 3 Aug 2016 23:18:40 +1000
> Charlie  wrote:
> 
> > I only use it and Iceweasel, but now with the Iceweasel/Firefox
> > transition, which also has become a liability. Epiphany is my new
> > browser of choice in place of firefox-esr because of these bugs:
> >   
> <...> 
> > b3 - #822715 - firefox-esr: FTBFS with GCC 6:
> > 'malloc' was not declared in this scope  
> 
> I'm really curious. How exactly the fact that firefox cannot be built
> using gcc-6 affects you?

I don't use firefox now.
 
> And returning to your original question - have you tried using
> devilspie to pin Chromuim window to a single workspace?


After contemplation, my reply is:

Thank you for pointing out devils pie, but I will have to read a bit to
get to learn how to drive it.

Thank you for that.
Charlie

-- 
Registered Linux User:- 329524
***

Use, do not abuse; neither abstinence nor excess ever renders
man happy. .Voltaire

***

Debian GNU/Linux - Magic indeed.

-



Re: Using sudo in a script.

2016-08-03 Thread deloptes
Ken Heard wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 2016-08-03 15:16, Jude DaShiell wrote:
>> Why not try a -H switch on the sudo line in your script and see
>> what happens?
> 
> I did.  The answer was nothing.

why bother users run sudo commands when they can use the desktop
functionality and transparently mount/umount whatever they attach to the
system and is not in fstab






Re: Chromium jumps to any workspace it likes.......

2016-08-03 Thread David Wright
On Wed 03 Aug 2016 at 22:08:16 (+0100), Lisi Reisz wrote:
> On Wednesday 03 August 2016 20:50:05 David Wright wrote:
> > Anyway, if it's workspace in the sense of the one mention of
> > "workspace" in   man fvwm   ie desktop, then I can't be of any help.
> 
> Thanks, David.  I don't think that anyone can be of any help.  I think one 
> just has to curse and live with it!  After it has opened where it wants to 
> open, I mouse-drag it to where I want it.  Easy, but mildly irritating.

The OP said they use fvwm which exhibits the behaviour I described.
If you can drag the window from where it popped up to where you want
it, then it was on the correct *desktop*.

If it pops up on the wrong viewport, you've got to navigate to the
correct one and then either make it sticky and switch back, or drag it
viewport by viewport to the correct one.

Looking at the commented lines in my .xsession files, I see that
fvwm desktops correspond with the X server's $DISPLAYs, so
$ xterm -display :0.1
will map it to a different Desktop from :0 (or :0.0).

fvwm viewports can be addressed in xterm using X resources, so
$ xterm -xrm "*Page: 1 3"
will map it to the 4th row down and 2nd to the right, and switch
to that viewport.
They can also be addressed by using the geometry, so
$ xterm -geometry +2000+100
will map the xterm in the next viewport to the right if the
x-resolution is less than 2000. In this case, the viewport doesn't
switch: the window maps off the screen instead.

I have no idea how any of the browsers decide where and how large to
map their window. I don't think it could be as simple as -geometry;
unlike xterm, simplicity is just not their style.

Cheers,
David.



Power Supply

2016-08-03 Thread manda
Hello, 







Glad to know that you are dealing with power supply,
 
Jave Company Limited had 12 years experience of power adapter,Main products 
cover:LED power supply,wall rmount adapter, desktop adapter,LED driver,medical 
adapter,open frame power supply, USB charger,solar charger,car charge,World 
voltage plug list, AU,EU,UK USA wall mount adapter of all global and USB data 
cable ets.
 
The products pass  full CE ,UL ,FCC,SAA,CSA,GS,PSE,C-TICK etc of safety 
certifications ,Output voltage is 5 v, 9 v, 12 v, 24 v series etc., the output 
current  is 0.3A、0.5A、1A、1.2A、1.5A、2A、2.5A、3A、3.5A、4A 、5A、10A  series and so 
on. We can be realize the ODM/OEM processing.with custom made to your technical 
drawings. Our website  poweradapterchina.com
 

More..., please contact us .
 
Best Regards,
 

Manda Mo 
Jave Company Limited 
2F, Jiahuahaoyuan, Shiyan Town, 
Baoan District, Shenzhan, 518108 China 
Tel: +86 755 36960829 
Fax: +86 755 27633623 
poweradapterchina.com 
... 
P.S.If you are not the right person then please forward this email.


Re: Wheezy Xfce losing mouse clicks

2016-08-03 Thread David Christensen
On 08/03/2016 07:19 AM, Eduardo M KALINOWSKI wrote:
> Try another mouse?

Decent idea -- I'll give it a try and report back.


David