Re: question about sound

2022-08-17 Thread David Wright
On Wed 17 Aug 2022 at 20:00:17 (+), ghe2001 wrote:
> Anybody have anything to say about editing sound files?
> 
> I started to answer the poster's question and found that, in their infinite 
> wisdom, the Debian designers seem to have removed Audacity from the upcoming 
> release, Bookworm.
> 
> Bad idea, IMHO.  Suggestions for replacements?  They are one or more Debian 
> users that have relied on Audacity for years.

For Mick's .wav files, I would use mpv to play them, which gives an
elapsed time indication, and sox to extract the desired section.
(Sound-wise, I'm ALSA-only.)

If you don't require too much precision, mpv is a quick wav of
finding, say, the gaps between tracks when you dub a vinyl record,
using Left/RightArrows, SpaceBar, and l to loop a section.

$ sox infile.wav outfile.wav trim  
will extract a section. If I need precision, or want to impose
a fade or other effect, I use soxy to "rehearse" the sound, eg
$ soxy infile.wav trim 6:18.8 10 fade h 0 -0 4
would play just the last ten seconds of a recording of length
6:28.8, with a four second face-out.

$ type soxy
soxy is a function
soxy () 
{ 
[ -z "$1" ] && printf '%s\n' "Usage:${FUNCNAME[0]} 
path-to/sound-file-of-any-type [trim 20 2]
runs sox to play the file with any arguments given.
The example above reminds you to put the full argument." 1>&2 && return 
1;
local From="$1";
shift;
sox -q "$From" -t alsa default "$@"
}
$ 

For generating multiple tracks for burning to a CD, I've always used
my own Python programs for over twenty years. They take account of
the divisibility of Nsamples by 2352/4 when the WAV format is CD-type,
and chunk the data to prevent overloading CPU/memory. (I was using a
Pentium II (Klamath) @266MHz with 384MB at the time, IIRC, for
recording, ripping, processing and burning.)

Cheers,
David.



Re: loging into virtual machine

2022-08-17 Thread David Christensen

On 8/17/22 06:59, Haines Brown wrote:
I've installed virutalBox 



Please run the following commands as root post the complete console 
session -- prompts, commands entered, output obtained:


# cat /etc/debian_version ; uname -a

# dpkg-query -l | grep virtualbox


and downloaded  a FreeBSD ISO file. 



What is the URL of the page that contained the download?  What is the 
name of the ISO file you downloaded?




I
created virtual machine for the FreeBSD. When I start it it boots to a
login prompt.



This is how I created a FreeBSD VM on May 18, 2020, using VirtualBox on 
Debian 9.  Adjust values as appropriate for your environment:


*  Start VirtualBox GUI.  Click New:

  Name and operating system

Namevf1
Machine Folder  /scratch/dpchrist/virtualbox/vm
TypeBSD
Version FreeBSD (64-bit)
Next >

  Memory size
1024 MB
Next >

  Hard disk
Create a virtual hard disk now
Create

  Hard disk file type
VDI
Next >

  Storage on physical hard disk
Dynamically allocated
Next >

  File location and size
/scratch/dpchrist/virtualbox/vm/vf1/vf1.vdi
7.00 GB
Create

*  Change virtual machine settings:

Network:

Adapter 1
checked Enable Network Adapter
Attached to Bridged Adapter
Nameeno1

System
Motherboard
Extended Features
checked Hardware Clock in UTC Time

*  Click Start:

Select start-up disk
FreeBSD-12.1-RELEASE-amd64-dvd1.iso


This should start the FreeBSD installer.  You can set the root password 
to whatever you want.  You can add users with whatever usernames, 
passwords, etc., you want.



When done with the installer, choose Machine -> ACPI Shutdown.


Then change virtual machine settings to remove virtual installation 
media from VM:


Storage



Take a snapshot of the VM so that you can easily get back to the fresh 
installed state if and when desired.  (Going forward, take snapshots 
periodically and as desired.)



(Adjust other settings as desired, such as CPU cores.)


The next time you start the VM, you should see the console and login 
prompt of your new FreeBSD VM.




My impression is that since the Virtual Machine boots an ISO it
has not been configured with a user account and password. How then
can I log in at the login prompt?



My guess is that you booted a FreeBSD "Live CD" (?).  If so, STFW 
"freebsd live username password" I found:


https://people.freebsd.org/~rodrigc/doc/handbook/using-live-cd.html

"To gain access to the system, authentication is required. The username 
is root and the password is blank."



David



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread step...@gmail.com

On 8/17/22 19:35, Stefan Monnier wrote:

Tom Browder [2022-08-17 05:53:05] wrote:

I would love to run Windows on a VM on Debian iff I can have it be reliable
enough to use with reasonable response (no games, just Office 360, IO
Drive, H Block, and such). I haven't kept up with the VM world but a
quick search shows VMware might be a good choice.


Last I had to run a Windows VM I used kvm (aka Qemu) and that worked
very nicely.  It's easy to install (it's in the Debian repositories),
very featureful, and used for "real systems" (tho in my case I always
used it very punctually to run some specific tool only available in
Windows).


Yep; same. Ran multiple windows vms in kvm (libvirt/qemu). Stable and solid.



Re: question about sound

2022-08-17 Thread mick.crane

On 2022-08-17 21:00, ghe2001 wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Anybody have anything to say about editing sound files?


In the 70s friends went to this house where there was a 14 year old 
Indian mystic.
You were all supposed to wait downstairs until you were called to 
receive 'the knowledge'.
We all left after a day but one guy stayed, after days he got really 
angry.

Stormed up the stairs, " Give me the f#@king knowledge!"
funny old times.
mick



