Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread Keith Bainbridge

On 4/5/20 12:53 am, Andrei POPESCU wrote:

On Du, 03 mai 20, 07:49:51, Richard Owlett wrote:


I had browsed that list. It would definitely be appropriate if I already had
chosen specific Raspberry Pi hardware and needed help getting Debian
installed/running. My current problem is selecting components which mutually
compatible electrically and physically. When selecting between component-A
and component-B, I would want to know  which was more Debian "friendly".


In my opinion uch a question would be be on-topic for debian-arm.

Kind regards,
Andrei




Perhaps a web search for something like:

portable raspberry pi


I know there are projects for making a laptop with 2 screens. it should 
be possible to make up a hand-held.


The size will be an issue for hand held, I'd reckon, but you may be able 
to print something a little more portable thatn the wooden gadgets I've 
seen so far. And no, I haven't made one. Maybe when this laptop gives 
up, and I am more patient.




--
Keith Bainbridge

ke1th3...@zoho.com
+61 (0)447 667 468



Re: Backup ideas

2020-05-03 Thread Default User
Hi to all.

I want to thank you all very much  for taking the time to reply to this
thread.

Your replies have indeed been most thoughtful and informative, and you have
given me much to consider.

The subject of data protection and preservation seems to be not only quite
extensive, but also seems to be something of an art, as well as a science.
It's hard to get right, but easy to get wrong.

So, not wanting to get it wrong, I have rolled up my sleeves, am studying,
and practicing, practicing, practicing.

Please let me apologize for not replying more promptly to your posts. It
isn't out of disinterest, it's that I have been busy doing rather than
talking.

Again, thank you for your interest and assistance.  I really do appreciate
it!


Re: /etc/default/keyboard not loaded at startup

2020-05-03 Thread Celejar
On Sun, 03 May 2020 06:06:37 +
gwinship  wrote:

> Thank both of you for your support. However, the dpkg-reconfigure method 
> doesn not fix the issue. I will still have to run the
> udevadm trigger --subsystem-match=input --action=change
> command each time I enter a new session.
> I am aware that in the config it says that the /etc/default/keyboard settings 
> are applied. Nevertheless, each start-up I will have the US layout used on 
> all applications and terminal emulators. I also checked whether the localectl 
> might interfere, but running localectl status outputs
> 
>System Locale: LANG=en_US.UTF-8
>   LANGUAGE=en_US:en
>VC Keymap: uk
>   X11 Layout: gb,de
>X11 Model: pc105
>  X11 Options: grp:win_space_toggle
> before executing the udev command.
> I'd be very glad if there are any other suggestions on how to apply the 
> configuration at startup without restarting the kernel input system each time.
> Cheers,
> Felix

I haven't been following this entire thread, but I recently reported a
similar-sounding bug:

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

Celejar



systemd-homed (was Re: Anti-malware for my personal Debian workstation?)

2020-05-03 Thread Kenneth Parker
On Sun, May 3, 2020 at 1:51 PM Thomas Schmitt  wrote (in
part):

> Hi,
>



But there is hope:
> Linux will soon be replaced. We will be able to control kernel bugs by
> some JSON lines in the configuration of systemd-homed.
>

This issue (systemd-homed) was brought up on a different Linux-based email
list.  I suggested that, to learn more, I would be happy to  "sacrifice"
 a partition on a USB Memory Stick.  But, to my question on links to
people, doing this, I got nothing, except for a vague suggestion that some
Centos people are "thinking about it".  Anybody here know anyone who is, in
anything past "thinking about it"?  (Not even Debian Sid has mention of
it).  Thanks!

Have a nice day :)
>
> Thomas
>

Kenneth Parker


Re: Anti-malware for my personal Debian workstation?

2020-05-03 Thread l0f4r0
Hi Thomas,

3 mai 2020 à 19:53 de scdbac...@gmx.net:

> l0f...@tuta.io wrote:
>
>> I understand you like hunting for bugs into malware. It's like R&D...
>> But what makes you think "free virus producers are just much better
>> programmers than those of MS-Windows malware"? Do you think writing a
>> malware on Linux requires more technical knowledge than on Windows?
>>
> They skillfully disguise their misanthropy as unintended mistakes
> which nevertheless get defended against any fixing for decades.
>
> (I fear to have already told the stories of the CD TAO Read-Ahead bug,
> the sr SG_IO Concurrency bug, or the Automatic CD Tray Loading bug.
> Else i would now annoy the public by lamenting them and their near
> immortality.)
>
I've searched into the debian-user ML archives because I had no idea what you 
were talking about...
These topics seem to be dedicated to initiated people ;)

> Have a nice day :)
>
Thanks, a "good night" for me ;)
Take care!

l0f4r0



Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread deloptes
Richard Owlett wrote:

> Done.
> Thank you.

Not sure what you exactly want to achieve - the look or the functionality,
but I was thinking while reading your post about the Gemini PDA with the
Sailfish or some of the Sailfish community ports to various other hardware.

I was using Nokia N9 which was very close to debian (the MeeGo project) and
moved to the Sailfish after it morally served out.

I mean a smart phone is somehow ancestor of the palm pilot. I had the III
and V versions. This was my first portable notebook (literally) and it was
greatly integrated with the KDE3. Aaah nostalgy ... but the best experience
I had was with the N9 and the Sailfish on the Xperia X.







Re: Mouse awfully slow on Debian 10 on certain machines