Re: question about sound

2022-08-17 Thread Timothy M Butterworth
On Wed, Aug 17, 2022 at 1:37 PM Bob McGowan  wrote:

> The command to add a user to a group is:  useradd -G
> groupname[,groupname...] username
>
> For example:  useradd -G audio,pulsaudio bob
>
> Useradd creates a new user account. Usermod modifies an existing account.

sudo usermod -a -G audio 

Make sure you use the -a to append the new group to your existing groups or
it will wipe out your existing groups.


> On 8/17/22 10:21, Jude DaShiell wrote:
> > the user that's doing this would need to be added to the audio group and
> > maybe the pulseaudio group if that group exists.  The groupadd command
> can
> > do that for the user but groupadd has to be used by root to get that
> done.
> > Before doing any of that, a user can find what groups they're already in
> > by typing the groups command and a list should appear showing the groups.
> > Man groupadd can show how to use that command when it's time.
> >
> >
> > Jude  .
> >
> > On Wed, 17 Aug 2022, mick.crane wrote:
> >
> >> hello,
> >> Please take into account I don't know what I'm doing generally and know
> >> nothing about audio.
> >> Several years ago somebody asked me to edit a radio broadcast to
> separate out
> >> a few seconds.
> >> It took a couple of minutes to install Audacity, figure out the GUI
> thing and
> >> save the bits of audio.
> >> I'm wanting now to edit .wav files.
> >> Can't find Audacity in the repository for Bookworm.
> >> There is Ardour6.
> >> It's a bit complex.
> >> By selecting PulseAudio as the wotsit it seemed to be working but I try
> again
> >> and there is no sound output to hear.
> >> There is message like " don't have permission to access".
> >> Is there some numpty explanation of how this is supposed to work ?
> >> Do these things PulseAudio, Alsa, Jack provide a stream on some bus or
> >> something and the Ardour6 programme edits bits out as it goes by ?
> >> If it's a physical piece of tape you can imagine you can cut it with a
> pair of
> >> scissors and cellotape bits together but I've no idea how it's working
> with a
> >> PC.
> >> resource of simplified explanation appreciated.
> >>
> >> regards
> >>
> >> mick
> >>
> >>
> >>
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: question about sound

2022-08-17 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Anybody have anything to say about editing sound files?

I started to answer the poster's question and found that, in their infinite 
wisdom, the Debian designers seem to have removed Audacity from the upcoming 
release, Bookworm.

Bad idea, IMHO.  Suggestions for replacements?  They are one or more Debian 
users that have relied on Audacity for years.


Mick, if you're still there, it might be possible to get it from their website:

https://www.audacityteam.org/download/

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAGBQJi/UizACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDJacggAgZBejYMI/XqFYEJYXJsAZnTqsRZeRx2BHkFF+i2+OlXIb69p
Gkq5iYRjL7BBIAO1YJI7o066rHiH31ZfcogJyldNlReZpEPbB9AFeLXcQZOG
wxUq7y3cmTxY3HpABUjs/rtlBtt9KfPIFwzdGqRx3SvgDYFjzYRPzN4eNqhF
gVluBfq+W0H/M3dEIX5Wl2ZoH51N2h/VGKPwWmZOLvZsEZSZfla6F1Jy4C8X
7eGKlDRZUvTqpDRMyfXuuO8gqo020KDR3V6xzWBQrYdmRiTksYdQRvTtUa55
jd1G/iAUYAATG6fPm9hxPuhxuTsedhaWx84IRSstPgrzF7IL6LHiIQ==
=YIKE
-END PGP SIGNATURE-



Re: question about sound

2022-08-17 Thread Greg Wooledge
On Wed, Aug 17, 2022 at 08:10:37PM +0100, mick.crane wrote:
> I'm just requesting some comprehensible, simple to understand, overview of
> how the sound softwares are working.

Too many layers and possibilities to give a comprehensive listing.
Let's pick ONE.  Plain ALSA, without Pulseaudio or anything else on
top of it.

ALSA is implemented in the kernel, and the visible connection points
to it are character device files:

unicorn:~$ ls -l /dev/snd/
total 0
drwxr-xr-x  2 root root   60 Aug 16 07:35 by-id/
drwxr-xr-x  2 root root   80 Aug 16 07:35 by-path/
crw-rw+ 1 root audio 116, 12 Aug 16 07:35 controlC0
crw-rw+ 1 root audio 116, 14 Aug 16 07:35 controlC1
crw-rw+ 1 root audio 116, 10 Aug 16 07:35 hwC0D0
crw-rw+ 1 root audio 116, 11 Aug 16 07:35 hwC0D2
crw-rw+ 1 root audio 116,  3 Aug 16 07:35 pcmC0D0c
crw-rw+ 1 root audio 116,  2 Aug 16 07:37 pcmC0D0p
crw-rw+ 1 root audio 116,  9 Aug 16 07:35 pcmC0D10p
crw-rw+ 1 root audio 116,  4 Aug 16 07:35 pcmC0D2c
crw-rw+ 1 root audio 116,  5 Aug 16 07:35 pcmC0D3p
crw-rw+ 1 root audio 116,  6 Aug 16 07:35 pcmC0D7p
crw-rw+ 1 root audio 116,  7 Aug 16 07:35 pcmC0D8p
crw-rw+ 1 root audio 116,  8 Aug 16 07:35 pcmC0D9p
crw-rw+ 1 root audio 116, 13 Aug 16 07:35 pcmC1D0c
crw-rw+ 1 root audio 116,  1 Aug 16 07:35 seq
crw-rw+ 1 root audio 116, 33 Aug 16 07:35 timer

As you can see, members of group 'audio' can write to these things, and
can therefore cause the computer to emit sounds, or to stop emitting them.

But that's not how it normally works in modern Debian.

Do you see the '+' signs after the permissions?  Those indicate that
there's more going on than can be shown in the standard Unix permission
bits.  In this case, there's an ACL.  We can see it with getfacl(1)
(from the 'acl' package):

unicorn:~$ getfacl /dev/snd/pcmC0D0p
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/pcmC0D0p
# owner: root
# group: audio
user::rw-
user:greg:rw-
group::rw-
mask::rw-
other::---


The 'user:greg:rw-' part indicates that my login name has been added to
the Access Control List for this file.  I can do stuff with it, even
if I'm not in the 'audio' group.  (I happen to be in that group, but
that's not important here.)

So... why am I in this ACL on this file?  Because when I logged in,
something added me to a bunch of ACLs on my behalf.  It's all part of the
complex login procedure on modern Debian systems.  I can't tell you off
the top of my head which program or service does it, but something does.

When I logout, presumably this ACL entry will be removed, and I would
no longer have access to those files, if I weren't in the 'audio' group.

If another user logs in, they'll get a similar ACL entry on the audio
device files, and they'll be able to play sounds also -- until they
logout, at which time their sound-making privileges are revoked.
They don't need to be added to the 'audio' group, and in fact, they
shouldn't be.  That's reserved for special users, like the one who
installed Debian (UID 1000).  On my system, that user is 'greg'.



Re: question about sound

2022-08-17 Thread mick.crane

On 2022-08-17 18:50, Greg Wooledge wrote:

On Wed, Aug 17, 2022 at 10:27:25AM -0700, Bob McGowan wrote:

The command to add a user to a group is:  useradd -G
groupname[,groupname...] username

For example:  useradd -G audio,pulsaudio bob


Debian also allows "adduser username groupname".


I sort of understand permissions for files but I'm not understanding 
permissions for streams whatever that is.
I'm just requesting some comprehensible, simple to understand, overview 
of how the sound softwares are working.

mick



Re: Debian live iso on usb returns grub

2022-08-17 Thread Thomas Schmitt
Hi,

Massimo Maiurana wrote:
> This is the downloaded image:
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-dvd/firmware-testing-amd64-DVD-1.iso

Works for my Debian 11 qemu/KVM with OVMF EFI "firmware".
I get to the text/graphics menu with Debian logo and all.

I really wonder what on your system can confuse GRUB, so that it does not
get to the file /boot/grub/grub.cfg of the ISO which contains the menu
items which i see with qemu.


Have a nice day :)

Thomas



Re: question about sound

2022-08-17 Thread Greg Wooledge
On Wed, Aug 17, 2022 at 10:27:25AM -0700, Bob McGowan wrote:
> The command to add a user to a group is:  useradd -G
> groupname[,groupname...] username
> 
> For example:  useradd -G audio,pulsaudio bob

Debian also allows "adduser username groupname".



Re: question about sound

2022-08-17 Thread Jude DaShiell
Thanks, I almost always get useradd and groupadd mixed up when I need to
use them.


Jude  "There are four boxes to be used in
defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Wed, 17 Aug 2022, Bob McGowan wrote:

> The command to add a user to a group is:  useradd -G groupname[,groupname...]
> username
>
> For example:  useradd -G audio,pulsaudio bob
>
> On 8/17/22 10:21, Jude DaShiell wrote:
> > the user that's doing this would need to be added to the audio group and
> > maybe the pulseaudio group if that group exists.  The groupadd command can
> > do that for the user but groupadd has to be used by root to get that done.
> > Before doing any of that, a user can find what groups they're already in
> > by typing the groups command and a list should appear showing the groups.
> > Man groupadd can show how to use that command when it's time.
> >
> >
> > Jude  .
> >
> > On Wed, 17 Aug 2022, mick.crane wrote:
> >
> >> hello,
> >> Please take into account I don't know what I'm doing generally and know
> >> nothing about audio.
> >> Several years ago somebody asked me to edit a radio broadcast to separate
> >> out
> >> a few seconds.
> >> It took a couple of minutes to install Audacity, figure out the GUI thing
> >> and
> >> save the bits of audio.
> >> I'm wanting now to edit .wav files.
> >> Can't find Audacity in the repository for Bookworm.
> >> There is Ardour6.
> >> It's a bit complex.
> >> By selecting PulseAudio as the wotsit it seemed to be working but I try
> >> again
> >> and there is no sound output to hear.
> >> There is message like " don't have permission to access".
> >> Is there some numpty explanation of how this is supposed to work ?
> >> Do these things PulseAudio, Alsa, Jack provide a stream on some bus or
> >> something and the Ardour6 programme edits bits out as it goes by ?
> >> If it's a physical piece of tape you can imagine you can cut it with a pair
> >> of
> >> scissors and cellotape bits together but I've no idea how it's working with
> >> a
> >> PC.
> >> resource of simplified explanation appreciated.
> >>
> >> regards
> >>
> >> mick
> >>
> >>
> >>
>
>



Re: question about sound

2022-08-17 Thread Bob McGowan
The command to add a user to a group is:  useradd -G 
groupname[,groupname...] username


For example:  useradd -G audio,pulsaudio bob

On 8/17/22 10:21, Jude DaShiell wrote:

the user that's doing this would need to be added to the audio group and
maybe the pulseaudio group if that group exists.  The groupadd command can
do that for the user but groupadd has to be used by root to get that done.
Before doing any of that, a user can find what groups they're already in
by typing the groups command and a list should appear showing the groups.
Man groupadd can show how to use that command when it's time.