2020-05-03 Thread David Wright
On Sun 03 May 2020 at 13:08:26 (+0200), Jörg Kampmann wrote:
> 
> In order to test your suggestions I tried them under Debian 9 - 32-Bit
> -  however these programs do not exist on my debian 9  - neither
> xinput and for *libinput* I found:
> 
> bash: libinput: Kommando nicht gefunden.  #*--- command not found*
> root@primergy:/home/kampmann# whereis libinput
> libinput: /usr/share/man/man4/libinput.4.gz

Perhaps you need to install them. I've noticed no changes in this area
between stretch and buster. dpkg -l shows:

dpkg-l-buster-2020-02-24-11-51-faye01:ii libinput-bin 1.12.6-2 i386 input 
device management and event handling library - udev quirks
dpkg-l-buster-2020-02-24-11-51-faye01:ii libinput10:i386 1.12.6-2 i386 input 
device management and event handling library - shared library
dpkg-l-buster-2020-02-24-11-51-faye01:ii xinput 1.6.2-1+b1 i386 Runtime 
configuration and test of XInput devices
dpkg-l-buster-2020-02-24-11-51-faye01:ii xserver-xorg-input-libinput 0.28.2-2 
i386 X.Org X server -- libinput input driver
dpkg-l-stretch-2019-08-22-12-30-faye02:ii libinput-bin 1.6.3-1 i386 input 
device management and event handling library - udev quirks
dpkg-l-stretch-2019-08-22-12-30-faye02:ii libinput10:i386 1.6.3-1 i386 input 
device management and event handling library - shared library
dpkg-l-stretch-2019-08-22-12-30-faye02:ii xinput 1.6.2-1+b1 i386 Runtime 
configuration and test of XInput devices
dpkg-l-stretch-2019-08-22-12-30-faye02:ii xserver-xorg-input-libinput 0.23.0-2 
i386 X.Org X server -- libinput input driver

I don't use xorg.conf for the mouse (only for coercing video modes on
two simultaneous displays). Instead I slow it down with lines like:
  xinput --set-prop "Logitech M325" "Coordinate Transformation Matrix" ".3 0 0 
0 .3 0 0 0 1"
in ~/.xsession.

Actually, ~/.xsession runs ~/bin/xinput-xsession which runs the
appropriate commands for setting all the properties on all my
devices. The advantage is that if you plug in a mouse, then running
xinput-xsession will set it.

Cheers,
David.



Re: /etc/default/keyboard not loaded at startup

2020-05-03 Thread David Wright
On Sun 03 May 2020 at 06:06:37 (+), gwinship wrote:
> Thank both of you for your support. However, the dpkg-reconfigure method 
> doesn not fix the issue.

I'm not certain what the issue is, beyond what is in the subject line.

> I will still have to run the
> udevadm trigger --subsystem-match=input --action=change
> command each time I enter a new session.

By session, I suppose you mean something to do with a Display Manager,
which I don't know anything about.

> I am aware that in the config it says that the /etc/default/keyboard settings 
> are applied. Nevertheless, each start-up I will have the US layout used on 
> all applications and terminal emulators.

Perhaps your DM immediately contradicts the settings; I don't know.

> I also checked whether the localectl might interfere, but running localectl 
> status outputs
> 
>System Locale: LANG=en_US.UTF-8
>   LANGUAGE=en_US:en

I've never had cause to set that. I'm not even certain what the main
dialect of English is. I presume you think it's en_GB.

>VC Keymap: uk

I only see n/a here. Perhaps this is because Debian has its keyboard
configurations unified between VCs and X. "uk" looks suspect anyway.
Perhaps this is the cause of your XKBVARIANT diagnostic reported earlier.

>   X11 Layout: gb,de
>X11 Model: pc105
>  X11 Options: grp:win_space_toggle
> before executing the udev command.
> I'd be very glad if there are any other suggestions on how to apply the 
> configuration at startup without restarting the kernel input system each time.

Perhaps if you explain what you actually want, someone here may help
you configure it.