Jude  .

On Wed, 17 Aug 2022, mick.crane wrote:


hello,
Please take into account I don't know what I'm doing generally and know
nothing about audio.
Several years ago somebody asked me to edit a radio broadcast to separate out
a few seconds.
It took a couple of minutes to install Audacity, figure out the GUI thing and
save the bits of audio.
I'm wanting now to edit .wav files.
Can't find Audacity in the repository for Bookworm.
There is Ardour6.
It's a bit complex.
By selecting PulseAudio as the wotsit it seemed to be working but I try again
and there is no sound output to hear.
There is message like " don't have permission to access".
Is there some numpty explanation of how this is supposed to work ?
Do these things PulseAudio, Alsa, Jack provide a stream on some bus or
something and the Ardour6 programme edits bits out as it goes by ?
If it's a physical piece of tape you can imagine you can cut it with a pair of
scissors and cellotape bits together but I've no idea how it's working with a
PC.
resource of simplified explanation appreciated.

regards

mick







Re: question about sound

2022-08-17 Thread Jude DaShiell
the user that's doing this would need to be added to the audio group and
maybe the pulseaudio group if that group exists.  The groupadd command can
do that for the user but groupadd has to be used by root to get that done.
Before doing any of that, a user can find what groups they're already in
by typing the groups command and a list should appear showing the groups.
Man groupadd can show how to use that command when it's time.


Jude  .

On Wed, 17 Aug 2022, mick.crane wrote:

> hello,
> Please take into account I don't know what I'm doing generally and know
> nothing about audio.
> Several years ago somebody asked me to edit a radio broadcast to separate out
> a few seconds.
> It took a couple of minutes to install Audacity, figure out the GUI thing and
> save the bits of audio.
> I'm wanting now to edit .wav files.
> Can't find Audacity in the repository for Bookworm.
> There is Ardour6.
> It's a bit complex.
> By selecting PulseAudio as the wotsit it seemed to be working but I try again
> and there is no sound output to hear.
> There is message like " don't have permission to access".
> Is there some numpty explanation of how this is supposed to work ?
> Do these things PulseAudio, Alsa, Jack provide a stream on some bus or
> something and the Ardour6 programme edits bits out as it goes by ?
> If it's a physical piece of tape you can imagine you can cut it with a pair of
> scissors and cellotape bits together but I've no idea how it's working with a
> PC.
> resource of simplified explanation appreciated.
>
> regards
>
> mick
>
>
>



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Tom Browder
On Wed, Aug 17, 2022 at 11:32 AM hdv@gmail  wrote:
>
> On 2022-08-17 17:06, Tom Browder wrote:
> > On Wed, Aug 17, 2022 at 09:34 hdv@gmail  > > wrote:
> >
> > On 2022-08-17 12:53, Tom Browder wrote:
> >
> > …
> >
> >  > I would love to run Windows on a VM on Debian iff I can have it be
> >  > reliable enough to use with reasonable response (no games, just
> > Office
> >  > 360, IO Drive, H Block, and such). I
> >
> > …
> >
> > As for VMWare: when I still used it, a major disadvantage was that you
> > had to fuss around with the kernel every time there was an update. That
> > really was a major PITA. I don't know if that still is the case with
> > VMWare, but I do know I have no such trouble with libvirt. At all.
> >
> >
> > So far, at least with Debian, I’m leaning toward libvrt.
> >
> > For us vm green beans, can I run the libvrt Windows vm, on Debian, and
> > get the regular Win desktop view I’m used to? Should I dedicate a
> > separate physical SSD for it?
>
> You can run libvirt on any Debian version you want. Then install Windows
> in that host. It will work just as you are used to. I have 2TB set aside
> as a dedicated partition for 3 instances of Windows (different
> installations for my students to develop and hack on). I also use WinSCP
> to transfer files between the host and the different guests. That proved
> to be the easiest and most dependable manner to exchange files.
>
> P.S. Please keep it on the list. That way others can benefit from your
> questions too.
>
> Grx HdV

I'm sorry, failure to reply to the list was an accident.



Re: Hoe belangrijk is een nieuwe kernel

2022-08-17 Thread Cecil Westerhof
Diederik de Haas  writes:

> On Tuesday, 16 August 2022 16:49:15 CEST Cecil Westerhof wrote:
>> Ik heb gisteren mijn systeem gereboot. Met een upgrade is er net een
>> nieuwe kernel geïnstalleerd. Van 5.10.0-16-amd64 naar 5.10.0-17-amd64.
>> 
>> Ik ga er vanuit dat ik niet meteen mijn systeem hoef te rebooten. (Als
>> het nu 5.11 was.) Of zie ik dat verkeerd?
>
> Het hangt ervan af, maar meestal hoef je niet direct te rebooten al zou ik er 
> ook geen maanden mee wachten.

Mijn vorige run was meer dan vier maanden en ging mijn versie ook
(geloof ik) drie kernel versies verder. Maar dat is HEEL erg
uitzonderlijk.
Meestal is het minder dan een maand.


> Op https://www.debian.org/security/ zal je van tijd tot tijd ook een DSA zien 
> over 'linux' en dan *kan* het verstandig zijn om zsm te rebooten.
> Maar dat hangt ervan af of je mogelijk last kan hebben van die security 
> issues. Een machine die rechtstreeks (en continue) aan het internet is 
> verbonden is uiteraard kwetsbaarder dan een machine die niet altijd aan staat 
> en waar eerst door andere devices (bv router) heen gebroken moet worden om 
> jouw kernel 'aan te vallen'.

Er zit een router en een hub tussen. ;-)


> En het kan ook zijn dat de security issues helemaal niet op jou van 
> toepassing 
> zijn.
>
> Daarnaast zijn er ook andere bug fixes waar meestal geen haast is om die toe 
> te 
> passen (door te rebooten), behalve als je zelf last hebt van een bug die 
> gefixed is in die nieuwe kernel versie.
>
> Met 'aptitude changelog linux-image-5.10.0-17-amd64' krijg je een lijst te 
> zien met alle wijzigingen die zijn toegepast en je kan die bekijken om te 
> bepalen hoe belangrijk die update voor jou is.

Dat geeft wel heel erg veel informatie. Straks eens wat beter naar kijken.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



Re: Debian live iso on usb returns grub

2022-08-17 Thread Massimo Maiurana

Thomas Schmitt ha scritto il 17/08/22 alle 17:18


Whenever an ISO has to be investigated or tested, a tangible download URL
can be of great help ... (cough) ... :))


Of course you're right, sorry :)

This is the downloaded image:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-dvd/firmware-testing-amd64-DVD-1.iso

Massimo Maiurana



Re: can't unpack an .zx

2022-08-17 Thread Klaus Singvogel
gene heskett wrote:
> 
> gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep
> Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
> xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img:
> Permission denied
> 

The "Permission denied" arises when creating the file, not when reading the 
archive.

Maybe the directory lacks of the required permissions, where you're unpacking.

Maybe you used the wrong user for unpacking?

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: can't unpack an .zx

2022-08-17 Thread Greg Wooledge
On Wed, Aug 17, 2022 at 11:40:58AM -0400, gene heskett wrote:
> gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep
> Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
> xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img:
> Permission denied

Look at which file it's complaining about.

The file that it's complaining about ends with .img not .img.xz -- it's
the *output file* that's in the way, or else the directory you're in
is not writable by you.

The input file is not the problem.



can't unpack an .zx

2022-08-17 Thread gene heskett

Greetings all;

One of my Dell's, running buster has blown its video. It my 3d printer 
slicer running cura.


I have a couple older rock64 v2's w/4gigs of ram that I last ran armbian 
stretch on, but
wound up using an rpi4b instead. One of the rock64's ought to run 
octoprint to drive my farm.


So I download the latest stable armbian xfce desktop. But xz can't 
unpack the .img,

-dc or -dl ok, but not unpack. It would unpack to something over 6GB.

All attempts to unpack it are "no permission."
Its on a raid10, so there's a couple terabytes of room to play in.

gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img: 
Permission denied


gene@coyote:~/PublicB/rock64-next-try$ xz -dl --arm --keep 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz

Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
    1  22  1,187.6 MiB  6,296.0 MiB  0.189  CRC32 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz


So how do I unpack it, the xz file has 777 perms.

Thanks folks.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Chuck Zmudzinski
On 8/17/2022 10:34 AM, hdv@gmail wrote:
> On 2022-08-17 12:53, Tom Browder wrote:
> > Unfortunately, I have to have a Windows host. I have given up dual 
> > hosting because of the pain, so I am using a dedicated Win 10 box and a 
> > Deb laptop.
> > 
> > I would love to run Windows on a VM on Debian iff I can have it be 
> > reliable enough to use with reasonable response (no games, just Office 
> > 360, IO Drive, H Block, and such). I haven't kept up with the VM world 
> > but a quick search shows VMware might be a good choice.
> > 
> > Anyone using such a rig for the real world (i.e., not testing or as a 
> > hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
> > primary digital duopoly.
> > 
> > Thanks.
> > 
> > -Tom
>
> Please note that VirtualBox isn't in the official repository. There is a 
> reason for that: Oracle won't/can't cooperate with the Debian Security Team.
>
> As for VMWare: when I still used it, a major disadvantage was that you 
> had to fuss around with the kernel every time there was an update. That 
> really was a major PITA. I don't know if that still is the case with 
> VMWare, but I do know I have no such trouble with libvirt. At all.

I don't see much discussion about libvirt on debian-use, which I presume is
KVM/Qemu VMs. That means one of two things: either 1) no one is using it, or
2) it works so well it is good enough for the real world and no one needs to ask
questions about it on debian-user.

My advice - buy your Silent PC, Install Debian on it, and use KVM/Qemu on it
to install Windows. That will use supported Debian free software to provide the
virtualization environment for your Windows installation. If for some reason
KVM/Qemu/libvirt does not work, then install Windows Pro on the Silent PC
and run Debian in Hyper-V. AFAIK, MS fully supports Debian in Hyper-V, and that
would also most likely be a reliable setup also for the real world to run 
Debian 11
and Windows 10/11 simultaneously.

Chuck



List-Archive URLs and slashes in Message Ids

2022-08-17 Thread Thomas Schmitt
Hi,

something's wrong with the msgid-search URLs for Message-Ids with "/".

In Andrew M.A. Cater's mail to this list
  Date: Mon, 15 Aug 2022 10:30:10 +
  Message-ID: 
i read and credulenltly forwarded to Massimo Maiurana:

  List-Archive:
https://lists.debian.org/msgid-search/YvogMm/B0cM/a...@einval.com

But this URL yields a page with a text that begins by

  "Sorry, no match found for message-id YvogMm"

Going to
  https://lists.debian.org/msgid-search/
and entering into the search field
  YvogMm/B0cM/a...@einval.com
yields a hop to the proper message
  https://lists.debian.org/debian-user/2022/08/msg00267.html

I tried without success to escape the slashes in the URL
  https://lists.debian.org/msgid-search/yvogmm%2fb0cm%2fa...@einval.com