> On Tuesday, April 28, 2020 5:20 PM, David Wright  
> wrote:
> > On Sun 26 Apr 2020 at 10:00:37 (+0300), Andrei POPESCU wrote:
> > > On Sb, 25 apr 20, 16:39:24, gwinship wrote:
> > >
> > > > I added following configuration to my /etc/default/keyboard
> > >
> > > Hint: you can use 'dpkg-reconfigure keyboard-configuration' to get a
> > > text-mode wizard.
> >
> > I've found that odd things can happen if X is running when you use
> > this command. I can only suppose it's to do with how the system
> > switches between graphics and text modes. That's why I suggested
> > booting into a text-only system.
> >
> > > > XKBMODEL="pc105"
> > > > XKBLAYOUT="gb,de"
> > > > XKBVARIANT=""
> > > > XKBOPTIONS="grp:win_space_toggle"
> > > > BACKSPACE="guess"
> > > > however. This does not load at boot.
> > >
> > > What is "this" that doesn't load at boot? How do you check?
> > > As per your Xorg.log below the configuration is applied.
> > > [...]
> > >
> > > > The /var/log/Xorg.log is
> > > > [ 268.781] () Option "xkb_model" "pc105"
> > > > [ 268.781] () Option "xkb_layout" "gb,de"[ 268.781] (WW) Option 
> > > > "xkb_variant" requires a string value
> > > > [ 268.781] (**) Option "xkb_options" "grp:win_shift_toggle"
> >
> > All my /etc/default/keyboard files contain the line
> > XKBVARIANT=""
> > but I've never seen that warning. In fact, I have never seen the
> > Option "xkb_variant" line reflected in the Xorg log, presumably
> > because, on my systems, it's always empty. That goes for squeeze,
> > wheezy, jessie, stretch and buster.
> >
> > What I expect to see from:
> >
> > XKBMODEL="pc105"
> > XKBLAYOUT="us"
> > XKBVARIANT=""
> > XKBOPTIONS="lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp"
> >
> > BACKSPACE="guess"
> >
> > is, for two keyboards:
> >
> > (II) config/udev: Adding input device DELL DELL USB Keyboard 
> > (/dev/input/event0)
> > () DELL DELL USB Keyboard: Applying InputClass "libinput keyboard catchall"
> > (II) Using input driver 'libinput' for 'DELL DELL USB Keyboard'
> > (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0
> > () DELL DELL USB Keyboard: always reports core events() Option "Device" 
> > "/dev/input/event0"
> > () Option "_source" "server/udev"(II) event0 - DELL DELL USB Keyboard: is 
> > tagged by udev as: Keyboard
> > (II) event0 - DELL DELL USB Keyboard: device is a keyboard
> > (II) event0 - DELL DELL USB Keyboard: device removed
> > () Option "config_info" 
> > "udev:/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:413C:2005.0001/input/input3/event0"
> > (II) XINPUT: Adding extended input device "DELL DELL USB Keyboard" (type: 
> > KEYBOARD, id 11)
> > () Option "xkb_model" "pc105"() Option "xkb_layout" "us"
> > () Option "xkb_options" 
> > "lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp"
> >
> > and:
> >
> > () Logitech K520: Applying InputClass "libinput keyboard catchall"
> > (II) Using input driver 'libinput' for 'Logitech K520'
> > (II) systemd-logind: returning pre-existing fd for /dev/input/event12 13:76
> > () Logitech K520: always reports core events() Option "Device" 
> > "/dev/input/event12"
> > () Option "_source" "_driver/libinput"(II) libinput: Logitech K520: is a 
> > virtual subdevice
> > () Option "config_info" 
> > "udev:/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.2/0003:046D:C52B.

Re: armhf: buster: TLS / HTTPS partly broken

2020-05-03 Thread Reco
On Sun, May 03, 2020 at 07:20:13PM +0200, Mark Jonas wrote:
> Hi Reco,
> 
> >> curl: (60) SSL certificate problem: unable to get local issuer certificate
> >>
> >> Does that mean a TLS library does not feature all required protocols on 
> >> armhf?
> >
> > TLS library that curl uses (openssl) is perfectly fine, but it cannot
> > validate any certificate unless you provide it with root CA
> > certificates.
> > So it likely means you haven't installed "ca-certificates" package.
> 
> This is what it looks like. But actually I installed ca-certificates.

Ok. Can you run tcpdump while you're running curl?
Specifically,

tcpdump -s0 -pnni any -w /tmp/curl.pcap tcp port 443

Reco



Re: Anti-malware for my personal Debian workstation?

2020-05-03 Thread Thomas Schmitt
Hi,

i wrote:
> ... > "When you do things right, people won’t be sure you’ve done anything
> ... > at all." - Futurama

> > I assume that our malware producers adhere to the same work mode and am
> > thankful for all their bugs which are for free and lots of fun to hunt.

l0f...@tuta.io wrote:
> I understand you like hunting for bugs into malware. It's like R&D...
> But what makes you think "free virus producers are just much better
> programmers than those of MS-Windows malware"? Do you think writing a
> malware on Linux requires more technical knowledge than on Windows?

They skillfully disguise their misanthropy as unintended mistakes
which nevertheless get defended against any fixing for decades.

(I fear to have already told the stories of the CD TAO Read-Ahead bug,
 the sr SG_IO Concurrency bug, or the Automatic CD Tray Loading bug.
 Else i would now annoy the public by lamenting them and their near
 immortality.)


> Besides, do you mean "free virus" as in "free beer" or "free speech" please?

Beer of course. I can at any time apply changes to local kernels,
be they good or bad, and talk publicly about them.
I cannot tell the brewery what to put into their bottles of free beer.

But there is hope:
Linux will soon be replaced. We will be able to control kernel bugs by
some JSON lines in the configuration of systemd-homed.


Have a nice day :)

Thomas



Re: armhf: buster: TLS / HTTPS partly broken

2020-05-03 Thread Mark Jonas
Hi Reco,

>> curl: (60) SSL certificate problem: unable to get local issuer certificate
>>
>> Does that mean a TLS library does not feature all required protocols on 
>> armhf?
>
> TLS library that curl uses (openssl) is perfectly fine, but it cannot
> validate any certificate unless you provide it with root CA
> certificates.
> So it likely means you haven't installed "ca-certificates" package.

This is what it looks like. But actually I installed ca-certificates.

This is an excerpt of the relevant part of the the Dockerfile [1]
where the packages are installed:

RUN apt-get update && \
  apt-get -y --no-install-recommends install \