and even the @
  https://lists.debian.org/msgid-search/YvogMm%2FB0cM%2FAUMu%40einval.com
(although this works with other

Does anybody have an idea how to follow the List-Archive hint without
entering the Message-Id part manually into lists.debian.org/msgid-search ?


Have a nice day :)

Thomas



Re: Debian live iso on usb returns grub

2022-08-17 Thread Thomas Schmitt
Hi,

Massimo Maiurana wrote:
> Sorry, forgot to mention that my iso was not the netinst one, i.e. the CD
> image, but rather was the DVD image.

Whenever an ISO has to be investigated or tested, a tangible download URL
can be of great help ... (cough) ... :))


I confess that it also helps to test Link URLs before posting them.
I wrote:
> You got one more [answer] without Cc:maiur...@gmail.com :
>   https://lists.debian.org/msgid-search/YvogMm/B0cM/a...@einval.com

Please look at this URL instead:
  https://lists.debian.org/debian-user/2022/08/msg00267.html

(The direct URL addressing seems to hate Message Ids with "/" in them.)


Have a nice day :)

Thomas



question about sound

2022-08-17 Thread mick.crane

hello,
Please take into account I don't know what I'm doing generally and know 
nothing about audio.
Several years ago somebody asked me to edit a radio broadcast to 
separate out a few seconds.
It took a couple of minutes to install Audacity, figure out the GUI 
thing and save the bits of audio.

I'm wanting now to edit .wav files.
Can't find Audacity in the repository for Bookworm.
There is Ardour6.
It's a bit complex.
By selecting PulseAudio as the wotsit it seemed to be working but I try 
again and there is no sound output to hear.

There is message like " don't have permission to access".
Is there some numpty explanation of how this is supposed to work ?
Do these things PulseAudio, Alsa, Jack provide a stream on some bus or 
something and the Ardour6 programme edits bits out as it goes by ?
If it's a physical piece of tape you can imagine you can cut it with a 
pair of scissors and cellotape bits together but I've no idea how it's 
working with a PC.

resource of simplified explanation appreciated.

regards

mick



Re: Debian live iso on usb returns grub

2022-08-17 Thread Massimo Maiurana

Thomas Schmitt ha scritto il 17/08/22 alle 16:15:

Hi

I now tried in quemu
   
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso
which i downloaded ~8 hours after your post.


Sorry, forgot to mention that my iso was not the netinst one, i.e. the 
CD image, but rather was the DVD image. That's why i didn't need it to 
rely on mirrors as all the needed packages was already in the iso.


Thanks for your time :)

Massimo Maiurana



Re: loging into virtual machine

2022-08-17 Thread Dan Ritter
Haines Brown wrote: 
> I've installed virutalBox and downloaded  a FreeBSD ISO file. I 
> created virtual machine for the FreeBSD. When I start it it boots to a 
> login prompt. 
> 
> My impression is that since the Virtual Machine boots an ISO it 
> has not been configured with a user account and password. How then 
> can I log in at the login prompt?

At this point, that would be a FreeBSD question. Let's see if we
can google it.

Google suggests a user named freebsd with a password of freebsd.

-dsr-



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread hdv@gmail

On 2022-08-17 12:53, Tom Browder wrote:
Unfortunately, I have to have a Windows host. I have given up dual 
hosting because of the pain, so I am using a dedicated Win 10 box and a 
Deb laptop.


I would love to run Windows on a VM on Debian iff I can have it be 
reliable enough to use with reasonable response (no games, just Office 
360, IO Drive, H Block, and such). I haven't kept up with the VM world 
but a quick search shows VMware might be a good choice.


Anyone using such a rig for the real world (i.e., not testing or as a 
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
primary digital duopoly.


Thanks.

-Tom


Please note that VirtualBox isn't in the official repository. There is a 
reason for that: Oracle won't/can't cooperate with the Debian Security Team.


As for VMWare: when I still used it, a major disadvantage was that you 
had to fuss around with the kernel every time there was an update. That 
really was a major PITA. I don't know if that still is the case with 
VMWare, but I do know I have no such trouble with libvirt. At all.


Grx HdV




Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Chuck Zmudzinski
On 8/17/2022 6:53 AM, Tom Browder wrote:
> Unfortunately, I have to have a Windows host. I have given up dual hosting 
> because of the pain, so I am using a dedicated Win 10 box and a Deb laptop.
>
> I would love to run Windows on a VM on Debian iff I can have it be reliable 
> enough to use with reasonable response (no games, just Office 360, IO Drive, 
> H Block, and such). I haven't kept up with the VM world but a quick search 
> shows VMware might be a good choice.
>
> Anyone using such a rig for the real world (i.e., not testing or as a hobby)? 
> If it is reliable, I plan to get a hefty SilentPC to run my primary digital 
> duopoly.
>
> Thanks.
>
> -Tom

I have this working now with Xen/Qemu, Deb 11, and Windows 10, but I would not 
recommend
that for the real world, since sometimes updates and such break it. I don't 
know about VMware
on Debian, I suppose it might work, you can inquire with VMware to see how much 
support they
provide for VMware on Debian. Also, KVM/Qemu users might be able to weigh in 
with how
viable that is as an option to run Windows in a VM on Debian for the real word. 
And the
other option I know about is Virtualbox, which I also think can run on Debian 
and supports
Windows VMs.

Best regards,

Chuck



Re: Debian live iso on usb returns grub

2022-08-17 Thread Thomas Schmitt
Hi,

Massimo Maiurana wrote:
> thanks for your answer.

You got one more without Cc:maiur...@gmail.com :
  https://lists.debian.org/msgid-search/YvogMm/B0cM/a...@einval.com

(This one did not doubt your subject line as much as i did.)


> What i took is not a live iso but instead it's the installer iso.

I now tried in quemu
  
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso
which i downloaded ~8 hours after your post.

  qemu-system-x86_64 -enable-kvm -m 512 \
 -bios /usr/share/ovmf/OVMF.fd \
 -hda firmware-testing-amd64-netinst.iso

Offering the ISO as -hda is supposed to trigger the same boot path as
a USB stick at a real machine.
This run gives me a text/graphical menu with Debian logo, mentioning of
"UEFI" and "GRUB" and some offers to install Debian. I.e.
GRUB found the storage device with the ISO and loaded its configuration.


In your case i assume that this search does not yield success.

Inspecting the content of the EFI partition of the ISO
  mount firmware-testing-amd64-netinst.iso /mnt/iso
  mount /mnt/iso/boot/grub/efi.img /mnt/fat
i see the search in file /mnt/fat/efi/debian/grub.cfg :

  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/x86_64-efi/grub.cfg

So if my theory is right, GRUB failed to find a filesystem with file
  /.disk/info
The interesting question is why.

Does your downloaded ISO behave differently with above qemu run ?


Have a nice day :)

Thomas



loging into virtual machine

2022-08-17 Thread Haines Brown
I've installed virutalBox and downloaded  a FreeBSD ISO file. I 
created virtual machine for the FreeBSD. When I start it it boots to a 
login prompt. 

My impression is that since the Virtual Machine boots an ISO it 
has not been configured with a user account and password. How then 
can I log in at the login prompt?

Haines Brown



Re: Debian live iso on usb returns grub

2022-08-17 Thread Massimo Maiurana

Thomas Schmitt ha scritto il 16/08/22 alle 09:50:

Hi,

Massimo Maiurana wrote:

I've downloaded the latest iso with testing weekly build,


I understand that there are no weekly builds of Debian Live based on
Debian Testing. (I remember people asking for Debian 12 Live ISOs and
being told that currently there are none.)


Hi Thomas, thanks for your answer.

What i took is not a live iso but instead it's the installer iso. 
Anyway, in the meantime another weekly build was uploaded, the last 
monday, and with that I was able to complete the installation.


Well, actually I had to type the same commands to boot the iso as the 
installer still doesn't run automagically, but this build doesn't stop 
at hard drives detection like the former. At the first run it stopped at 
the step where it tries to configure network mirrors, but since this is 
an up to date iso it doesn't matter much: i've just rebooted and told it 
to go on without mirrors ;)

Given that you mention "weekly build" i guess that you got Debian Installer
ISOs and not Debian Live. If so, then the mailing list in charge would be
   debian...@lists.debian.org
Thanks, at least now i know where i should file the report if it'll 
happen again :)


Massimo Maiurana



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Timothy M Butterworth
On Wed, Aug 17, 2022 at 6:53 AM Tom Browder  wrote:

> Unfortunately, I have to have a Windows host. I have given up dual hosting
> because of the pain, so I am using a dedicated Win 10 box and a Deb laptop.
>
> I would love to run Windows on a VM on Debian iff I can have it be
> reliable enough to use with reasonable response (no games, just Office 360,
> IO Drive, H Block, and such). I haven't kept up with the VM world but a
> quick search shows VMware might be a good choice.
>
> Anyone using such a rig for the real world (i.e., not testing or as a
> hobby)? If it is reliable, I plan to get a hefty SilentPC to run my primary
> digital duopoly.
>
> I have a Windows VM installed in VirtualBox. It works well with guest
extensions.  I have no complaints.


> Thanks.
>
> -Tom
>


-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Tom Browder
On Wed, Aug 17, 2022 at 06:01 Marco  wrote:

> Am 17. Aug 2022, um 05:53:05 Uhr schrieb Tom Browder:
>
> > I would love to run Windows on a VM on Debian iff I can have it be
> > reliable enough to use with reasonable response (no games, just
> > Office 360, IO Drive, H Block, and such). I haven't kept up with
> > the VM world but a quick search shows VMware might be a good choice.
>
> I have used Windows VMs for years. It is reliable.


And which VM are you using?

-Tom


Re: Hoe belangrijk is een nieuwe kernel

2022-08-17 Thread Diederik de Haas
On Tuesday, 16 August 2022 16:49:15 CEST Cecil Westerhof wrote:
> Ik heb gisteren mijn systeem gereboot. Met een upgrade is er net een
> nieuwe kernel geïnstalleerd. Van 5.10.0-16-amd64 naar 5.10.0-17-amd64.
> 
> Ik ga er vanuit dat ik niet meteen mijn systeem hoef te rebooten. (Als
> het nu 5.11 was.) Of zie ik dat verkeerd?

Het hangt ervan af, maar meestal hoef je niet direct te rebooten al zou ik er 
ook geen maanden mee wachten.

Op https://www.debian.org/security/ zal je van tijd tot tijd ook een DSA zien 
over 'linux' en dan *kan* het verstandig zijn om zsm te rebooten.
Maar dat hangt ervan af of je mogelijk last kan hebben van die security 
issues. Een machine die rechtstreeks (en continue) aan het internet is 
verbonden is uiteraard kwetsbaarder dan een machine die niet altijd aan staat 
en waar eerst door andere devices (bv router) heen gebroken moet worden om 
jouw kernel 'aan te vallen'.
En het kan ook zijn dat de security issues helemaal niet op jou van toepassing 
zijn.

Daarnaast zijn er ook andere bug fixes waar meestal geen haast is om die toe te 
passen (door te rebooten), behalve als je zelf last hebt van een bug die 
gefixed is in die nieuwe kernel versie.