curl \
ca-certificates \
tzdata \
&& \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/*

I also think that wget would not work or at least give a warning in
case there were no certificates at all.

Last but not least, the identical Dockerfile produces images for amd64
and arm64 where curl and aria2 work without hiccups. And it works
flawlessly on Stretch using the same Dockerfile.

Greetings,
Mark


[1]: 
https://gitlab.com/toertel/docker-image-tls-https-broken/-/blob/master/Dockerfile.j2



Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread Richard Owlett

On 05/03/2020 09:53 AM, Andrei POPESCU wrote:

On Du, 03 mai 20, 07:49:51, Richard Owlett wrote:


I had browsed that list. It would definitely be appropriate if I already had
chosen specific Raspberry Pi hardware and needed help getting Debian
installed/running. My current problem is selecting components which mutually
compatible electrically and physically. When selecting between component-A
and component-B, I would want to know  which was more Debian "friendly".


In my opinion uch a question would be be on-topic for debian-arm.

Kind regards,
Andrei



Done.
Thank you.





Re: Anti-malware for my personal Debian workstation?

2020-05-03 Thread l0f4r0
Hi,

24 avr. 2020 à 02:40 de deb...@lionunicorn.co.uk:

> On Thu 23 Apr 2020 at 23:58:41 (+0200), > l0f...@tuta.io>  wrote:
>
>> > "When you do things right, people won’t be sure you’ve done anything
>> > at all." - Futurama
>> >
>> Could you explain that please?
>>
> If you're like me when you go for your flu shot, you offer your arm
> and look the other way. A good nurse will surprise you when they
> unexpectedly say, "All done".
>
Thanks for the analogy ;)

24 avr. 2020 à 08:54 de scdbac...@gmx.net:

> i wrote:
>
>> > To my theory, free virus producers
>> > are just much better programmers than those of MS-Windows malware.
>> >
>> > "When you do things right, people won’t be sure you’ve done anything
>> > at all." - Futurama
>>
> l0f...@tuta.io wrote:
>
>> Could you explain that please?
>>
> Well, Bender became the world of very tiny beings who in the end fought
> a nuclear war over the question whether he is a god or not. This brought
> him in contact with the deity who manages the world Bender lives in.
> The quoted statement summarizes the work mode of that deity.
>
> I assume that our malware producers adhere to the same work mode and am
> thankful for all their bugs which are for free and lots of fun to hunt.
>
I didn't know about this animated SF television program so I had to read 
multiple times your answer+watch the (enlightening) episode to get what you 
were talking about with "Bender", "deity"... Anyway, thanks for the summary ;)

I understand you like hunting for bugs into malware. It's like R&D...
But what makes you think "free virus producers are just much better programmers 
than those of MS-Windows malware"? Do you think writing a malware on Linux 
requires more technical knowledge than on Windows?
Besides, do you mean "free virus" as in "free beer" or "free speech" please?

Thank you & Best regards,
l0f4r0



Re: armhf: buster: TLS / HTTPS partly broken

2020-05-03 Thread Reco
Hi.

On Sun, May 03, 2020 at 02:40:14PM +0200, Mark Jonas wrote:
> curl: (60) SSL certificate problem: unable to get local issuer certificate
>
> Does that mean a TLS library does not feature all required protocols on armhf?

TLS library that curl uses (openssl) is perfectly fine, but it cannot
validate any certificate unless you provide it with root CA
certificates.
So it likely means you haven't installed "ca-certificates" package.

Reco



Re: How to start offlineimap systemd

2020-05-03 Thread Andrei POPESCU
On Du, 03 mai 20, 15:28:11, jose...@posteo.net wrote:
> 
> systemctl --user start offlineimap
> Failed to start offlineimap.service: Unit offlineimap.service not
> found.
> 
> You can see that the service is not found. I have also tried starting
> with socket activation but it is the same.
> 
> Is there anything obvious I'm not seeing?

The offlineimap package includes .service files only as examples, you 
have to install and enable them yourself.

You might want to file a 'wishlist' bug to have them installed by 
default (possibly disabled). You can do so with 'reportbug offlineimap'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How to start offlineimap systemd

2020-05-03 Thread Ihor Antonov
On Sunday, 3 May 2020 06:28:11 PDT jose...@posteo.net wrote:
> Hello all!!
> 
> I'm sorry if my question is terribly simple but I'm a new debian
> user. I have always been an archlinux user but now I've decided to
> give debian buster a try.
> 
> Everything is working smoothly except offlineimap. Actually I works
> well, the problem is that I can't start the systemd service.
> 
> I've tried like this:
> 
> systemctl --user start offlineimap
> Failed to start offlineimap.service: Unit offlineimap.service not
> found.
> 
> You can see that the service is not found. I have also tried starting
> with socket activation but it is the same.
> 
> Is there anything obvious I'm not seeing?
> 
> Thanks a lot,
> Jose.

Hello Jose

If you look at list of files in offlineimap package in Archlinux[1] and
compare the same with Debian [2] you will notice that Archlinux installs 
some unit files in: 

usr/lib/systemd/user/offlineimap-oneshot.service
usr/lib/systemd/user/offlineimap-oneshot.timer
usr/lib/systemd/user/offlineimap-oneshot@.service
usr/lib/systemd/user/offlineimap-oneshot@.timer
usr/lib/systemd/user/offlineimap.service
usr/lib/systemd/user/offlineimap@.service

while Debian does not. So `systemctl --user` is looking for unit files in 
specific locations and it does not find one.


Debian installs these unit files to examples directory:
/usr/share/doc/offlineimap/examples/systemd/README.md
/usr/share/doc/offlineimap/examples/systemd/offlineimap-oneshot.service
/usr/share/doc/offlineimap/examples/systemd/offlineimap-oneshot.timer
/usr/share/doc/offlineimap/examples/systemd/offlineimap-oneshot@.service
/usr/share/doc/offlineimap/examples/systemd/offlineimap-oneshot@.timer
/usr/share/doc/offlineimap/examples/systemd/offlineimap.service
/usr/share/doc/offlineimap/examples/systemd/offlineimap@.service


Check out Archlinux' wiki page [3] about systemd and user configurations.
I think all you need to do is to copy one of the example unit files to the 
location where systemd expects it. But definitely give 
/usr/share/doc/offlineimap/examples/systemd/README.md 
a read


[1] https://www.archlinux.org/packages/community/any/offlineimap/
[2] https://packages.debian.org/sid/all/offlineimap/filelist
[3] https://wiki.archlinux.org/index.php/Systemd/User

-
Ihor Antonov




Re: Acer Aspire 3 A315-21 laptop has mono sound only?

2020-05-03 Thread Andrei POPESCU
On Du, 03 mai 20, 17:51:06, Andrei POPESCU wrote:
> On Du, 03 mai 20, 17:38:59, Ken Heard wrote:
> > 
> > The next series of tests involves connecting the two HDMI cables I have
> > between the laptop and the monitor.  Both have standard size plugs at each
> > end. On is a cheap 3 metre one; the other is 5 metres long and of a higher
> > quality.  For these tests each cable was plugged successively to both jacks
> > in the monitor, and both cables were tried in each direction between the
> > laptop and the monitor.
> > 
> > I first disconnected the amplifier from the monitor and listened on the buds
> > plugged into the monitor 3.5 mm headphones jack.  I repeated these tests
> > with the amplifier connected by a fibre optic cable to the monitor.
> > 
> > The result for all the tests described in the last two paragraphs was the
> > same.  In every case there was sound from only one channel. (I also made
> > sure that each speaker could work if plugged into the right speaker jacks.
> > They both did.)
> 
> The digital audio signal via HDMI is "combined" with the video signal. 
> In order to separate it (e.g. to feed an amplifier directly) one needs 
> special signal "splitter" devices.
> 
> Because of this I believe it is highly unlikely for the problem to be 
> connection related (unlike analog connections).
> 
> You should probably carefully check all possible sound settings on both 
> the laptop and the monitor.

Forgot you already checked that with another device. The rest still 
stands (my money is on software configuration issue).
 
> At least for the laptop the HDMI (digital) output is different than the 
> headset (analog) output. Could be similar also for the monitor.
> 
> On the laptop you have to check both alsa and pulseaudio (if used) 
> settings.
> 
> Do make sure you test with the same sound playing program to eliminate 
> another possible source of issues (music players usually have their own 
> volume/panning controls).
> 
> Another possible method to eliminate software configuration issues would 
> be to boot from a live image.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How to start offlineimap systemd

2020-05-03 Thread nito
On Sun, May 03, 2020 at 15:28:11 +0200, jose...@posteo.net wrote: 
> Everything is working smoothly except offlineimap. Actually I works
> well, the problem is that I can't start the systemd service.
> 
> I've tried like this:
> 
> systemctl --user start offlineimap
> Failed to start offlineimap.service: Unit offlineimap.service not
> found.

You need a systemd-service file to use it as an systemd-service.
Either you disabled it (try systemctl enable offlineimap.service),
or create a new service file.
The package seems to contain an example service file:
https://packages.debian.org/stretch/all/offlineimap/filelist
/usr/share/doc/offlineimap/examples/systemd/offlineimap.service

 
> You can see that the service is not found. I have also tried starting
> with socket activation but it is the same.

I'm not a systemd expert, but I think if there's no service file you can't 
start it as a systemd service anyway.
 

--- Nito



Re: armhf: buster: TLS / HTTPS partly broken

2020-05-03 Thread Andrei POPESCU
On Du, 03 mai 20, 14:40:14, Mark Jonas wrote:
> 
> Does anybody have an idea what the problem might be? Who can / should
> tackle the problem?
> 
> I did not report the problem using reportbug because I have no clue
> which package is causing the problem.

You could check what curl, aria2 and LMS have in common, but not with 
wget.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread Andrei POPESCU
On Du, 03 mai 20, 07:49:51, Richard Owlett wrote:
> 
> I had browsed that list. It would definitely be appropriate if I already had
> chosen specific Raspberry Pi hardware and needed help getting Debian
> installed/running. My current problem is selecting components which mutually
> compatible electrically and physically. When selecting between component-A
> and component-B, I would want to know  which was more Debian "friendly".

In my opinion uch a question would be be on-topic for debian-arm.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Looking for video card recommendation

2020-05-03 Thread Alberto Sentieri
I have a Nvidia NVS310 installed in my Linux computer for a few years. 
It works well with the Nvidia driver, and not so well with the Linux 
nouveau driver. I am looking for a equivalent replacement (a cheap one) 
which works well with a standard non-proprietary Linux device driver. By 
works well I mean does not lock on me.


I do not need fancy graphics, but I need:

- 2 DisplayPort
- support for 2 monitors up to 2560 x 1600

If you are curious about the reason to replace it, here it goes:

The Nvidia NVS310 has never worked well with Linux. In the beginning 
(many years ago) I decided to install Nvidia proprietary drivers, but 
every kernel upgrade would require an additional effort to have the 
driver working. That was enough for me to try the standard 
non-proprietary driver again.


Lately, with Debian stretch (and Mate), things got sort of stable with 
the nouveau driver, and I was getting one frozen screen every few 
months, which was kind of acceptable. A couple of weeks ago I upgrade to 
Debian buster (GNOME3) and the nightmare is back: I get a frozen screen 
at leas once a day. A simple F11 pressed on Firefox could cause the 
freeze, but there other things, which I could not determine, that also 
cause the freeze. The freeze is only a graphic freeze, I mean, I can ssh 
into the machine from my laptop, stop all services and shut it down, or 
restart it. But I could not figure out a way of restarting the video 
without a reboot. And every freeze usually means losing something, and 
losing many minutes.


I know that eventually the nouveau guys will get it stable again, and I 
admire their continuous work, but this time I do not want to wait for them.


Any suggestions?

Here is dmesg in one of the freezes:

[23664.639186] WARNING: CPU: 3 PID: 7223 at 
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h:172 
init_rdauxr+0xf4/0x130 [nouveau]
[23664.639187] Modules linked in: nfnetlink cfg80211 fuse rfcomm arc4 
md4 sha512_ssse3 sha512_generic nls_utf8 cifs ccm dns_resolver fscache 
8021q garp mrp bridge stp llc vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) 
cmac bnep intel_rapl snd_hda_codec_hdmi btusb btrtl btbcm 
x86_pkg_temp_thermal btintel intel_powerclamp bluetooth nls_ascii 
nls_cp437 coretemp vfat fat kvm_intel jitterentropy_rng kvm 
snd_hda_codec_realtek snd_hda_codec_generic drbg irqbypass 
crct10dif_pclmul ansi_cprng crc32_pclmul snd_hda_intel 
ghash_clmulni_intel joydev ecdh_generic snd_hda_codec intel_cstate 
snd_hda_core efi_pstore snd_hwdep snd_pcm eeepc_wmi asus_wmi snd_timer 
intel_uncore mei_me pcc_cpufreq snd sparse_keymap iTCO_wdt mei 
intel_rapl_perf rfkill efivars wmi_bmof pcspkr soundcore sg 
iTCO_vendor_support evdev firewire_sbp2
[23664.639207]  parport_pc ppdev lp parport efivarfs ip_tables x_tables 
autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb 
hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sr_mod cdrom 
sd_mod nouveau crc32c_intel video i2c_algo_bit mxm_wmi xhci_pci ttm ahci 
xhci_hcd libahci drm_kms_helper ehci_pci aesni_intel ehci_hcd libata 
aes_x86_64 drm crypto_simd usbcore cryptd e1000e glue_helper scsi_mod 
firewire_ohci i2c_i801 firewire_core lpc_ich mfd_core crc_itu_t 
usb_common wmi button
[23664.639224] CPU: 3 PID: 7223 Comm: kworker/u24:1 Tainted: G   
OE 4.19.0-8-amd64 #1 Debian 4.19.98-1+deb10u1
[23664.639225] Hardware name: System manufacturer System Product 
Name/P9X79, BIOS 4502 10/15/2013

[23664.639254] Workqueue: nvkm-disp gf119_disp_super [nouveau]
[23664.639275] RIP: 0010:init_rdauxr+0xf4/0x130 [nouveau]
[23664.639276] Code: e1 48 89 ef ba 09 00 00 00 be 01 00 00 00 e8 e3 9c 
03 00 85 c0 75 27 80 7c 24 0f 01 74 0e 48 c7 c7 10 bf 8e c0 e8 7a b9 b8 
dc <0f> 0b 48 89 ef e8 12 9a 03 00 0f b6 44 24 0e e9 39 ff ff ff 48 89

[23664.639277] RSP: 0018:a53483adfc08 EFLAGS: 00010246
[23664.639279] RAX: 0024 RBX: a53483adfc90 RCX: 

[23664.639280] RDX:  RSI: 9a2bff8d66b8 RDI: 
9a2bff8d66b8
[23664.639281] RBP: 9a2bfb86e800 R08: 0571 R09: 
0007
[23664.639282] R10:  R11: 9e7f46ed R12: 
0102
[23664.639283] R13: 9a2bfbbb3b00 R14: 0020 R15: 
00df
[23664.639284] FS:  () GS:9a2bff8c() 
knlGS:

[23664.639285] CS:  0010 DS:  ES:  CR0: 80050033
[23664.639286] CR2: 7f9acaa452c4 CR3: 000633e0a002 CR4: 
000606e0

[23664.639287] Call Trace:
[23664.639310]  init_auxch+0xf6/0x180 [nouveau]
[23664.639331]  nvbios_exec+0x45/0xd0 [nouveau]
[23664.639359]  nvkm_dp_train_init+0x12e/0x170 [nouveau]
[23664.639386]  nvkm_dp_acquire+0x1a6/0xcb0 [nouveau]
[23664.639390]  ? update_blocked_averages+0x77b/0x950
[23664.639394]  ? __switch_to_asm+0x41/0x70
[23664.639395]  ? __switch_to_asm+0x41/0x70
[23664.639397]  ? syscall_return_via_sysret+0x14/0x83
[23664.639399]  ? __switch_to_asm+0x35/0x70
[23664.639400]  ? __switch_to_asm+0x41/

Re: Acer Aspire 3 A315-21 laptop has mono sound only?

2020-05-03 Thread Andrei POPESCU
On Du, 03 mai 20, 17:38:59, Ken Heard wrote:
> 
> The next series of tests involves connecting the two HDMI cables I have
> between the laptop and the monitor.  Both have standard size plugs at each
> end. On is a cheap 3 metre one; the other is 5 metres long and of a higher
> quality.  For these tests each cable was plugged successively to both jacks
> in the monitor, and both cables were tried in each direction between the
> laptop and the monitor.
> 
> I first disconnected the amplifier from the monitor and listened on the buds
> plugged into the monitor 3.5 mm headphones jack.  I repeated these tests
> with the amplifier connected by a fibre optic cable to the monitor.
> 
> The result for all the tests described in the last two paragraphs was the
> same.  In every case there was sound from only one channel. (I also made
> sure that each speaker could work if plugged into the right speaker jacks.
> They both did.)

The digital audio signal via HDMI is "combined" with the video signal. 
In order to separate it (e.g. to feed an amplifier directly) one needs 
special signal "splitter" devices.

Because of this I believe it is highly unlikely for the problem to be 
connection related (unlike analog connections).

You should probably carefully check all possible sound settings on both 
the laptop and the monitor.

At least for the laptop the HDMI (digital) output is different than the 
headset (analog) output. Could be similar also for the monitor.

On the laptop you have to check both alsa and pulseaudio (if used) 
settings.

Do make sure you test with the same sound playing program to eliminate 
another possible source of issues (music players usually have their own 
volume/panning controls).

Another possible method to eliminate software configuration issues would 
be to boot from a live image.

Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Linphone x Zoom.

2020-05-03 Thread peter
A Zoom invitation includes sip:12345678...@zoomcrc.com. When the 
session is open and Linphone is given the URL it reports "Temporarily 
Unavailable".

Does anyone have success with a similar connection?

Thanks,... Peter E.





-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



How to start offlineimap systemd

2020-05-03 Thread jose . wo
Hello all!!

I'm sorry if my question is terribly simple but I'm a new debian
user. I have always been an archlinux user but now I've decided to
give debian buster a try.

Everything is working smoothly except offlineimap. Actually I works
well, the problem is that I can't start the systemd service.

I've tried like this:

systemctl --user start offlineimap
Failed to start offlineimap.service: Unit offlineimap.service not
found.

You can see that the service is not found. I have also tried starting
with socket activation but it is the same.

Is there anything obvious I'm not seeing?

Thanks a lot,
Jose.



armhf: buster: TLS / HTTPS partly broken

2020-05-03 Thread Mark Jonas
Hi,

I am building Docker images for amd64, armhf, and arm64. I have a very
simple container based on debian:buster where curl works fine on amd64
and arm64 but fails on armhf [1]. This makes it very easy to reproduce
the problem.

# curl --version
curl 7.64.0 (arm-unknown-linux-gnueabihf) libcurl/7.64.0
OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps
pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM
NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL

# curl https://www.google.com
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

The error occurs on a real armhf target (Raspberry Pi 3) as well as
with QEMU (tested with
3.1.0-2 and v4.2.0-7).

The error cannot be reproduced with debian:stretch. [2]

The error cannot be reproduced with ubuntu:bionic or ubuntu:focal. [3]

With wget it works fine. None the less, I doubt that curl itself it
the source of the problem. The Logitech Media Server package [4] (not
an official Debian package) shows the problem as well. LMS is written
using Perl (mainly) and does not use curl.

I also gave aria2 a try. It downloads but gives a warning on armhf.

# aria2c https://www.google.com
[..]
05/03 12:32:37 [WARN] aria2c had to connect to the other side using an
unknown TLS protocol. The integrity and confidentiality of the
connection might be compromised.
Peer: www.google.com (216.58.207.164:443)

Does that mean a TLS library does not feature all required protocols on armhf?

Does anybody have an idea what the problem might be? Who can / should
tackle the problem?

I did not report the problem using reportbug because I have no clue
which package is causing the problem.

Greetings,
Mark

[1] https://gitlab.com/toertel/docker-image-tls-https-broken
[2] https://gitlab.com/toertel/docker-image-tls-https-broken/pipelines/141798495
[3] https://gitlab.com/toertel/docker-image-tls-https-broken/pipelines/141820625
[4] http://downloads.slimdevices.com/LogitechMediaServer_v7.9.2/



Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread Richard Owlett

On 05/03/2020 06:56 AM, basti wrote:

Hello,

maybe https://lists.debian.org/debian-arm/


I had browsed that list. It would definitely be appropriate if I already 
had chosen specific Raspberry Pi hardware and needed help getting Debian 
installed/running. My current problem is selecting components which 
mutually compatible electrically and physically. When selecting between 
component-A and component-B, I would want to know  which was more Debian 
"friendly".

Thank you.



Am 03.05.20 um 13:43 schrieb Richard Owlett:

I've been thinking about what a handheld computer COULD be.
My image is heavily influenced by my recollection of Palm Pilot.

My needs include:
  >2 hours battery life
  4" by 7" nominal form factor
  touch screen input using a stylus
  display will be entirely character mode (40 chars/line would be OK)
  OS GUI not required except to say where stylus is
  OS shall be Debian {possibly with non-free drivers}

I've not found found user friendly selection guides.
A typical problem was not being able to know if a selection of 
components had mutually compatible I/O (electrical and physical).


A Debian oriented mailing list or USENET group where this would be on 
topic?

TIA













Re: Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread basti

Hello,

maybe https://lists.debian.org/debian-arm/

Am 03.05.20 um 13:43 schrieb Richard Owlett:

I've been thinking about what a handheld computer COULD be.
My image is heavily influenced by my recollection of Palm Pilot.

My needs include:
  >2 hours battery life
  4" by 7" nominal form factor
  touch screen input using a stylus
  display will be entirely character mode (40 chars/line would be OK)
  OS GUI not required except to say where stylus is
  OS shall be Debian {possibly with non-free drivers}

I've not found found user friendly selection guides.
A typical problem was not being able to know if a selection of 
components had mutually compatible I/O (electrical and physical).


A Debian oriented mailing list or USENET group where this would be on 
topic?

TIA







Is there a Debian oriented Rasberry Pi list

2020-05-03 Thread Richard Owlett

I've been thinking about what a handheld computer COULD be.
My image is heavily influenced by my recollection of Palm Pilot.

My needs include:
 >2 hours battery life
 4" by 7" nominal form factor
 touch screen input using a stylus
 display will be entirely character mode (40 chars/line would be OK)
 OS GUI not required except to say where stylus is
 OS shall be Debian {possibly with non-free drivers}

I've not found found user friendly selection guides.
A typical problem was not being able to know if a selection of 
components had mutually compatible I/O (electrical and physical).


A Debian oriented mailing list or USENET group where this would be on topic?
TIA





Re: Re: Mouse awfully slow on Debian 10 on certain machines

2020-05-03 Thread Jörg Kampmann

thanks a lot

In order to test your suggestions I tried them under Debian 9 - 32-Bit 
-  however these programs do not exist on my debian 9  - neither xinput 
and for *libinput* I found:


bash: libinput: Kommando nicht gefunden.  #*--- command not found*
root@primergy:/home/kampmann# whereis libinput
libinput: /usr/share/man/man4/libinput.4.gz

Any ideas?

Jörg



Re: Acer Aspire 3 A315-21 laptop has mono sound only?

2020-05-03 Thread Ken Heard

Hello,

On 19/03/20 05:44 PM, Ken Heard wrote -- my original post on the subject:

I think that this particular laptop has mono sound.  I have been using 
it temporarily to stream content by HDMI to a LG HD monitor and then by 
fibre optical cable to a NED D3020 V2 hybrid amplifier and finally to a 
pair of bass reflect speakers.  Unfortunately sound comes out of only 
one speaker.


After extensive tests I have determined to my satisfaction that the 
problem is in the laptop.  I can test the two speakers built in the 
laptop separately, but I have no way of knowing whether the sound so 
produced is mono or stereo.  I could find no specs for this laptop with 
details about the sound card.



First, my apologies to all for my tardiness in not answering sooner the 
responses I received about the problem explained in my original post. 
All were helpful.  My tardiness was caused by problems with my desktop 
which had to take priority, such as a failed hard drive and for a few 
days every boot's starting by opening the BIOS with the message "BIOS 
has been reset – please decide how to continue". After dealing with 
these and some other problems I resumed efforts on my part to solve the 
problem described in my original post quoted above.


In the second quoted paragraph I claimed that I had made extensive 
tests.  Unfortunately they were not extensive enough. This time I did 
the sensible thing, I started by testing the Acer laptop alone. I 
connected a pair of ear buds to the laptop 3.5 mm earphone jack and 
streamed something from YouTube which had sound.  What I heard in *both* 
ears was sound!  So much for my nonsense of only mono sound; the laptop 
was doing perfectly what it should.


I then repeated with more care the tests previously done as to why there 
is no sound to the left speaker when connected by an HDMI cable from the 
laptop to the monitor.  To start these tests I used camcorder to provide 
sound imput.  The HDMI connecting cable in this case has a mini HDMI 
plug at the camcorder end and a standard size plug at the other. By 
disconnecting the amp from the monitor, plugging the buds directly into 
the monitor headphone jack and plugging the HDMI cable successively into 
the two HDMI input jacks in the monitor I heard sound in both ears in 
both cases.


I then connected the monitor to the amplifier and repeated the same 
tests described in the previous paragraph. There was sound from both 
speakers in both cases.


The next series of tests involves connecting the two HDMI cables I have 
between the laptop and the monitor.  Both have standard size plugs at 
each end. On is a cheap 3 metre one; the other is 5 metres long and of a 
higher quality.  For these tests each cable was plugged successively to 
both jacks in the monitor, and both cables were tried in each direction 
between the laptop and the monitor.


I first disconnected the amplifier from the monitor and listened on the 
buds plugged into the monitor 3.5 mm headphones jack.  I repeated these 
tests with the amplifier connected by a fibre optic cable to the monitor.


The result for all the tests described in the last two paragraphs was 
the same.  In every case there was sound from only one channel. (I also 
made sure that each speaker could work if plugged into the right speaker 
jacks.  They both did.)


To me it seems improbable that both HDMI cables would be faulty at the 
same time; that surely is too much of a coincidence, especially as one 
is supposed to be a good one. If that assumption is correct then the 
HDMI jack on the laptop must be at fault.  At the moment however I only 
have one source to test both cables, only the laptop.


I do have however a desktop computer which I purchased in 2015 and 
installed Debian Wheezy in it.  This computer is the one I have normally 
used ever since, the laptop since 2018 being the backup.


In the past four years however -- in spite of much on line research and 
numerous posts back and fourth on the Debian user list -- I was never 
able to get sound to work, .  It is now my intention – once I have a two 
month window in which to do so – to replace in the desktop Wheezy with 
Buster.  With any luck I may have only sound working on it.


On that assumption I will have another device to test both HDMI standard 
cables. If only one of them works in these tests then the question to 
answer is why it did not work for the laptop.  If both work on this 
device then the fault must be the HDMI jack in the Acer laptop.


Regards, Ken