Met 'aptitude changelog linux-image-5.10.0-17-amd64' krijg je een lijst te 
zien met alle wijzigingen die zijn toegepast en je kan die bekijken om te 
bepalen hoe belangrijk die update voor jou is.
Via https://tracker.debian.org/pkg/linux kan je het ook zien, maar dat is vaak 
iets moeilijker omdat je niet direct het '-17' (ABI versie 17) deel ziet. In 
het specifieke news item zie je (meestal onderaan) iets als "Bump ABI to 17".

HTH,
  Diederik

signature.asc
Description: This is a digitally signed message part.


Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread hdv@gmail

On 2022-08-17 12:53, Tom Browder wrote:
Unfortunately, I have to have a Windows host. I have given up dual 
hosting because of the pain, so I am using a dedicated Win 10 box and a 
Deb laptop.


I would love to run Windows on a VM on Debian iff I can have it be 
reliable enough to use with reasonable response (no games, just Office 
360, IO Drive, H Block, and such). I haven't kept up with the VM world 
but a quick search shows VMware might be a good choice.


Anyone using such a rig for the real world (i.e., not testing or as a 
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
primary digital duopoly.


Thanks.

-Tom


I used to run Windows in a commercially licensed VMWare environment for 
my business. I also have used VirtualBox for years for the same purpose. 
However, a couple of years back I switched to libvirt and never had any 
problems with it (that weren't of my own doing).


It *does* take a bit more time to really understand all the features, 
but it is worth your time. There is good documentation available, but I 
had to read some of it multiple times to get my head around it. Not 
because the docs were bad, but it is complex and written for people that 
already do have some experience in that area (I feel). There is a 
separate GUI, if you think that suits your needs (with the imaginative 
name Virtual Machine Manager).


I run a fully patched Windows 10 Pro in libvirt at the moment on a 
machine with 32 cores and 64 GB of RAM and it is speedy and stable 
enough for my needs (hosting a learning environment for my students).


I'd say: give it a go!

Grx HdV



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Jeremy Ardley
I have Windows client on Debian and Windows Hosts using Virtualbox. I 
don't think there is much difference to VMWare for simple client hosting.


When the client is fully 'settled in' performance is perfectly adequate. 
Where it runs into problems is saving state and restoring. That is 
pretty fast, but if you save state and restore a few days later the 
client performance is abysmal for some time as the client goes through 
lots of housekeeping, scanning etc to get up to date. I generally 
restore it and go off and do something else for 30 minutes.


As an aside, a Windows host for a client sucks big time. Windows will 
automatically restart periodically no matter what you do to prevent it. 
When it does it's likely to smash the client and lose whatever you were 
doing.


On 17/8/22 6:53 pm, Tom Browder wrote:

Unfortunately, I have to have a Windows host. I have given up dual 
hosting because of the pain, so I am using a dedicated Win 10 box and 
a Deb laptop.


I would love to run Windows on a VM on Debian iff I can have it be 
reliable enough to use with reasonable response (no games, just Office 
360, IO Drive, H Block, and such). I haven't kept up with the VM 
world but a quick search shows VMware might be a good choice.


Anyone using such a rig for the real world (i.e., not testing or as a 
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
primary digital duopoly.


Thanks.

-Tom

--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Marco
Am 17. Aug 2022, um 05:53:05 Uhr schrieb Tom Browder:

> I would love to run Windows on a VM on Debian iff I can have it be
> reliable enough to use with reasonable response (no games, just
> Office 360, IO Drive, H Block, and such). I haven't kept up with
> the VM world but a quick search shows VMware might be a good choice.

I have used Windows VMs for years. It is reliable.



Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread Tom Browder
Unfortunately, I have to have a Windows host. I have given up dual hosting
because of the pain, so I am using a dedicated Win 10 box and a Deb laptop.

I would love to run Windows on a VM on Debian iff I can have it be reliable
enough to use with reasonable response (no games, just Office 360, IO
Drive, H Block, and such). I haven't kept up with the VM world but a
quick search shows VMware might be a good choice.

Anyone using such a rig for the real world (i.e., not testing or as a
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my primary
digital duopoly.

Thanks.

-Tom


Re: How to install debian-goodies in CLI environment?

2022-08-17 Thread Yvan Masson

Le 16/08/2022 à 18:37, Tim Woodall a écrit :

On Tue, 16 Aug 2022, G?khan Bag wrote:

I found that the installation of the package debian-goodies always 
prompts the
popularity contest configuration, and that way, I can't install 
debian-goodies

in a script.

I also tried: echo "" | apt install debian-goodies -y
And: yes | apt install debian-goodies -y
I tried both apt and apt-get.

How can I install debian-goodies in a script without manual user 
interaction?




Don't know if this will work for debian-goodies but this is the best
I've found for silencing any questions:
DEBIAN_FRONTEND=noninteractive apt-get -o APT::Install-Recommends=false
-o Dpkg::Options::="--force-confdef" -o
Dpkg::Options::="--force-confold" -y install $source_deps popularity-contest package relies on debconf durring installation for 
its configuration, like many other packages. In my opinion, the best way 
for an unattended installation is to populate the debconf database with 
the answer before installing the package. To do this, install 
debconf-utils, and run `debconf-get-selections` from a machine where 
popularity contest has already been installed to retrieve the question 
and its answer. Then, in your script, install debconf-utils, run 
`debconf-set-selections` with appropriate values and finally install 
your package. Have a look at `debconf-set-selections` for examples.


Regards,
Yvan


OpenPGP_signature
Description: OpenPGP digital signature