Re: OT: coloured text?

2024-01-07 Thread Kent West
On Sun, Jan 7, 2024 at 12:41 PM Hans  wrote:

> Hi folks,
>
> just a short question, please allow me to ask:
>
> How can I get coloured text output in a shell script?
>
> I am using:
>
> echo "my text bla"
>
> As far as I read and understood, this is not possible in every shell. I
> found
> nothing in bash manual for example.
>
> Debian is using "dash" and not "bash", if I am correct, and with using the
> shebang line :!/bin/sh it is using dash, am I correct?
>
> If I want coloured text, which shell do I have to use and what is the
> syntax
> then within the shell script?
>
> I searched the web, but could not find a clear answer to this.
>
> Thanks for a short answer.
>
> Best regards
>
> Hans
>
>
>
"sh" is probably "/usr/bin/sh" ("$ command -v sh" or the (now-deprecated?)
"which sh" will show you which "sh" is being called), which is probably a
symlink to "dash" ("ls -lah " will show that to you).

But not necessarily.

Perhaps one of the easiest ways to get color in a bash/dash/sh shell is to
use ANSI Terminal Escape Sequences. Not 100% portable, but probably
suitable for what you want.

Something like:

#!/bin/env sh

printf "\033[31m"
printf "Now we're printing in Red\n"
printf "\033[0m"
printf "Now we're printing in the system default color.\n"



-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Zoom on Bookworm?

2023-12-19 Thread Kent West
On Tue, Dec 19, 2023 at 3:30 PM Kent West  wrote:

>
>
> On 12/19/23 10:53, John Conover wrote:
>> > Does the Zoom client work on Bookworm with pipewire?
>> >
>> >  Thanks,
>> >
>> >  John
>>
>
> Yes.
>
> I have version 5.17.0 of the desktop client running on my sid/trixie box
> at this very moment.
>
> with Pipewire running.

>
> --
> Kent West<")))><
> IT Support / Client Support
> Abilene Christian University
> Westing Peacefully - http://kentwest.blogspot.com
>


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Zoom on Bookworm?

2023-12-19 Thread Kent West
On 12/19/23 10:53, John Conover wrote:
> > Does the Zoom client work on Bookworm with pipewire?
> >
> >  Thanks,
> >
> >  John
>

Yes.

I have version 5.17.0 of the desktop client running on my sid/trixie box at
this very moment.


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Hardware Misses on MacBook Air M1 2020

2023-11-10 Thread Kent West
On Thu, Nov 9, 2023 at 10:39 PM Timothy M Butterworth <
timothy.m.butterwo...@gmail.com> wrote:

>
>
> On Thu, Nov 9, 2023 at 11:31 PM Kent West  wrote:
>
>> I have an M1-chip 2020 MacBook Air on which I have dual-booted with
>> Debian 12 initially, then "upgraded" to sid (in hopes of getting better
>> hardware support). It has several hardware ... glitches, and my google-fu
>> is failing me in finding solutions. I'm hoping someone here can help.
>>
>> 
>>
>
> Have you considered just running Debian in a Virtual Machine until
> hardware support matures.
>


I started to look at that yesterday, but apparently VirtualBox doesn't
support the Mac's M1 chip, and QEMU looked a bit daunting on the Mac, so I
gave up on that pursuit for now. The issues I'm currently having seem less
painful to me than getting a VM up and running on the M1 Mac.


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Hardware Misses on MacBook Air M1 2020

2023-11-10 Thread Kent West
[Sorry; sent to Jeremy only the first time; meant to send it to the list.]

Sorry, no clue. Don't even know how I'd ascertain that, but if you can give
me a simple test, I'd be happy to try it for you.

On Thu, Nov 9, 2023 at 7:22 PM jeremy ardley 
wrote:

>
> On 10/11/23 04:44, Kent West wrote:
> > I have an M1-chip 2020 MacBook Air on which I have dual-booted with
> > Debian 12 initially, then "upgraded" to sid (in hopes of getting
> > better hardware support).
>
>
> Out of curiosity, does Debian 12 support the M1 NPU (Neural Processing
> Unit) ?
>
>

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Hardware Misses on MacBook Air M1 2020

2023-11-09 Thread Kent West
I have an M1-chip 2020 MacBook Air on which I have dual-booted with Debian
12 initially, then "upgraded" to sid (in hopes of getting better hardware
support). It has several hardware ... glitches, and my google-fu is failing
me in finding solutions. I'm hoping someone here can help.

First, the good news: Basic functionality works fine. Both Gnome and Plasma
work on both X11 and Wayland; graphics are crisp (albeit tiny, until I use
the GUI's size-mag feature to bump it to about 175%), and both wired and
wireless networking work, even with our certificate-based authentication
wireless network, that I could never get to work with a version of Debian
around 9 or 10 or so (but the connection is a little daunting for the
average Joe). I can't really speak for Sleep/Hibernation, as I haven't had
it running that long (UPDATE: It just announced it was automatically
suspending as I was typing this; I suspect it'll wake when I try it in a
few (UPDATE: Yes, it woke up instantly, perhaps too instantly?)), but
screen time-out/wake-up works fine. Audio via my Bluetooth ear buds works
great.

Now the bad news:

- keyboard backlight. Ag, how I need this in my usually-dark computing
environs!

- display brightness. It's either full-on or full-off. This is a much more
minor concern.

- audio. As mentioned above, audio works fine via Blluetooth (watched an
interesting Adam Savage video about a $13 USB-c cable vs Apple's $130
version; I can't believe I'm saying it, but I think the Apple version might
actually be worth that), but I can't get a peep out of the built-in
speakers. Everything *seems* to be in order; alsamixer sees both the
Pipewire device and the native Mac sound device; volume controls move up
and down (or left/right); there's just never any sound. Not even from
"speaker-test" after I've killed X/Wayland/gdm3, although "speaker-test"
(as a non-root user) looks like it's working. It acts like the speakers are
muted, but I can find no way to unmute them. When I run "speaker-test" as
root, it complains that the service (server? device?) is not
running/available? (Sorry; don't recall the exact message at the moment.)

- Though not really a hardware matter, thought I'd mention this for anyone
who wants to try Debian on their MacBook Air M1; when I updated to Sid,
apparently the Mac got "confused", and when I tried to boot back into
macOS, the system insisted on having my decryption password (which I guess
is normal, now that I think about it, 'cause FileVault 2 does that also,
just ... differently, so that I didn't recognize it), but then it also
insisted on a Recovery Key being typed in (like when Bitlocker locks you
out of Windows when it thinks the hardware has been tampered with).
Thankfully I had that key available, or it would have been a wipe/reimage
(or perhaps worse, the way Apple has locked things down of late).

So if anyone has any help for these issues, especially audio and the
keyboard backlight, I'm all ears.

Thanks!

Linux debian kernel 6.1.0-rc8-asahi #1 SMP Tue Dec 6 21:41:25 CET 2022
aarch64 GNU/Linux
trixie/sid

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Adjustment of left/right fields on Trackpad?

2023-07-29 Thread Kent West
Deb 12, KDE Plasma (usually, but generic answers are good)

Is a trackpad (Plasma calls it a Touchpad) divided left-and right in
hardware or software?

My Dell Latitude 5520 laptop has a numpad on the right-end of the keyboard
(what we used to call an extended keyboard, I believe), and the touchpad is
centered below the typing keys, instead of being centered in relation to
the entire left-right width of the extended keyboard. That's fine for
normal typing, but when using the keyboard more laxly (like playing a game
of Solitaire, or just reading email), my fingers are not over the
home-keys. (Even now, I'm typing one-handed, with my head resting on my
other hand). This "shifts" the trackpad too far to the left of the whole
keyboard for my hand to "naturally" find the sweetspot for left-clicks, and
very often when I'm pressing what I think should be a left-click, nothing
happens, and I have to intentionally break my focus on the game or the
email or whatever, and move my hand a little farther to the left to
actually get the left-click I intended.

I can't physically move the trackpad to the right (and that might not feel
"natural" either, when I'm actually doing proper typing), but if the
left-right halves of the touchpad were configurable, I could expand the
left-click area a centimeter or three, and I think that'd make my world
better.

Are there any DEs or Plasma extensions or other tweaks (Gnome-Tweaks?) that
would do what I'm imagining? Maybe not, but maybe it's soft-coded in a
compilable piece of Plasma's mouse-driver that I could modify?

Thanks!

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: why bookworm isn't called deb12?

2023-07-07 Thread Kent West
On Fri, Jul 7, 2023 at 4:00 AM Bret Busby  wrote:

> On 7/7/23 16:51, jeremy ardley wrote:
> >
> > On 7/7/23 16:30, Bret Busby wrote:
> >> Microsoft didn't invent anything.
> >
> >
>
> I did not post that statement as the original poster of that statement.
>
> In responding to messages, please properly quote the message, or excerpt
> of the message, to which the response is being made.
>
>
You wrote:

On 7/7/23 12:28, to...@tuxteam.de wrote:
>
> 
>
> Microsoft didn't invent anything.
>
> Yes they did - the highest level of system security - the Blue Screen Of
> Death 
>

Although tomas originally wrote "Microsoft didn't invent anything", when
you quoted him, you lost the quotation markers, so it *looks* like you said
it. jeremy did actually quote what you said, even though you meant it to be
understood as a quotation from another person.


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Why does Debian have code names for releases?

2023-06-26 Thread Kent West
On Mon, Jun 26, 2023 at 10:29 AM Arno Lehmann  wrote:

> 
> Also, I struggle with the names, always need to go to the project web
> page or wikipedia if I need to look up which version has which name, and
> it's always a nuisance.
> 
>
>
Code-names are awesome. I prefer them to be something like "First" or
"Secundo" or "Twelve"


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


OT: Kmail/Akonadi insists on using Gmail account even on non-Gmail email account

2023-06-26 Thread Kent West
This should go into the KDE forums, I know, but as intelligent of a human
as I am, I am unable to figure out how to post a question there. So knowing
the Debianistas are incredibly resourceful, I thought I'd ask here.

I've just set up a test box, running Debian 12, fairly minimal install,
with only KDE Plasma and a few other pieces added in.

I wanted to give KMail a spin (it never has worked well for me because of
my GMail accounts authenticating through SSO stuff, which I've never been
able to figure out), and to start off with I figured I'd limit it to just
one non-GMail account, a Yahoo!Mail account I have. (The Yahoo!Mail account
works fine with Thunderbird (which I added to test the account, after not
getting it to work with KMail.))

So I created a new Debian user (so there'd be no cruft that might get in
the way) and logged out of KDE/Debian as my usual user and logged in as my
new user (via sddm login screen).

I then fired up KMail, and the account-creation wizard began. I filled in
my Yahoo!Mail account info, and when I got near the end, it popped up a
window wanting a GMail account to which Akonadi needed permission.

I don't *really* understand how Akonadi fits into Kmail/Yahoo, but, meh; my
real question is: Does anyone here know if KMail *requires* a Gmail account
to access a non-Gmail email account (and if so, that seems really stupid)?
If not, how do I get around this failing new-account wizard issue?

Thanks!


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
On Fri, May 26, 2023 at 11:35 AM Geert Stappers 
wrote:

> On Fri, May 26, 2023 at 11:18:27AM -0500, Kent West wrote:
> > I'm just tinkering, trying to wrap my brain around Apache2. I've done a
> > clean-install, and when I look through /etc/apache2/apache2.conf, I see
> no
> > reference to "DocumentRoot".
> >
> > There is one in /etc/apache2/sites-[available|enabled]/000-default.conf,
> so
> > of course, the web-server serves up the default Debian Apache2 web page
> > when I use my web-browser to point to localhost. This is as expected.
> >
> > But if I disable 000-default.conf, by running a2dissite 000-default (and
> > verify that the sites-enabled dir is empty),
>
> Yes and has Apache been asked to reread its configuration?
>
>
> Yes, with "$ sudo systemctl restart apache2".


> > the default web page is still
> > served up. I would have expected that to have broken the web-server,
> > preventing it from being able to serve the default web page (from
> > /var/www/html). The only thing I can think of to explain this is that
> > /var/www/html must be hard-coded in the Apache2 source as the
> DocumentRoom.
> >
> > Can anyone confirm/deny this, and/or explain why my Apache2 server is not
> > broken if I don't have any sites in the sites-available directory and the
> > main conf file does not specify the DocumentRoot?
> >
> > Thanks!
>
> Thank by reporting back.
>
>
As I understand Dan Ritter elsewhere in this thread, yes, DocumentRoot is
hard-coded at compile-time (by Debian, not upstream), currently to
/var/www/html.

That answers my question. Thanks, y'all!


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
I'm just tinkering, trying to wrap my brain around Apache2. I've done a
clean-install, and when I look through /etc/apache2/apache2.conf, I see no
reference to "DocumentRoot".

There is one in /etc/apache2/sites-[available|enabled]/000-default.conf, so
of course, the web-server serves up the default Debian Apache2 web page
when I use my web-browser to point to localhost. This is as expected.

But if I disable 000-default.conf, by running a2dissite 000-default (and
verify that the sites-enabled dir is empty), the default web page is still
served up. I would have expected that to have broken the web-server,
preventing it from being able to serve the default web page (from
/var/www/html). The only thing I can think of to explain this is that
/var/www/html must be hard-coded in the Apache2 source as the DocumentRoom.

Can anyone confirm/deny this, and/or explain why my Apache2 server is not
broken if I don't have any sites in the sites-available directory and the
main conf file does not specify the DocumentRoot?

Thanks!

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Where is "LADSPA Noise Suppressor for Voice" for Kdenlive?

2023-05-25 Thread Kent West
I keep finding references on the 'Net to the LADSPA Noise Suppressor for
Voice plugin for Kdenlive, but Debian seems to not ship with it? Anyone
know why?

I wound up building it myself, and not being very experienced in such
things, it was more painful than it should have been, so here's my
step-by-step for building/installing it on Debian, in case anyone else
searches the archives for this info.

LADSPA Noise Suppressor for Voice on Debian, for Kdenlive

as of 24 May 2023
Kent West - kent.west@(that .com that swore to not be evil)


   1. The "librnnoise_ladspa.so" shared library is not in Debian's
   "/usr/lib/ladspa" path, so there is no "LADSPA Noise Suppressor for Voice"
   plugin within Debian's Kdenlive. Arg. The plugin does not seem to be
   available in Debian, so we'll compile it from source.
   2. Go to github.com and search for "noise-suppressor-for-voice" (by
   werman). Click on the green "Code" pull-down menu, and select "Download
   zip". Download it to your "~/Downloads" folder.
   3. Go to your "~Downloads" folder, and "*$ unzip
   "noise-suppressor-for-voice-master.zip*" file (you may want to first
   move it into a "temp" directory, etc, to keep it separate from other files
   in your "~/Downloads" folder).
   4. cd into the newly-created "noise-suppressor-for-voice-master"
   directory.
   5. Run "*cmake -Bbuild-x64 -H. -GNinja -DCMAKE_BUILD_TYPE=Release*".
  - If "cmake" is not found, you may need to "*$ sudo apt install cmake*
  ".
  - If "Ninja" is not found, "*$ sudo apt install ninja-build*".
  - If "PkgConfig" is not found, "*$ sudo apt install pkg-config*".
  - If juceaide fails to build, look through the error messages for
  clues. It failed for me.
 - When I looked through the generated messages, I found a line
 that said, "fatal error: ft2build.h: No such file or
directory". I went to
 debian.org and searched the Packages for "ft2build.h", and found
 it in "libfreetype-dev", so I did a "*$ sudo apt install
 libfreetype-dev*".
 - Re-running "cmake -Bbuild-x64 -H. -GNinja
 -DCMAKE_BUILD_TYPE=Release", juceaide still failed to build.
This time the
 error was, "fatal error: X11/Xlib.h: No such file or directory". So I
 searched Debian's packages, and then "*$ sudo apt install
 libx11-dev*".
 - Re-running "cmake -Bbuild-x64 -H. -GNinja
 -DCMAKE_BUILD_TYPE=Release", juceaide still failed to build.
This time the
 error was, "fatal error: X11/extensions/Xrandr.h: No such file or
 directory". So I searched Debian's packages, and then "*$ sudo apt
 install libxrandr-dev*".
 - Re-run "cmake -Bbuild-x64 -H. -GNinja
 -DCMAKE_BUILD_TYPE=Release". This time, "fatal error:
 X11/extensions/Xinerama.h: No such file or directory", so "*$ sudo
 apt install libxinerama-dev*"
 - Re-run cmake; this time: "Xcursor.h", so "*$ sudo apt install
 libxcursor-dev*".
 - Re-run cmake; finally, success, with the message, "Build files
 have been written to:
 ~/Downloads/noise-suppressor-for-voice-master/build-x64".
  6. But we're not done yet; the library file we need is not yet in
   "build-x64/bin". So next, "*$ ninja -C build-x64*". Upon a successful
   run, there should now be a "librnnoise_ladspa.so" file in
   "build-x64/bin/ladspa".
   7. "*$ sudo mv build-x64/bin/ladspa/librnnoise_ladspa.so
   /usr/lib//ladspa/*".
   8. "*$ sudo chmod 644 /usr/lib/ladspa/librnnoise_ladspa.so*" (or match
   perms of other files here).
   9. "*$ sudo chown root:root /usr/lib/ladspa/librnnoise_ladspa.so*" (or
   match perms of other files here).
   10. Restart Kdenlive if it's running; now you should be able to search
   *Effects* for "noise suppressor for voice".

Success! (from https://kentwest.neocities.org/westk/librnnoise)

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Mouse trouble on sid

2023-05-16 Thread Kent West


Just for kicks, unplug the keyboard and see if the mouse starts behaving.

>
>

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Mouse trouble on sid

2023-05-15 Thread Kent West
On Mon, May 15, 2023 at 2:16 PM Joe  wrote:

> On Mon, 15 May 2023 13:26:06 -0500
> Kent West  wrote:
>
> > On 5/15/23 11:57, Joe wrote:
> > > Hi,
> > >
> > > Upgraded sid two days ago for the first time for a week or so. Today
> > > have serious mouse problems. Xfce on AMD. First thing tried of
> > > course was another mouse, just the same.
> > >
> > > The computer is barely usable in this state. There were too many
> > > packages upgraded, including the kernel, to be able to narrow down
> > > the culprit or attempt a rollback, well over 100. Google tells me
> > > various things about making the mouse do things, but they all seem
> > > to involve some extra mouse tweak package, none of which I have
> > > installed.
> >
> >
> > I would boot into the CMOS/BIOS/System Setup, and make sure the mouse
> > works properly there (assuming your hardware has such a setup).
>
> No mouse pointer there.
> >
> > I would try a different (new) user.
>
> Exactly the same.
> >
> > I would try in console-mode only (may have to install 'gpm').
>
> Yes, mouse pointer present in console with gpm running, but I can't
> tell if there's any misbehaviour, it doesn't actually do much. It
> selects in mc, but not in aptitude.
> >
> > Then go from there.
> >
> Not much to go on so far. Thanks for your suggestions. This looks like
> a bug in an upgrade, but I can't see evidence of anyone else seeing it.
>
> This is the real problem with running sid: not that things break, but
> that they only break for me.
>
> --
> Joe
>
>
Do you have a new lamp on your computer desk that's putting out EM?

Is your mouse wireless or wired? Try a different USB port?

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Mouse trouble on sid

2023-05-15 Thread Kent West
On Mon, May 15, 2023 at 2:16 PM Joe  wrote:

> On Mon, 15 May 2023 13:26:06 -0500
> Kent West  wrote:
>
> > On 5/15/23 11:57, Joe wrote:
> > > Hi,
> > >
> > > Upgraded sid two days ago for the first time for a week or so. Today
> > > have serious mouse problems. Xfce on AMD. First thing tried of
> > > course was another mouse, just the same.
> > >
> > > The computer is barely usable in this state. There were too many
> > > packages upgraded, including the kernel, to be able to narrow down
> > > the culprit or attempt a rollback, well over 100. Google tells me
> > > various things about making the mouse do things, but they all seem
> > > to involve some extra mouse tweak package, none of which I have
> > > installed.
> >
> >
> > I would boot into the CMOS/BIOS/System Setup, and make sure the mouse
> > works properly there (assuming your hardware has such a setup).
>
> No mouse pointer there.
> >
> > I would try a different (new) user.
>
> Exactly the same.
> >
> > I would try in console-mode only (may have to install 'gpm').
>
> Yes, mouse pointer present in console with gpm running, but I can't
> tell if there's any misbehaviour, it doesn't actually do much. It
> selects in mc, but not in aptitude.
> >
> > Then go from there.
> >
> Not much to go on so far. Thanks for your suggestions. This looks like
> a bug in an upgrade, but I can't see evidence of anyone else seeing it.
>
> This is the real problem with running sid: not that things break, but
> that they only break for me.
>
> --
> Joe
>
>
I should have also suggested a different window manager:

# taskselect

Another console-based app in which the mouse should function is links2.

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Mouse trouble on sid

2023-05-15 Thread Kent West



On 5/15/23 11:57, Joe wrote:

Hi,

Upgraded sid two days ago for the first time for a week or so. Today
have serious mouse problems. Xfce on AMD. First thing tried of course
was another mouse, just the same.

The computer is barely usable in this state. There were too many
packages upgraded, including the kernel, to be able to narrow down the
culprit or attempt a rollback, well over 100. Google tells me various
things about making the mouse do things, but they all seem to involve
some extra mouse tweak package, none of which I have installed.



I would boot into the CMOS/BIOS/System Setup, and make sure the mouse 
works properly there (assuming your hardware has such a setup).


I would try a different (new) user.

I would try in console-mode only (may have to install 'gpm').

Then go from there.

--

Kent




Re: Gnome desktop environment

2023-04-23 Thread Kent West


On 4/22/23 14:52, William Torrez Corea wrote:

I want to delete the Gnome desktop environment.

*What command is used for an elimination complete?*

I use this command but don't get the effect desired.
# apt-get install task-gnome-desktop



"install" won't remove. You want "remove" or "purge".


But don't even bother uninstalling it (unless you need the drive space); 
just install a different DE of your preference, and then on your login 
screen you can choose which DE to use. Install several DEs, and swap 
between them whenever you feel like.



--

Kent



Re: what's $_ in bash

2023-04-08 Thread Kent West


On 4/7/23 23:40, davidson wrote:

On Sat, 8 Apr 2023 t...@myposts.ovh wrote:

Hello

in bash shell, what's "$_" variable?




kent@westk-9463:~$ ls *html
morsekeyer.html  morse.html  myGameEasier.html  myGame.html

The 'ls *html' "expands" to "ls morsekeyer.html morse.html 
myGameEasier.html myGame.html", which means that the last item to that 
last command was "myGame.html", as we see below from echoing "$_".


kent@westk-9463:~$ echo The last item on the command-line above, after 
expansion, was -- $_.

The last item on the command-line, after expansion, was -- myGame.html.



Below, "*kent" does not expand any further, so "*kent" gets returned by 
the "$_".


kent@westk-9463:~$ ls *kent
ls: cannot access '*kent': No such file or directory
kent@westk-9463:~$ echo The last item on the command-line above, after 
expansion, was -- $_.

The last item on the command-line, after expansion, was -- *kent.



And below is a final example:

kent@westk-9463:~$ ls *conf
syslog.conf
kent@westk-9463:~$ echo The last item on the command-line above, after 
expansion, was -- $_.

The last item on the command-line, after expansion, was -- syslog.conf.



Re: laptop frozen when opening apps, debian testing with gnome

2023-01-23 Thread Kent West

On 1/23/23 11:59, Shalom Ben-Zvii Kazaz wrote:
since the latest full-upgrade three days ago on my laptop the computer 
gets completely frozen sometimes, yesterday got frozen few times when 
i tried to open zoom. today few times when i tried to open brave 
browser. completely frozen, need to shut down and restart.
i'm running debian testing for three years on that laptop, dell xps 
15, gnome desktop.
what can i do,check? i'm not so experienced, usually there are no 
problems.




Three things I'd try (for diagnostic testing):


1 - log in as a different user; does that user have the same freezing 
issues?


2 - log into a different Desktop Environment (Plasma, Cinnamon, etc); 
does that DE have the same freezing issues?


3 - On boot, choose Advanced options; does that give you the ability to 
boot into the last kernel you had before the upgrade? If so, select it; 
does that option have the same freezing issues?



--
Kent West<")))><
IT Support::Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com



Re: Q. re "Software" on new 11.6 Install

2022-12-28 Thread Kent West
On Wed, Dec 28, 2022 at 8:58 AM Kent West  wrote:

>
> On Wed, Dec 28, 2022 at 8:33 AM Kent West  wrote:
>
>> I just installed 11.6 (Bullseye) on a VM. Before I start using it for its
>> intended purpose, I thought I'd take the opportunity to experience a new
>> install as a new user, just to see what they might experience.
>>
>> When given the choice of what software to install, I unselected Gnome and
>> selected Cinnamon, and left the others at their defaults (blank except for
>> first (desktop) and last (standard tools) options).
>>
>> When I booted into Cinnamon, I found the "Software" GUI. I can run
>> "Aptitude" all day long, but the GUIs I've tended to leave alone.
>>
>> So here's my question. When in this "Software" GUI, I hit the search
>> "magnifying glass" icon in the upper-left corner, and searched for "rust",
>> expecting to find Rust-programming-related items. It only found the one
>> item of "Process Viewer". Even after I enabled "contrib" and "non-free"
>> (didn't think that'd make a difference, but thought I'd try). Are these GUI
>> front-ends for "apt" that broken? Or just this one? Or am I doing something
>> wrong?
>>
>> Just curious; I can always use "aptitude" to do what I want, but if I was
>> a newbie trying to use this GUI to install "rustc", I'd be at a loss.
>>
>> Thanks!
>>
>
> The Search feature does not even find "aptitude". I'm beginning to think
> this "Software" GUI is something other than a front-end to "apt".
>
>
I found "Synaptic", which seems to be what I thought "Software" was going
to be. Perhaps "Synaptic" is Debian-specific, whereas "Software" is
Cinnamon-specific. Maybe?


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Q. re "Software" on new 11.6 Install

2022-12-28 Thread Kent West
On Wed, Dec 28, 2022 at 8:33 AM Kent West  wrote:

> I just installed 11.6 (Bullseye) on a VM. Before I start using it for its
> intended purpose, I thought I'd take the opportunity to experience a new
> install as a new user, just to see what they might experience.
>
> When given the choice of what software to install, I unselected Gnome and
> selected Cinnamon, and left the others at their defaults (blank except for
> first (desktop) and last (standard tools) options).
>
> When I booted into Cinnamon, I found the "Software" GUI. I can run
> "Aptitude" all day long, but the GUIs I've tended to leave alone.
>
> So here's my question. When in this "Software" GUI, I hit the search
> "magnifying glass" icon in the upper-left corner, and searched for "rust",
> expecting to find Rust-programming-related items. It only found the one
> item of "Process Viewer". Even after I enabled "contrib" and "non-free"
> (didn't think that'd make a difference, but thought I'd try). Are these GUI
> front-ends for "apt" that broken? Or just this one? Or am I doing something
> wrong?
>
> Just curious; I can always use "aptitude" to do what I want, but if I was
> a newbie trying to use this GUI to install "rustc", I'd be at a loss.
>
> Thanks!
> <http://kentwest.blogspot.com>
>

The Search feature does not even find "aptitude". I'm beginning to think
this "Software" GUI is something other than a front-end to "apt".

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Q. re "Software" on new 11.6 Install

2022-12-28 Thread Kent West
I just installed 11.6 (Bullseye) on a VM. Before I start using it for its
intended purpose, I thought I'd take the opportunity to experience a new
install as a new user, just to see what they might experience.

When given the choice of what software to install, I unselected Gnome and
selected Cinnamon, and left the others at their defaults (blank except for
first (desktop) and last (standard tools) options).

When I booted into Cinnamon, I found the "Software" GUI. I can run
"Aptitude" all day long, but the GUIs I've tended to leave alone.

So here's my question. When in this "Software" GUI, I hit the search
"magnifying glass" icon in the upper-left corner, and searched for "rust",
expecting to find Rust-programming-related items. It only found the one
item of "Process Viewer". Even after I enabled "contrib" and "non-free"
(didn't think that'd make a difference, but thought I'd try). Are these GUI
front-ends for "apt" that broken? Or just this one? Or am I doing something
wrong?

Just curious; I can always use "aptitude" to do what I want, but if I was a
newbie trying to use this GUI to install "rustc", I'd be at a loss.

Thanks!

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: Networking pb

2022-05-09 Thread Kent West
On Sun, May 8, 2022 at 5:06 PM Hussein Yahia  wrote:

>
>
> I can connect from my mac to the Linux desktop. But I can't connect
> from the Linux to the mac: when I go in the "Network" directory, the
> mac does not appear. I installed smb on the Linux desktop.
>
>
I'm suspecting that you need to go into the Mac's System Preferences /
Sharing, and turn on File Sharing.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: extract values from a string

2022-04-16 Thread Kent West
On Sat, Apr 16, 2022 at 11:01 AM Nicholas Geovanis 
wrote:

> On Fri, Apr 15, 2022, 9:37 PM wilson  wrote:
>
>> Hello
>>
>> in shell script, how can I use regex to extract values from a string?
>> maybe value types transformation should be required.
>>
>>
>> for instance the string: "black berry 12".
>> I want go get the name: black berry [String]
>> the price: 12 [Int]
>>
>
>
-- data.txt --
black berry 12
blue berry 14
raspberry 9
huckle berry hound 3
bare-knuckle sandwich 27

-- test.sh --
#!/bin/bash

file="data.txt"

while read -r line; do
   productID=$(awk -F' ' '{$NF=""; print $0}' <<< $line)
   price=$(awk -F' ' '{print $NF}' <<< $line)
   retail=$(($price * 2))
   printf "The price of \'$productID\' is \$$price. We will retail it for
\$$retail.\n"
done <$file


-- $./test.sh --
The price of 'black berry ' is $12. We will retail it for $24.
The price of 'blue berry ' is $14. We will retail it for $28.
The price of 'raspberry ' is $9. We will retail it for $18.
The price of 'huckle berry hound ' is $3. We will retail it for $6.
The price of 'bare-knuckle sandwich ' is $27. We will retail it for $54.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: konqueror - no browsermode

2022-02-03 Thread Kent West
On Thu, Feb 3, 2022, 9:55 AM Hans  wrote:

> Dear list,
>
> I just reinstalled konqueror, but somehow it is not opening any url.
>
> As konqueror is a file-browser and also a web browser, it looks like it is
> behaving just as a file browser.
>
> How and where can I change this?
>
> I found no point in konquerors setting menu.
>
> In plasma5 settings, I have firefox set for url's, but IMO this should not
> interfere with it, doesn't it?
>
> Any hints welcome.
>
> Best
>
> Hans
>

I don't have a definitive answer, but I'd *try* logging in as a different
user into a different desktop environment, and seeing if conqueror works
there.

-- 
Kent

>


Re: freeing up some space

2022-01-11 Thread Kent West
On Tue, Jan 11, 2022 at 1:59 PM Andrew M.A. Cater 
wrote:

> On Tue, Jan 11, 2022 at 01:25:27PM -0500, Roy J. Tellason, Sr. wrote:
> > So I'm poking around with mc,  and happened across
> /var/cache/apt/archives which has a LOT of *.deb files in it, and which
> seems to include many versions of the same package,  some of them many
> years old,  going all the way back to 2013.  I guess I've been running
> debian a little longer than I'd thought...
> >
> > Is it okay to just delete older versions of these files?  Or should I be
> doing something using one of the package management tools?  I've mostly
> used synaptic,  but am also aware of apt-get,  apt,  aptitude,  and am not
> real clear on their comparative capabilities.
> >
>

"aptitude clean"  will delete all the archived .deb files. I use this one
when I'm hurting for drive space, and don't foresee a need to reinstall any
of the packages.

"aptitude autoclean" will delete all the no-longer-downloadable archived
.deb files. I use this one when I want to tidy up the machine, but think
that maybe I might want to reinstall one of the packages and won't have a
working network connection at that time. If I'm not worried about dwindling
drive space, this is the one I use every few "aptitude full-upgrade"s.

I believe apt-get and apt have the same options.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Update Debian 9 to 10

2021-12-13 Thread Kent West
On Mon, Dec 13, 2021 at 10:14 AM Thanos Katsiolis 
wrote:

> The Display Manager was missing (gdm3), I installed it and the login works
> fine.
>
> Now when I log in there is a blue screen and the cursor, nothing else is
> displayed.
> Is there a problem with GNOME?
>


Probably.

You might try reinstalling Gnome; "aptitude reinstall task-gnome-desktop"
might do it.

Or you might try creating and logging in as a different user, to see if
that user has the same problem.

Or you might try selecting a different desktop/WM; "aptitude install xfce4"
might do it, and selecting that environment on login.

-- 
Kent


Re: Problems with "Bible Time" and "Xiphos"

2021-12-13 Thread Kent West
On Mon, Dec 13, 2021 at 8:57 AM Richard Owlett  wrote:

> I have two machines using MATE desktop:
>A. Primary is Debian 9.13
>B. Secondary machine which will become current
>   1. Debian 10.7
>   2. Debian 11.1
>
> Chronology
>
> I looked through the repository for Bible study tools with KJV with
> Strong's Concordance and GUI. Multiple commentaries preferred. "Bible
> Time" and "Xiphos" seemed to give appropriate range of options and had
> the same choice of reference works.
>
> I installed both on my Primary machine. The Xiphos had more desirable
> features but was unusable as it defaulted to always displaying the
> Strong's number for everything. I found the Debian 11 repository had a
> more recent version.
>
> I installed both programs to the Debian 11 partition of my secondary
> machine. I ran into two problems.
>
> 1. In Xiphos, I was not able to download Bible and reference works from
> the SWORD library. I resorted to using Synaptic to download them from
> the Debian repository. Both programs were able to display selected
> passages. Due to larger variety of material I would prefer to use the
> SWORD library.
>
> 2. Bible Time has Help options available via F1, F2, and F3. All report
> "Module not available".
>
>
> I then installed both programs to the Debian 10 partition to check for
> "operator error" &/or version differences. As I had tried to first use
> Xiphos on the Debian 11 install, I started with Bible Time on the Debian
> 10 install. It happily went looking for online libraries. Installed what
> I requested and they were available also to Xiphos.
> ALSO F1, F2, and F3 work.
>
> Two sets of questions.
>
> Is anyone using these on Debian 11? Is there an appropriate USER
> oriented list? [I found a SWORD list for Xiphos - but it appears to be
> developer oriented.]
>
> How can I completely purge both from the Debian partition [including
> code, data, *AND* configuration]. I've never removed a program before ;/
>
> I wish to replicate the steps and order used on the Debian 10 install to
> distinguish whether there is a code or operator error.
>
> TIA
>
>
I'm always online, so I just use online tools (biblegateway.com and
bible.cc primarily), but I just installed bibletime to see how it behaves
(it looks better than my vague memory of trying to use it a decade or so
ago), and the F1 & F2 keys both bring up a local html document; the F3 key
brings up the "Tip of the Day" window.

I'm using Cinnamon rather than Mate, on bookworm/sid.

You can "aptitude purge bibletime" which should get rid of the program as
well as its config files in /etc. I believe "apt" and "apt-get" have a
similar purge feature. This will not delete any config files belonging to
your local user. You can probably find and delete those files, but it might
be "cleaner" just to create a new local user and log in as that new user
for testing, maybe even logging into a different windowing/desktop
environment as part of the testing process.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: installation catch 22

2021-11-22 Thread Kent West
On Sat, Nov 20, 2021, 7:47 AM  wrote:

> I am able ro login in safe mode which has few commands and I am a new user
> so I don't know enough.
>

See reply below (so messages are read in order).


> -Original Message-----
> From: Kent West 
> To: debian-user@lists.debian.org 
> Cc: jasheb...@aol.com
> Sent: Fri, Nov 19, 2021 11:10 am
> Subject: Re: installation catch 22
>
>
>
> On Fri, Nov 19, 2021 at 9:36 AM  wrote:
>
>
> The installation runs through to completion but the system does not boot
> up.
> I have tried several times with the same result.
>
> I am able to log in and look at the log file where it informs me that some
> firmware
> needs to be updated. (red warnings)  I have a CD with the firmware but how
> do I
> install it if the system will not boot?
>
>
> You say the system does not boot up, and yet then you say you're able to
> log in.
>
> Perhaps what you mean is that the system does not boot up into a graphical
> system, but that you are getting to a login prompt?
>
> If so, after logging in, what happens if you run "startx"?
>
> --
> Kent West<")))><
> Westing Peacefully - http://kentwest.blogspot.com
>

Hi jashebert!

I would encourage you to reply to the debian-user list as a whole, so that
others may be able to chime in.

When you say "safe mode", I assume you mean that you're choosing the "Safe
Mode" option from the first GRUB boot screen menu?

If you let the machine boot normally, do you get to a login prompt at all?
If so, is it on a text-only screen, or a graphical screen?

If so, what happens when you type in your username and password?

-- 
Kent

>


Re: installation catch 22

2021-11-19 Thread Kent West
On Fri, Nov 19, 2021 at 9:36 AM  wrote:

>
> The installation runs through to completion but the system does not boot
> up.
> I have tried several times with the same result.
>
> I am able to log in and look at the log file where it informs me that some
> firmware
> needs to be updated. (red warnings)  I have a CD with the firmware but how
> do I
> install it if the system will not boot?
>
>
You say the system does not boot up, and yet then you say you're able to
log in.

Perhaps what you mean is that the system does not boot up into a graphical
system, but that you are getting to a login prompt?

If so, after logging in, what happens if you run "startx"?

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: VMWare Horizon Client has glitchy graphics after update to Bullseye

2021-11-11 Thread Kent West
On Thu, Nov 11, 2021 at 2:33 PM Luiz Romário Santana Rios <
luizroma...@tecgraf.puc-rio.br> wrote:

> Hello again,
>
> The problem still remains after all these months.
>
> My current solution is to access a remote CentOS 7 machine through VNC
> and use Horizon Client from there.
>
> Any idea why this might be happening?
>
>
I don't know the history of your issue, but the first two thoughts that
come to my mind:

1) Try a different Desktop Environment (e.g xfce4 instead of Gnome, etc)

2) Try the HTML interface (assuming it's available) instead of the client

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Google sites don't work

2021-08-02 Thread Kent West
YB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById(). 2 m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById(). 9 m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById(). m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById(). m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Content Security Policy: Ignoring “'unsafe-inline'” within script-src:
‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src:
‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src:
‘strict-dynamic’ specified
Empty string passed to getElementById(). 6 m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById(). 3 m=b:1168:137
<https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.za4G4J83qJA.O/am=rvxfykcC4P_swN-GQeaeo4__J4AALEIRK6O9P1BS_kcOAFjAOhTLg325ZgSYcYW5BOwCUwYB/d=1/im=1/dg=0/br=1/wt=1/rs=AHGWq9ArwvXYLuv19O22dCsPWdbqKfF7aw/cb=loaded_0/m=b>
Empty string passed to getElementById().


Also, another symptom; generally, if I restart the computer, and fire up
Firefox, and go to the offending sites, they'll work for 15, 30 minutes,
and then start complaining about not being able to connect, and I can no
longer go directly to the URLs for those pages. Clearing the cache/cookies
doesn't help,

but just now when I tried clearing cache/cookies again, and still had the
F12 Console open, I'm seeing things like this:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at
https://ssl.gstatic.com/dynamite/images/cleardot.gif?zx=aojuhxxm7pdi.
(Reason: CORS request did not succeed).

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Google sites don't work

2021-08-02 Thread Kent West
On Sun, Aug 1, 2021 at 11:17 AM Kleene, Steven (kleenesj) <
kleen...@ucmail.uc.edu> wrote:

> On Saturday, July 31, 2021 4:54 PM I wrote concerning firefox-esr:
> >> Neither translate.google.com nor images.google.com functions properly.
>

Similar problem here, only with Google sites like Gmail, Docs, and Chat
(via a[n?] university/Google system).

I don't know that it's the same problem though. It only affects Firefox.
I've tried Debian Buster (with a moved .mozilla directory) on my desktop PC
and Debian Buster on a laptop, and at least three Windows computers, two of
which are in a different building (one on same VLAN as my desktop & laptop;
one on a different VLAN).

It only fails when using a wired Ethernet connection; if I unplug and use
wireless, those sites work. But our network folks haven't found an issue
(so far - it's summer time, and students are gone, and few-ish folks use
Firefox, so we haven't had a whole lot of complaints, forcing the issue).

It's really frustrating, 'cause I don't like using non-Firefox browsers,
but I'm having to use Chromium to type this message, 'cause FF has just
become unusable for me, when using Google products. As far as I can
discern, FF works fine on every other site/product.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Not Sure Which Package to Submit Bug Against

2021-04-12 Thread Kent West
I have a Dell Latitude 5590 laptop running unstable.

At some time in the past few weeks I noticed the light was on on the
keyboard's F4 key, indicating that the microphone was muted. Since I
don't like my devices spying on me, I thought that was fine.

Weeks later I needed the mic, and tried to unmute it. Couldn't. Tried
everything I could think of, including a different OS, and BIOS
settings. So I figured it was a hardware problem, and I turned it over
the our hardware folks.

The hardware tech immediately was able to unmute the mic.

The difference was I had logged the laptop in as a different
(pre-existing) user for the tech's use.

I did some experimentation afterwards, and have discovered that if
user X mutes the mic, the mic then seems to be "owned" by user X, and
no one and no OS can seem to unmute it. I was using the machine as
user Y, which is why I couldn't unmute it, and when I handed the
laptop to the hardware tech, logged in as user X, bingo! He umuted it.

I don't know if this would be a kernel package bug, or an X package
bug, or a keyboard-input package bug, or an audio-package bug, or 

Any ideas?

Thanks!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com



Re: Could KDE work adequately on a PC with 4 GB of RAM and an Intel Core 2 Duo processor @ 2.33 GHz?

2021-03-10 Thread Kent West
On Wed, Mar 10, 2021 at 1:42 PM Cmdte Alpha Tigre Z 
wrote:

>
> Thanks.  I think I would rather prefer non-free software as a second
> option.
>
> Since I'm new to this, I would prefer to go the safe way: first Debian
> 10, then testing.
>
>
Be aware that although testing has less churn than unstable, that also
means that when a bug does creep through, it may take a week or two to see
the next release of the software, whereas unstable might see the fix come
in later that same day.

It's a trade-off.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Could KDE work adequately on a PC with 4 GB of RAM and an Intel Core 2 Duo processor @ 2.33 GHz?

2021-03-10 Thread Kent West
On Tue, Mar 9, 2021 at 9:34 PM Cmdte Alpha Tigre Z 
wrote:

> Hello.
>
> I would like to install Debian 10 with the KDE Plasma task
> on a PC with 4 GB of RAM and Intel Core 2 Duo E6550 @ 2.33 GHz,
> it doesn't have a GPU.
> Do you think it would run without problems
> or would it be slow and laggy?
>
> Thanks in advance for your answers.
>

If you have the drive-space for it, install it, along with something
lighter like Cinnamon or LXQt.

Then all it takes to switch between the alternatives is to log out, find
the settings icon on your login manager, select your alternative, and log
back in.

If KDE proves to be too sluggish, log out/in, switching to a leaner
alternative.

You can install and try dozens of alternatives.
-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Looking for a "text mode browser" (good description????)

2021-02-25 Thread Kent West
On Thu, Feb 25, 2021 at 7:34 AM Richard Owlett  wrote:

> On 02/25/2021 06:50 AM, IL Ka wrote:
> > There is also a browser named "lynx".
> > Not sure which one suits your needs best.
> > Try them all!
>
> Can someone recommend a newbie friendly intro to any of them.
> Man pages can be less than "useful: to 1st time user.
>
> Or links2, which is my usual go-to text-based browser.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Help Understanding Samba/ssh/LDAP/sssd/Kerberos/File Sharing?

2021-02-23 Thread Kent West
On Thu, Feb 18, 2021 at 8:10 PM Kent West  wrote:

> Ultimate goal:
>  1. Allow Windows/Mac users to map drives to Debian fileshares.
>  2. Allow Windows/Mac users to ssh into same Debian box.
>
> Near as I've been able to figure out (the web documentation seems to be
> all over the map), there are basically three ways of authenticating users
> for logging into a Debian box (at the console, or possibly via ssh, or
> possibly to access Samba fileshares):
>
> 1) the oldest and least-preferred method - LDAP and
> manual configuration of various files
> 2) the winbindd method - still supported, but perhaps on the road to
> deprecation in favor of sssd
> 3) the "modern" sssd method
> (Kerberos also seems to be a method, but that may be wrapped up in one or
> the other above methods.)
>
> It is my (possibly incorrect) understanding that the sssd method does not
> yet provide Samba filesharing capabilities, making winbindd the preferred
> choice.
>
> I have found the realmd tool, which makes the setup of either winbindd or
> sssd for console-based logins pretty easy. I can get console-based logins
> to work with either of theses two methods:
>
> winbindd:
>
> realm join --membership-software=samba --client-software=winbind -U
> [domain-add-capable user] [domain-name]
>
> sssd:
>
> realm join -U [domain-add-capable user] [domain-name]
>
> With either of these two methods, I can log into the console with a login
> like:
>  user@domain
>
> But with the sssd method, I could never get samba shares to work. With the
> winbind method, I can't get ssh to work. And a huge roadblock is that I've
> simply beeb unable to wrap my brain around what is needed; as mentioned,
> the web documentation is all over the map.
>
> So with all that said, my basic question here: Is my understanding of the
> three methods, for joining an Active Directory domain, validating users
> from it for console logins, ssh logins, and mapping drives shared from the
> Debian box, close to correct?
>
> Thanks!
>
>
> --
> Kent West<")))><
> Westing Peacefully - http://kentwest.blogspot.com
>


Yes, after tinkering and fighting these past couple of days with virtual
machines and test machines, etc, I believe my understanding is correct.

My notes on the process, should anyone be interested, are here:
http://goshen.acu.edu/westk/DEBIAN/Debian2ADSetup.html

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: AD user can't ssh in

2021-02-22 Thread Kent West
On Mon, Feb 22, 2021 at 1:37 PM Kent West  wrote:

>
>
> On Mon, Feb 22, 2021 at 7:52 AM Nicholas Geovanis 
> wrote:
>
>> On Sun, Feb 21, 2021, 5:09 PM Kent West  wrote:
>>
>> Brand new Debian box (tried Buster, then when that didn;' work, upgraded
>> tp unstable - meh, it's a test box to get things sorted out before
>> production use).
>>
>> Minimal setup (unchecked everything in TaskSel step during install; later
>> used TaskSel to add X11/Mate).
>>
>> su'd to root
>>
>> apt install'd aptitude, realmd, packagekit
>>
>> (packagekit grabbed the needed dependencies, such as sssd and samba (at
>> least parts of them, and maybe part of KRB5 (the keytab thing-y), and
>> [mostly] configured them)
>>
>> Ran "realm join MY.DOMAIN -U my_add-to-domain_user"
>>
>> getent passwd domain_user successfully returns data on the domain user:
>>
>> acutech@21260-debianvm:~$ getent passwd glerp@my.domain
>> glerp@my.domain:*:495633057:495600513:glerp:/home/glerp@my.domain
>> :/bin/bash
>> 
>>
>> But the domain user can't log in via ssh (a local user can ssh in).
>>
>> techman@21260-debianvm:~$ ssh -l glerp@my.domain 21260-debianvm
>> glerp@my.domain@21260-debianvm's password:
>> Connection closed by 127.0.1.1 port 22
>>
>> Here are a few relevant lines from /var/log/auth.log:
>>
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_unix(sshd:auth):
>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=127.0.0.1  user=glerp@my.domain
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:auth):
>> authentication success; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=127.0.0.1 user=glerp@my.domain
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:account): Access
>> denied for user glerp@my.domain: 6 (Permission denied)
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: Failed password for
>> glerp@my.domain from 127.0.0.1 port 59998 ssh2
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: fatal: Access denied for user
>> glerp@my.domain by PAM account configuration [preauth]
>>
>>
>> So I think what this is telling you is that authentication succeeded for
>> the "auth" clause in the "sshd" section of the PAM config file (pam_sss).
>> But then authentication failed in the "account" clause of the sshd section.
>>
>> So the question is why there?
>>
>>
> As I'm trying to parse this log snippet, I take the line mentioning
> "pam_unix" to mean that "glerp" is not found in the normal *nix
> authentication files method (ie, "glerp" is not found in "/etc/passwd").
>
> But the next line indicates that SSS does find "glerp" in its
> authentication method (ie, authentication via the domain).
>
> So "glerp" was not authenticated as a local user, but he was authenticated
> as a domain user.
>
> Then the next line says that although "glerp" has been authenticated as a
> domain user, "glerp" does not have authorization to ssh in, and then the
> next line says it's because the password is failing.
>
> But that doesn't make sense to me.
>
>
I built another virtual machine on another Debian box, following the same
steps. That one worked.

I compared all the files I could think of (/etc/pam.d/ files,
/etc/nsswitch.conf, /etc/ssd/ssd_config, etc), and made them identical.
Didn't help.

I then rebuilt the offending machine, removed it from the domain, followed
the same steps again, and now ... it works.

Go figure.

I would have loved to have found the problem, but more importantly for me,
I now know the process works. For now, that's sufficient.



-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: AD user can't ssh in

2021-02-22 Thread Kent West
On Mon, Feb 22, 2021 at 7:52 AM Nicholas Geovanis 
wrote:

> On Sun, Feb 21, 2021, 5:09 PM Kent West  wrote:
>
> Brand new Debian box (tried Buster, then when that didn;' work, upgraded
> tp unstable - meh, it's a test box to get things sorted out before
> production use).
>
> Minimal setup (unchecked everything in TaskSel step during install; later
> used TaskSel to add X11/Mate).
>
> su'd to root
>
> apt install'd aptitude, realmd, packagekit
>
> (packagekit grabbed the needed dependencies, such as sssd and samba (at
> least parts of them, and maybe part of KRB5 (the keytab thing-y), and
> [mostly] configured them)
>
> Ran "realm join MY.DOMAIN -U my_add-to-domain_user"
>
> getent passwd domain_user successfully returns data on the domain user:
>
> acutech@21260-debianvm:~$ getent passwd glerp@my.domain
> glerp@my.domain:*:495633057:495600513:glerp:/home/glerp@my.domain
> :/bin/bash
> 
>
> But the domain user can't log in via ssh (a local user can ssh in).
>
> techman@21260-debianvm:~$ ssh -l glerp@my.domain 21260-debianvm
> glerp@my.domain@21260-debianvm's password:
> Connection closed by 127.0.1.1 port 22
>
> Here are a few relevant lines from /var/log/auth.log:
>
> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_unix(sshd:auth):
> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
> rhost=127.0.0.1  user=glerp@my.domain
> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:auth):
> authentication success; logname= uid=0 euid=0 tty=ssh ruser=
> rhost=127.0.0.1 user=glerp@my.domain
> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:account): Access
> denied for user glerp@my.domain: 6 (Permission denied)
> Feb 21 17:04:54 21260-debianvm sshd[5284]: Failed password for
> glerp@my.domain from 127.0.0.1 port 59998 ssh2
> Feb 21 17:04:54 21260-debianvm sshd[5284]: fatal: Access denied for user
> glerp@my.domain by PAM account configuration [preauth]
>
>
> So I think what this is telling you is that authentication succeeded for
> the "auth" clause in the "sshd" section of the PAM config file (pam_sss).
> But then authentication failed in the "account" clause of the sshd section.
>
> So the question is why there?
>
>
As I'm trying to parse this log snippet, I take the line mentioning
"pam_unix" to mean that "glerp" is not found in the normal *nix
authentication files method (ie, "glerp" is not found in "/etc/passwd").

But the next line indicates that SSS does find "glerp" in its
authentication method (ie, authentication via the domain).

So "glerp" was not authenticated as a local user, but he was authenticated
as a domain user.

Then the next line says that although "glerp" has been authenticated as a
domain user, "glerp" does not have authorization to ssh in, and then the
next line says it's because the password is failing.

But that doesn't make sense to me.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: AD user can't ssh in

2021-02-21 Thread Kent West
On Sun, Feb 21, 2021 at 8:42 PM Kent West  wrote:

>
>
> On Sun, Feb 21, 2021 at 6:10 PM Tibz Loufok  wrote:
>
>> Hi,
>>
>> I suppose realmd configured sssd.
>>
>
> Yes.
>
> You may need to authorize your users to login. (By using AD gpo or
>> managing it locally).
>>
>> The parameter is access_provider.
>> But you can also use realm command to allow locally some AD group.
>>
>> Also sssd has some logs. You can edit sssd.conf to modify the log level.
>>
>> Red hat has a good documentation on this subject and it was really
>> helpfull for me as I had to integrate centos and Debian (from 8 to 10). (I
>> configured access locally not by GPO)
>>
>> I may give you more precise information when I will be at work.
>>
>>
> I appreciate the response, and look forward to more precise info, should
> you be able to provide it.
>
> I've dug through quite a bit of Redhat documentation, but most of it is
> still beyond me, especially since the specifics don't match Debian setups
>
> Also, about every other hit is behind a paywall, though. For example, just
> now I searched for "access_provider", and the first hit I tried was a
> Redhat link, and ran into a paywall. Arg.
>
> Again, thanks for the response!
>
>
Digging a little deeper on "access_provider", it seems that's more related
to general authentication into a system, rather than specifically to ssh
working for a user. But, since I'm woefully green in this entire realm, I
may be wrong.

-- 
Kent




> Regards
>>
>> Le lun. 22 févr. 2021 à 00:09, Kent West  a écrit :
>>
>>> Brand new Debian box (tried Buster, then when that didn;' work, upgraded
>>> tp unstable - meh, it's a test box to get things sorted out before
>>> production use).
>>>
>>> Minimal setup (unchecked everything in TaskSel step during install;
>>> later used TaskSel to add X11/Mate).
>>>
>>> su'd to root
>>>
>>> apt install'd aptitude, realmd, packagekit
>>>
>>> (packagekit grabbed the needed dependencies, such as sssd and samba (at
>>> least parts of them, and maybe part of KRB5 (the keytab thing-y), and
>>> [mostly] configured them)
>>>
>>> Ran "realm join MY.DOMAIN -U my_add-to-domain_user"
>>>
>>> getent passwd domain_user successfully returns data on the domain user:
>>>
>>> acutech@21260-debianvm:~$ getent passwd glerp@my.domain
>>> glerp@my.domain:*:495633057:495600513:glerp:/home/glerp@my.domain
>>> :/bin/bash
>>>
>>> I can su to a domain user's account (from root, or from a local user,
>>> using the domain user's password). I can also login as a domain user at the
>>> console. The domain user does not have a home directory, so I ran
>>> "pam-auth-config") and selected the option to auto-create a home dir.
>>>
>>> But the domain user can't log in via ssh (a local user can ssh in).
>>>
>>> techman@21260-debianvm:~$ ssh -l glerp@my.domain 21260-debianvm
>>> glerp@my.domain@21260-debianvm's password:
>>> Connection closed by 127.0.1.1 port 22
>>>
>>> Here are a few relevant lines from /var/log/auth.log:
>>>
>>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_unix(sshd:auth):
>>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
>>> rhost=127.0.0.1  user=glerp@my.domain
>>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:auth):
>>> authentication success; logname= uid=0 euid=0 tty=ssh ruser=
>>> rhost=127.0.0.1 user=glerp@my.domain
>>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:account): Access
>>> denied for user glerp@my.domain: 6 (Permission denied)
>>> Feb 21 17:04:54 21260-debianvm sshd[5284]: Failed password for
>>> glerp@my.domain from 127.0.0.1 port 59998 ssh2
>>> Feb 21 17:04:54 21260-debianvm sshd[5284]: fatal: Access denied for user
>>> glerp@my.domain by PAM account configuration [preauth]
>>>
>>> I've pretty much exhausted my troubleshooting skills, and don't know
>>> where to go from here. Any help would be appreciated. Thanks!
>>>
>>>
>>> --
>>> Kent West<")))><
>>> Westing Peacefully - http://kentwest.blogspot.com
>>>
>>
>
> --
> Kent West<")))><
> Westing Peacefully - http://kentwest.blogspot.com
>


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: AD user can't ssh in

2021-02-21 Thread Kent West
On Sun, Feb 21, 2021 at 6:10 PM Tibz Loufok  wrote:

> Hi,
>
> I suppose realmd configured sssd.
>

Yes.

You may need to authorize your users to login. (By using AD gpo or managing
> it locally).
>
> The parameter is access_provider.
> But you can also use realm command to allow locally some AD group.
>
> Also sssd has some logs. You can edit sssd.conf to modify the log level.
>
> Red hat has a good documentation on this subject and it was really
> helpfull for me as I had to integrate centos and Debian (from 8 to 10). (I
> configured access locally not by GPO)
>
> I may give you more precise information when I will be at work.
>
>
I appreciate the response, and look forward to more precise info, should
you be able to provide it.

I've dug through quite a bit of Redhat documentation, but most of it is
still beyond me, especially since the specifics don't match Debian setups

Also, about every other hit is behind a paywall, though. For example, just
now I searched for "access_provider", and the first hit I tried was a
Redhat link, and ran into a paywall. Arg.

Again, thanks for the response!

-- 
Kent

Regards
>
> Le lun. 22 févr. 2021 à 00:09, Kent West  a écrit :
>
>> Brand new Debian box (tried Buster, then when that didn;' work, upgraded
>> tp unstable - meh, it's a test box to get things sorted out before
>> production use).
>>
>> Minimal setup (unchecked everything in TaskSel step during install; later
>> used TaskSel to add X11/Mate).
>>
>> su'd to root
>>
>> apt install'd aptitude, realmd, packagekit
>>
>> (packagekit grabbed the needed dependencies, such as sssd and samba (at
>> least parts of them, and maybe part of KRB5 (the keytab thing-y), and
>> [mostly] configured them)
>>
>> Ran "realm join MY.DOMAIN -U my_add-to-domain_user"
>>
>> getent passwd domain_user successfully returns data on the domain user:
>>
>> acutech@21260-debianvm:~$ getent passwd glerp@my.domain
>> glerp@my.domain:*:495633057:495600513:glerp:/home/glerp@my.domain
>> :/bin/bash
>>
>> I can su to a domain user's account (from root, or from a local user,
>> using the domain user's password). I can also login as a domain user at the
>> console. The domain user does not have a home directory, so I ran
>> "pam-auth-config") and selected the option to auto-create a home dir.
>>
>> But the domain user can't log in via ssh (a local user can ssh in).
>>
>> techman@21260-debianvm:~$ ssh -l glerp@my.domain 21260-debianvm
>> glerp@my.domain@21260-debianvm's password:
>> Connection closed by 127.0.1.1 port 22
>>
>> Here are a few relevant lines from /var/log/auth.log:
>>
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_unix(sshd:auth):
>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=127.0.0.1  user=glerp@my.domain
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:auth):
>> authentication success; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=127.0.0.1 user=glerp@my.domain
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:account): Access
>> denied for user glerp@my.domain: 6 (Permission denied)
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: Failed password for
>> glerp@my.domain from 127.0.0.1 port 59998 ssh2
>> Feb 21 17:04:54 21260-debianvm sshd[5284]: fatal: Access denied for user
>> glerp@my.domain by PAM account configuration [preauth]
>>
>> I've pretty much exhausted my troubleshooting skills, and don't know
>> where to go from here. Any help would be appreciated. Thanks!
>>
>>
>> --
>> Kent West<")))><
>> Westing Peacefully - http://kentwest.blogspot.com
>>
>

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


AD user can't ssh in

2021-02-21 Thread Kent West
Brand new Debian box (tried Buster, then when that didn;' work, upgraded tp
unstable - meh, it's a test box to get things sorted out before production
use).

Minimal setup (unchecked everything in TaskSel step during install; later
used TaskSel to add X11/Mate).

su'd to root

apt install'd aptitude, realmd, packagekit

(packagekit grabbed the needed dependencies, such as sssd and samba (at
least parts of them, and maybe part of KRB5 (the keytab thing-y), and
[mostly] configured them)

Ran "realm join MY.DOMAIN -U my_add-to-domain_user"

getent passwd domain_user successfully returns data on the domain user:

acutech@21260-debianvm:~$ getent passwd glerp@my.domain
glerp@my.domain:*:495633057:495600513:glerp:/home/glerp@my.domain:/bin/bash

I can su to a domain user's account (from root, or from a local user, using
the domain user's password). I can also login as a domain user at the
console. The domain user does not have a home directory, so I ran
"pam-auth-config") and selected the option to auto-create a home dir.

But the domain user can't log in via ssh (a local user can ssh in).

techman@21260-debianvm:~$ ssh -l glerp@my.domain 21260-debianvm
glerp@my.domain@21260-debianvm's password:
Connection closed by 127.0.1.1 port 22

Here are a few relevant lines from /var/log/auth.log:

Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_unix(sshd:auth):
authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
rhost=127.0.0.1  user=glerp@my.domain
Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:auth):
authentication success; logname= uid=0 euid=0 tty=ssh ruser=
rhost=127.0.0.1 user=glerp@my.domain
Feb 21 17:04:54 21260-debianvm sshd[5284]: pam_sss(sshd:account): Access
denied for user glerp@my.domain: 6 (Permission denied)
Feb 21 17:04:54 21260-debianvm sshd[5284]: Failed password for
glerp@my.domain from 127.0.0.1 port 59998 ssh2
Feb 21 17:04:54 21260-debianvm sshd[5284]: fatal: Access denied for user
glerp@my.domain by PAM account configuration [preauth]

I've pretty much exhausted my troubleshooting skills, and don't know where
to go from here. Any help would be appreciated. Thanks!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Help Understanding Samba/ssh/LDAP/sssd/Kerberos/File Sharing?

2021-02-18 Thread Kent West
Ultimate goal:
 1. Allow Windows/Mac users to map drives to Debian fileshares.
 2. Allow Windows/Mac users to ssh into same Debian box.

Near as I've been able to figure out (the web documentation seems to be all
over the map), there are basically three ways of authenticating users for
logging into a Debian box (at the console, or possibly via ssh, or possibly
to access Samba fileshares):

1) the oldest and least-preferred method - LDAP and manual configuration of
various files
2) the winbindd method - still supported, but perhaps on the road to
deprecation in favor of sssd
3) the "modern" sssd method
(Kerberos also seems to be a method, but that may be wrapped up in one or
the other above methods.)

It is my (possibly incorrect) understanding that the sssd method does not
yet provide Samba filesharing capabilities, making winbindd the preferred
choice.

I have found the realmd tool, which makes the setup of either winbindd or
sssd for console-based logins pretty easy. I can get console-based logins
to work with either of theses two methods:

winbindd:

realm join --membership-software=samba --client-software=winbind -U
[domain-add-capable user] [domain-name]

sssd:

realm join -U [domain-add-capable user] [domain-name]

With either of these two methods, I can log into the console with a login
like:
 user@domain

But with the sssd method, I could never get samba shares to work. With the
winbind method, I can't get ssh to work. And a huge roadblock is that I've
simply beeb unable to wrap my brain around what is needed; as mentioned,
the web documentation is all over the map.

So with all that said, my basic question here: Is my understanding of the
three methods, for joining an Active Directory domain, validating users
from it for console logins, ssh logins, and mapping drives shared from the
Debian box, close to correct?

Thanks!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Any hams here? Is there a program that lets me use a mouse as a CW paddle?

2021-02-09 Thread Kent West
http://goshen.acu.edu/westk/KCARC/MorseKeyer.html

On Tue, Feb 9, 2021 at 3:17 PM Kent West  wrote:

> Years ago I wrote a *very* rudimentary html document that allows you to
> use the left and right arrows for dits and dahs. It doesn't work well, but
> it might give you an idea for rolling your own.
>
>
> On Tue, Feb 9, 2021 at 3:11 PM Andrew M.A. Cater 
> wrote:
>
>> On Tue, Feb 09, 2021 at 09:37:50AM +, Ottavio Caruso wrote:
>> > Hi,
>> >
>> > I'm looking for a program (if there is no Debian binary, I'm willing to
>> > compile from sources) that:
>> >
>> > 1) emulates a iambic paddle using the left/right buttons of the mouse to
>> > send dits and dahs for training purposes;
>> >
>> > 2) (optional) could also be used to pilot a transceiver.
>> >
>> > Thanks.
>> >
>> > --
>> > Ottavio Caruso
>> >
>>
>> Have a look at things like cwcp and the general programs in the ham radio
>> category?
>>
>> Andy C.
>>
>>
>>
>
> --
> Kent West<")))><
> Westing Peacefully - http://kentwest.blogspot.com
>


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Any hams here? Is there a program that lets me use a mouse as a CW paddle?

2021-02-09 Thread Kent West
Years ago I wrote a *very* rudimentary html document that allows you to use
the left and right arrows for dits and dahs. It doesn't work well, but it
might give you an idea for rolling your own.


On Tue, Feb 9, 2021 at 3:11 PM Andrew M.A. Cater 
wrote:

> On Tue, Feb 09, 2021 at 09:37:50AM +, Ottavio Caruso wrote:
> > Hi,
> >
> > I'm looking for a program (if there is no Debian binary, I'm willing to
> > compile from sources) that:
> >
> > 1) emulates a iambic paddle using the left/right buttons of the mouse to
> > send dits and dahs for training purposes;
> >
> > 2) (optional) could also be used to pilot a transceiver.
> >
> > Thanks.
> >
> > --
> > Ottavio Caruso
> >
>
> Have a look at things like cwcp and the general programs in the ham radio
> category?
>
> Andy C.
>
>
>

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com
Title: My Morse Code Keyer



 
  Welcome to Kent's Web-based Morse Code Keyer!
  Press the left arrow key for a dah, and the right arrow key for a dit.

  



Re: can't boot to a graphical interface.

2020-10-03 Thread Kent West
On Sat, Oct 3, 2020 at 8:01 AM songbird  wrote:

> Frank McCormick wrote:
> > While compiling an application today my Debian bullseye system somehow
> > got messed up. It will boot to a CLI but no X, apparently because for
> > some reason the system is unable to access some files in
> > /usr/share/dbus-1. It keeps saying access denied. The directories and
> > files are owned by root, and if I noot to a CLI I have no trouble
> > accessing them using sudo and midnight commander.
> >
> > I tried reinstalling systemd but it ended with the same problem.
>
>
On my bullseye/sid lappie, for comparison to yours:

kent@westk-9463:~$ ls -lah /usr/share/dbus-1/
total 84K
drwxr-xr-x   8 root root 4.0K Sep 17 19:55 .
drwxr-xr-x 610 root root  20K Sep  5 16:26 ..
drwxr-xr-x   2 root root 4.0K Aug  6 20:50 accessibility-services
drwxr-xr-x   2 root root  12K Aug  6 21:03 interfaces
drwxr-xr-x   2 root root  20K Aug  6 20:55 services
-rw-r--r--   1 root root 3.6K Jul  2 08:19 session.conf
drwxr-xr-x   2 root root 4.0K Sep 17 19:55 session.d
-rw-r--r--   1 root root 5.7K Jul  2 08:19 system.conf
drwxr-xr-x   2 root root 4.0K Sep 17 19:55 system.d
drwxr-xr-x   2 root root 4.0K Aug  6 21:08 system-services

kent@westk-9463:~$ ls -lahd /usr/share/dbus-1/
drwxr-xr-x 8 root root 4.0K Sep 17 19:55 /usr/share/dbus-1/


Re: where is the download page?

2020-08-17 Thread Kent West
On Mon, Aug 17, 2020 at 2:25 PM Greg Wooledge  wrote:

> On Mon, Aug 17, 2020 at 02:56:45PM -0400, Lars Blizard wrote:
> > where is the download page?
>
> https://www.debian.org/
>
> has a link that says "Getting Debian", and it also has a green download
> icon thingy embedded in the huge banner.
>
> (I've told people before that putting important things in web banners is
> a bad idea, because decades of the web have trained us not to look at
> web banners.)
>
>
Ha! I got to debian.org every so often (usually to download an .iso), and
've never before noticed that download icon.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 1:49 PM Joachim Fahnenmüller 
wrote:

> Am 10.08.20 um 17:39 schrieb Kent West:
> > On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller <
> jfahnenmuel...@web.de>
> > wrote:
> >
> >> Hi everybody,
> >>
> >> since I upgraded to Bullseye, Gimp does not start any more. I get the
> >> following:
> >>
> >> joachim@peter:~$ gimp
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by gimp)
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by /usr/lib/libgimpcolor-2.0.so.0)
> >> gimp: symbol lookup error: gimp: undefined symbol:
> gegl_rectangle_subtract
> >>
> >> Any idea?
> >>
> >>
> > What happens with:
> >
> > ~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> > lrwxrwxrwx 1 root root 22 Jun 13 10:36
> > /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1
> >
> >
>
>
> joachim@peter:~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> lrwxrwxrwx 1 root root 22 Jun 13  2019
> /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.165.1
>
>

You might try:

$ cd /usr/bin
$ ldd gimp

and look for any "not found" lines.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 10:39 AM Kent West  wrote:

>
>
> On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller <
> jfahnenmuel...@web.de> wrote:
>
>> Hi everybody,
>>
>> since I upgraded to Bullseye, Gimp does not start any more. I get the
>> following:
>>
>> joachim@peter:~$ gimp
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by gimp)
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by /usr/lib/libgimpcolor-2.0.so.0)
>> gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract
>>
>> Any idea?
>>
>>
> What happens with:
>
> ~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> lrwxrwxrwx 1 root root 22 Jun 13 10:36
> /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1
>
>
~$ apt-file search libbabl-0.1.so.0.177.1
libbabl-0.1-0: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0.177.1

~$ aptitude search libbabl
i A libbabl-0.1-0- Dynamic, any to any,
pixel format conversion library

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller 
wrote:

> Hi everybody,
>
> since I upgraded to Bullseye, Gimp does not start any more. I get the
> following:
>
> joachim@peter:~$ gimp
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by gimp)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpcolor-2.0.so.0)
> gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract
>
> Any idea?
>
>
What happens with:

~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
lrwxrwxrwx 1 root root 22 Jun 13 10:36
/usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread Kent West
On Sat, May 16, 2020 at 6:36 AM Cletus Kingdom 
wrote:

> Good Afternoon,
> I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
> switch to Debian (that was my first choice of Destro, just that I wasn't
> able to install and configure it)
>
> So I want to know wether it's possible to switch to Debian without looking
> my files ?
>
> N/B: I'm running Kubuntu and Windows currently (I still want to keep my
> Windows)
>

The *proper* way to do it is to back up all your important files, and then
repartition your drive as needed (or add more drive space in some other
manner), and install Debian.

But ... a second option is to use your existing Kubuntu partition[s] and
install Debian onto those partitions, destroying the Kubuntu that is
already there. If your Kubuntu has a separate /home partition (or wherever
you store your personal files), you can just tell the Debian installer to
use that partition for your Debian /home directory, without
erasing/formatting it first. Be aware that in either of these three options
I present, Kubuntu config files in your home directory may not be 100%
compatible with their Debian counterparts, such that Program X on Kubuntu
may not work [properly] on Debian using Kubuntu's version of the user's
Program X config files.

A final and third option, which is almost certainly going to lead to severe
broken-ness, but with enough effort and perseverance can eventually be
repaired, is to change your Kubuntu's /etc/apt/archives/sources.list (and
related dirs/files, as needed) to point to the Debian archives instead of
the Kubuntu's archives, and then do a dist-upgrade. This is the option I'd
try, just to see if I could make it work, with the understanding that I
would likely give up after two days of fighting it and just start over with
option 2 above.

In any case, you should make sure you have a working backup of your
important stuff, and you should expect that something will go wrong and
make your machine unbootable, either into Debian or Kubuntu, or even into
Windows, and be prepared to fix the issue (such as running whatever
Windows's boot-repair option is available on whatever version of Windows
you have).

If you enjoy tinkering, you can have a lot of fun and learn a lot. If you
just want things "to work", you may just want to stick with what you have.

"Success to you" in any case!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Boot so slow it never completes, while Windows boots fine

2020-04-23 Thread Kent West
On Thu, Apr 23, 2020 at 10:15 AM Marcin Owsiany  wrote:

> TL;DR: My laptop starts ~20x slower than normal. Booting Debian hangs
> before the kernel starts. Windows 10 boots slow, but then works fine.
> Hardware problem?
>
>
>
This "feels" like a hardware issue. Try removing the drive and see if the
BIOS is still slow.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Netbeans/Java Tutorial - Hangs

2020-04-20 Thread Kent West
On Sat, Apr 18, 2020 at 8:26 PM local10  wrote:

>
> > Tutorial = https://netbeans.org/kb/docs/java/quickstart.html
> >
> > It's like the process to create the new project hangs.>
> > Ideas? Suggestions? (I'm pretty green/new with both IDEs and Java.)
>
>
> You'll have more luck asking this question on the Netbeans user list.
> Possible reason: check what JDK you use to run Netbeans 10 and whether it
> can run properly on JDK 11 or 15.
>
> Regards,
>
>
Thank you for the response.

I didn't have a strong drive to get too familiar with either Java (I can do
"Hello, World" without an IDE) or Netbeans (or Eclipse, which I couldn't
get to work either), and after looking at my problem just a little (at the
log files, etc, and how much *stuff* was in the background), I'm reminded
of how much me and my fellow staff hated trying to keep our university's
enterprise software (Banner) working over the past twenty years because of
Java/version compatibility issues, and just realized, "Why? Why would I
want to support that morass of fragile complexity?" The fact that neither
Eclipse nor NetBeans works "out of the box" on Debian just adds to that
sentiment.

I think I'll stick with tinkering in Python, Bash, C, and Julia, at least
for now.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Netbeans/Java Tutorial - Hangs

2020-04-17 Thread Kent West
bullseye/sid, Cinnamon Desktop
Netbeans IDE 10.0

kent@westk-9463:~/NetBeansProjects$ aptitude search jdk
i   default-jdk   - Standard Java or Java
compatible Development Kit
p   default-jdk:i386  - Standard Java or Java
compatible Development Kit
i A default-jdk-doc   - Standard Java or Java
compatible Development Kit
p   default-jdk-doc:i386  - Standard Java or Java
compatible Development Kit
i A default-jdk-headless  - Standard Java or Java
compatible Development Kit

i A openjdk-11-doc- OpenJDK Development Kit (JDK)
documentation
v   openjdk-11-doc:i386   -

i A openjdk-11-jdk- OpenJDK Development Kit (JDK)

p   openjdk-11-jdk:i386   - OpenJDK Development Kit (JDK)

i A openjdk-11-jdk-headless   - OpenJDK Development Kit (JDK)
(headless)
p   openjdk-11-jdk-headless:i386  - OpenJDK Development Kit (JDK)
(headless)
i A openjdk-11-jre- OpenJDK Java runtime, using
Hotspot JIT
p   openjdk-11-jre:i386   - OpenJDK Java runtime, using
Hotspot JIT
p   openjdk-11-jre-dcevm  - Alternative VM for OpenJDK 11
with enhanced clas
p   openjdk-11-jre-dcevm:i386 - Alternative VM for OpenJDK 11
with enhanced clas
i A openjdk-11-jre-headless   - OpenJDK Java runtime, using
Hotspot JIT (headles
p   openjdk-11-jre-headless:i386  - OpenJDK Java runtime, using
Hotspot JIT (headles
p   openjdk-11-jre-zero   - Alternative JVM for OpenJDK,
using Zero
p   openjdk-11-jre-zero:i386  - Alternative JVM for OpenJDK,
using Zero
p   openjdk-11-source - OpenJDK Development Kit (JDK)
source files

i   openjdk-15-jdk- OpenJDK Development Kit (JDK)

p   openjdk-15-jdk:i386   - OpenJDK Development Kit (JDK)

i A openjdk-15-jdk-headless   - OpenJDK Development Kit (JDK)
(headless)
p   openjdk-15-jdk-headless:i386  - OpenJDK Development Kit (JDK)
(headless)
i A openjdk-15-jre- OpenJDK Java runtime, using
Hotspot JIT
p   openjdk-15-jre:i386   - OpenJDK Java runtime, using
Hotspot JIT
i A openjdk-15-jre-headless   - OpenJDK Java runtime, using
Hotspot JIT (headless


Tutorial = https://netbeans.org/kb/docs/java/quickstart.html

When I finish step "5. Click Finish", the "New Java Application" window
goes mostly gray ("Help" button still available), but never goes away. A
"HelloWorldApp" directory appears in my ~/NetBeansProjects directory, and I
see no change in the IDE window behind the "New Java Application Window". I
can ESC from the "New Java Application Window", but there is still no
change in the rest of the IDE.

It's like the process to create the new project hangs.

Ideas? Suggestions? (I'm pretty green/new with both IDEs and Java.)

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: javascript

2020-04-16 Thread Kent West
On Thu, Apr 16, 2020 at 1:50 PM Russell L. Harris 
wrote:

>
> The link is titled "Audio Complete Show 1 hr 58 Min":
> https://pipedreams.publicradio.org/www_publicradio/tools/
> media_player/popup.php?name=pipedreams/2020/04/13_pipedreams_128
>
> I am running Debian 10.  Synaptic does not find in the Debian archive
> a Javascript package.  And I seem to remember that Javascript is not a
> good thing.
>
>
>
Hmm, it "just worked" for me. I'm running bullseye/sid, with Firefox 74.0,
and (as revealed by "about:plugins"):
File: libfreshwrapper-flashplayer.soPath:
/usr/lib/browser-plugin-freshplayer-pepperflash/libfreshwrapper-flashplayer.so
Version: 32.0.0.344State: EnabledShockwave Flash 32.0 r0
A new window opened, with a blocky flash icon, which I clicked on, and then
had to give permission to run Flash on this site, and then their player
started right up and started playing.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-09 Thread Kent West
On Thu, Apr 9, 2020 at 9:32 AM Bernard  wrote:

>
>
> Le 09/04/2020 15:45, Kent West a écrit :
> >
> >
> > On Thu, Apr 9, 2020 at 8:29 AM Bernard  > <mailto:bdebr...@free.fr>> wrote:
> >
> >
> >
> > I just realized that in that Debian Stretch system,
> >
> > I HAVE NO /home//.gconf directory !
> >
>
> >
> > It'll rebuild itself when it's needed. The lack of a .gconf directory is
> > probably not causing your problem; rather, your problem is causing the
> > lack of a .gconf directory.
> >
> > What happened when you tried running tasskel and installing a simpler
> > Windowing setup?
>
> # tasksel
>
> a graphical window opens and proposes a choice between Debian Desktop
> environment, GNOME, KDE, xfce, MATE... I alternatively chose most of
> these including Gnome Desktop env, GNOME, KDE, xfce, MATE.
>

During the install, did you get any errors?

What happens if you do:

# sudo aptitude update

and

# sudo aptitude full-upgrade

Errors?



> $ startx
>
> invariably leads to
>
> ...
> connexion to X server lost
>
>

So something is wrong with your X server setup; thus my suggestion to try a
simpler windowing system, and my suggestion to update/upgrade.


==
>
> Another time, I attempted to run
>
> # evolution
>
> unable to init server, connexion refused
> failed to initiate gtk+  could not open display
>
>
This is probably simply because X is not running; X-based apps aren't going
to be able to run if X is not first running.
I see that for startx, you're writing a "$" prompt (normal user, in most
cases - good), but or evolution, you're writing a "#" prompt (superuser
(root), in most cases - not good).

As a test, create an ~/.xinitrc file with the single line

/usr/bin/X11/xterm


If X can start, this should start only an xterm window ("exit" should shut
down X). (Don't forget to delete/modify/restore this file after this test
so your system works normally.)

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-09 Thread Kent West
On Thu, Apr 9, 2020 at 8:29 AM Bernard  wrote:

>
>
> I just realized that in that Debian Stretch system,
>
> I HAVE NO /home//.gconf directory !
>
> [ While I have one my laptop using Ubuntu 14.04, also on my old desktop
> running Debian Lenny]
>
> but it didn't rebuild itself so far !
>
> What should I do to get it rebuilt ?
>
> Bernard
>
>
It'll rebuild itself when it's needed. The lack of a .gconf directory is
probably not causing your problem; rather, your problem is causing the lack
of a .gconf directory.

What happened when you tried running tasskel and installing a simpler
Windowing setup?

-- 
Kent


Re: Debian Stretch broken !

2020-04-05 Thread Kent West
On Sun, Apr 5, 2020 at 4:36 PM Bernard  wrote:

>
>
> Le 05/04/2020 08:24, Andrei POPESCU a écrit :
> > On Vi, 03 apr 20, 20:41:06, Bernard wrote:
>


> >> But : "Oh no, something has gone wrong..."
> >>
> 
> >
> > and then boot "normally" (this time in text mode).
> >
> > Log in with your normal user and try running 'startx' from the console.
> > In case it stops with some error messages we need those.
>
> The on screen results of such trials have been photographied and are
> available at the urls below :
>
>
> http://bdebreil.free.fr/IMG_0925.jpg
>
> http://bdebreil.free.fr/IMG_0926.jpg
>

You can log in as a normal user! Excellent!

Can you ping something by address? by name?

e.g.
ping 8.8.8.8
ping google.com

(Just trying to see how "normal" your system is.)

Maybe even install links2 and see if you can web-browse from the terminal.
$ sudo aptitude install links2
$ links2 slashdot.org
'q' to quit

Maybe install a simpler X system, like XFCE:

$ sudo tasksel

then try "startx'.


Any success? Any new errors/symptoms/insights?

-- 
Kent


Re: Debian Stretch broken !

2020-04-05 Thread Kent West
On Sun, Apr 5, 2020 at 9:28 AM Kent West  wrote:

>
>
> On Sun, Apr 5, 2020 at 9:23 AM Kent West  wrote:
>
>>
>> Next I typed 'journalctl -xb' to view system logs : a dozen of pages
>>> which I will shoot later, one thing I have noticed in it all, printed in
>>> red characters :
>>>
>>> EXT4-fs (sda2): unable to read superblock
>>>
>>> this repeated three times !
>>>
>>>
>> This looks a bit worrisome, but it may not actually be; it depends on
>> what device is at sda2 (it might be a second (unformatted, unused) hard
>> drive, or a USB thumb drive, or a CD/DVD drive, or ...).
>>
>
> No it can't be; I wasn't thinking straight. This is a second partition,
> not a second drive.
>
> This is almost certainly your problem. The next question is if it's a
> hardware, formatting, or mounting problem. I'd run "cfdisk" and see what
> that shows me.
>
>
> No, again, I think I've been mistaken. Seeing a different thread dealing
with this same problem, I realize that /dev/sda2 is likely the "container"
for extended partitions; trying to mount it would likely result in an
error; so I'm back to thinking I'd put my worry about this error message
aside for now, and see what "cfdisk" or some equivalent, like "fdisk -l
/dev/sda", says.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Debian Stretch broken !

2020-04-05 Thread Kent West
On Sun, Apr 5, 2020 at 9:23 AM Kent West  wrote:

>
> Next I typed 'journalctl -xb' to view system logs : a dozen of pages
>> which I will shoot later, one thing I have noticed in it all, printed in
>> red characters :
>>
>> EXT4-fs (sda2): unable to read superblock
>>
>> this repeated three times !
>>
>>
> This looks a bit worrisome, but it may not actually be; it depends on what
> device is at sda2 (it might be a second (unformatted, unused) hard drive,
> or a USB thumb drive, or a CD/DVD drive, or ...).
>

No it can't be; I wasn't thinking straight. This is a second partition, not
a second drive.

This is almost certainly your problem. The next question is if it's a
hardware, formatting, or mounting problem. I'd run "cfdisk" and see what
that shows me.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Debian Stretch broken !

2020-04-05 Thread Kent West
Things are looking a bit more promising now...


On Fri, Apr 3, 2020 at 6:14 PM Bernard  wrote:

>
>
> Le 03/04/2020 21:05, Kent West a écrit :
> >
> >
> > On Fri, Apr 3, 2020 at 1:41 PM Bernard  > <mailto:bdebr...@free.fr>> wrote:
> >
> >
> > Having done some minor resettings on alsamixer with no results, I
> > thought I had to reboot.
> >
> > But : "Oh no, something has gone wrong..."
> >
> > So, I am writing this message from my other laptop running Ubuntu
> 14.04
> >
> > I tried to reboot in rescue mode, but I don't know what to do from
> > there. 'startx' says that it doesn't have the proper files to launch
> > startx as root.
> >
> > login
> > bd
> >
> > says : wrong login (doesn't even ask a pswd)
> >
> >
> > It's unclear how far you're getting.
> >
> > Can you boot normally and get to a login prompt on a text-only screen?
> >
> > --
> > Kent
> >
> Thanks for your reply. To get login prompt and text screen, I had to
> take pictures with a camera, since the caracters are so small. Reading
> back those images, I will say this :
>


The pictures help. I see from the second picture that these are from a
"rescue boot"; what happens with just a normal boot?



> upon booting, a number of screen messages do appear and scroll down
> fast. I could only see that 'OK' was on most or all of them. In the end,
> a screen with smaller characters appear for 2-3 sec, that I have
> photographied.It has two lines as follows :
>
> /dev/sda1: clean, 408719/60530688 files, 116865639/242103552 blocks
> [8.436046] nouveau :01:00.0: priv: HUB0: 085014  (1e70820b)
>
> Those two lines only appear for 2-3 sec, so I had a hard time to
> photography them on the screen, and I am just coping them by hand, Links
> for photos are as follows :
>
> http://bdebreil.free.fr/IMG_0900.jpg
> http://bdebreil.free.fr/IMG_0901.jpg
> http://bdebreil.free.fr/IMG_0902.jpg
> http://bdebreil.free.fr/IMG_0903.jpg
> http://bdebreil.free.fr/IMG_0904.jpg
>
> After those 2-3 sec, another screen appears saying (translated from
> French to English)
>
> "Oops, something went wront. A problem has occured and the system cannot
> recuperate. Please disconnect and try again"
>
> Countless trials have all lead to the same behaviour.
>
> Now, if I reboot on rescue mode, a lot of fast moving messages do
> appear, I only could see that most or all of them bore the mention 'OK',
> as said before. In the end, smaller characters do remain on screen,
> waiting till I submit the root pasword. Then :
>
> You are in rescue mode. After logging in, type "journalctl -xb" to view
> system logs, "systemctlreboot" to reboot, "systemctldefault" or ?D to
> boot into default mode
>
> Give the superuser pswd (or press CTRL-D) to continue : [9.315865]
> [TTM] Zone kernel: A
>
> Available graphic memory: 2097152 kiB
>
> [   9.316077 [TTM] Initializing DMA pool allocator
> [ nouveau . DRM:
> ..
> etc ...
>
> When typing 'ls -l' home directories do not appear (see pictures)
>


Try "ls -l /"


Next I typed 'journalctl -xb' to view system logs : a dozen of pages
> which I will shoot later, one thing I have noticed in it all, printed in
> red characters :
>
> EXT4-fs (sda2): unable to read superblock
>
> this repeated three times !
>
>
This looks a bit worrisome, but it may not actually be; it depends on what
device is at sda2 (it might be a second (unformatted, unused) hard drive,
or a USB thumb drive, or a CD/DVD drive, or ...). Without more context,
it's hard to say much at this point. I'd hold off on worrying about it just
yet. As mentioned above, I'm mostly interesting in knowing what happens
when you do a normal boot.


Thanks in advance for your comments and advises.
>
> Bernard
>
>
>
>
>
>
>

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Debian Stretch broken !

2020-04-03 Thread Kent West
On Fri, Apr 3, 2020 at 1:41 PM Bernard  wrote:

>
> Having done some minor resettings on alsamixer with no results, I
> thought I had to reboot.
>
> But : "Oh no, something has gone wrong..."
>
> So, I am writing this message from my other laptop running Ubuntu 14.04
>
> I tried to reboot in rescue mode, but I don't know what to do from
> there. 'startx' says that it doesn't have the proper files to launch
> startx as root.
>
> login
> bd
>
> says : wrong login (doesn't even ask a pswd)
>

It's unclear how far you're getting.

Can you boot normally and get to a login prompt on a text-only screen?

-- 
Kent


Re: Debian 10 Installation Question

2020-03-22 Thread Kent West
On Sun, Mar 22, 2020 at 11:27 AM Jakub Kuzmicki  wrote:

> Hello,
>
> I recently installed Debian 10 on my Dell XPS 15 7590. I was able to get
>> through majority of the installation up until the network mirroring
>> portion. I skipped that part since I wasn't able to find a recognizable
>> mirror to use.
>
>
Do you mean none of the mirrors worked? That means the network portion of
the install failed. If you're installing from a netboot installer, that
means the installer won't be able to go out and get the rest of what it
needs to finish installation.

So now, when I turn on my computer and boot Debian, I am sent to the
>> terminal. I read somewhere that I can set up the network mirror through
>> this terminal.
>
> My question is, what can I do to fix this issue? Am I not able to boot
> Debian because network mirroring is not set up? I would probably need
> instructions on exactly what to type to get this done if thats the case.
>
>
When you mean you are sent to a terminal, do you mean you're sent to a
login in a terminal? Can you log in?

If so, you have installed Debian, although it might be a very minimal
Debian. Can you ping anything (like "ping 8.8.8.8"? Ctrl-C to stop the ping
attempts.)? If so, we can probably pick up the pieces from here (try
"tasksel", and installing the X11 windowing system/Gnome/KDE/etc). If you
can't ping anything, your networking is still broken, and we'll need more
details.

-- 
> Jakub Kuzmicki
>


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: libreoffice crash

2020-02-09 Thread Kent West
On Sun, Feb 9, 2020 at 11:11 AM Ólafur Jens Sigurðsson 
wrote:

> On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> > On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> > >>
> > >> Even easier is to, from the command line, start 'soffice --safe-mode'
> > >
> > > Hi, thanks for the suggestions but no luck, still crashes
>


I run sid, and had pretty consistent crashing after an "aptitude
full-upgrade" a month or so back.Typically I'd leave a doc open while I
went and did something else for a while, and then come back to find that LO
was no longer open. I looked into it a bit, but not a lot, figuring, "Meh,
I run sid; expect brokenness."

Then after a week or two, another full-upgrade seems to have solved the
problem.

Sorry I don't have better info to help, but maybe there's a clue here that
means something to someone.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: help with installation?

2019-12-24 Thread Kent West
On Tue, Dec 24, 2019 at 11:11 AM kaye n  wrote:

> On Tue, Dec 24, 2019 at 6:37 PM Richard Owlett 
> wrote:
>
>>
>> Exactly which ISO file did you download?
>>
>> That paragraph describes what you would see if you ran the netinst.iso
>> WITHOUT an active network connection.
>>
>> IOW, for whatever reason, the installer does not have access to a
>> repository.
>>
>
> It's the debian-10.2.0-amd64-netinst.iso
>
> I did ran the .iso without an active network connection, because it
> refused to connect to my wifi.  It asked for the ESSID (?), which I assumed
> is the same as SSID, so I typed in the SSID and the password, but it just
> would not connect.
>

Wireless adapters are typically not well-supported with Free software; I
believe what you're running into is the lack of appropriate hardware
drivers for your wireless NIC, because the drivers in the default Debian
are not Free.

You'll need to add the "non-free" option to your "/etc/apt/sources.list",
like this:

# go from this:
deb http://ftp.us.debian.org/debian/ stable main
# to this:
deb http://ftp.us.debian.org/debian/ stable main non-free

Then you'd "apt update" and then install the non-free drivers for your
wireless NIC, with a command similar to this:

apt install 

where " is the name of the package you need (which
you'll probably have to ask the list which package you need depending on
your equipment)

Of course, for this to work, you'll need access to the Debian repository,
which means one of the three solutions already suggested: 1) different
(non-free) installer, 2) a wired connection, or 3) a fuller CD/DVD/local
repository.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: New Install Boots to Grub

2019-12-16 Thread Kent West
On Mon, Dec 16, 2019 at 9:56 AM Dr. Jason Amerson 
wrote:

> Hello,
>
> I installed Debian 10.2.0 from a USB drive and the installation finished
> without errors. The only thing that happened during install is that it was
> unable to setup the network. Anyways, I removed the USB drive and rebooted
> the computer. It then booted into grub. There was a message telling me I
> can press TAB to get a list of commands but I know nothing about grub and I
> do not know how to fix the computer so that it boots into Debian. Will
> someone please help me with this?
>
> Thank you,
>
> Jason
>

Grub should have given you a menu with (probably) two options; something
like:

Debian GNU/Linux
Advanced Options

If you did not get such a menu, something went wrong during the install.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Macbook Post-Installation Issue

2019-12-16 Thread Kent West
On Mon, Dec 16, 2019 at 11:43 AM Dan Ritter  wrote:

> Dr. Jason Amerson wrote:
> > Dan,
> >
> > I cannot login to my desktop. I am just presented with the Debian
> GNU/Linux 10 tty1.
> >
> >
> > Jason
> >
> >
> > On 12/16/2019 12:04:09 PM, Dan Ritter  wrote:
> > Dr. Jason Amerson wrote:
> > > Hello,
> > >
> > > Me again. Different computer with a different problem. I may ask about
> other computers later. I am in the process of migrating my laptops from
> Windows 10 to Debian. This computer is a Macbook Pro. I installed Debian
> without errors, not even network errors like my other computer. I rebooted
> the computer and I was taken to a grub screen where I can select ???Debian
> GNU/Linux??? or ???Advanced Options for Debian GNU/Linux.??? I chose the
> first option. Then I was taken to a tty1 prompt for me to login. I know how
> to login into the shell and issue commands, I just do not know what to do
> at this point. This is something that I have not had happen before. I just
> would like to login to my KDE desktop.
> > >
> >
> > You've probably not installed kde.
> >
> > Log in. Gain root privileges via su or sudo. apt install kde and
> > an x display manager.
> >
> > You should be happy after that.
> >
>
> Don't top post here.
>
> Always continue conversations on the mailing list, not in
> private, unless someone asks you to take it private. That way,
> other people get the benefit (and other people can help).
>
> Nobody's impressed by a doctoral degree here, whether it be
> MD or Ph.D. or JD.
>
> You said "I know how to login into the shell and issue
> commands"; and I told you to do that, and then what to do
> afterwards in order to install KDE.
>
> Where it says login: give your username.
> Where it says password: give your password.
>
> You are now in a shell.
>
> Gain root privileges either by typing
> su -
> (and give the root password)
> or
> sudo -s
> (and give your own password)
>
> Now you have root privileges.
>
> type
> apt install kde-full
> to install KDE.
>
>
>
>
Unless things have changed recently (and I don't believe they have), you
could also run "sudo tasksel" and pick the Desktop Environment[s] you
prefer.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-18 Thread Kent West



On 11/17/19 3:02 AM, Anthony DeRobertis wrote:
Quick search of 
https://sources.debian.org/src/cups/2.3.0-7/backend/ipp.c/ shows there 
is no different between ipp and http, and no difference between ipps 
and https.


ipps and https force encryption, using SSL/TLS (just like you'd expect 
from https) (so if your printer doesn't offer encryption, say due to 
no certificates, it'll fail).


ipp and http do not require encryption (but may use it anyway, if 
available, via a TLS upgrade).


Probably CUPS offers both because some printers' documentation gives 
http:// URLs and some give ipp:// URLs.




Thank you! Good information!


--

Kent




Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-12 Thread Kent West



On 11/12/19 9:02 AM, Brian wrote:

On Mon 11 Nov 2019 at 10:18:26 -0600, Kent West wrote:

When adding a printer via the CUPS web interface (localhost:631) on my
Debian box, Administration / Add Printer / Other Network Printers,
there are
four Internet Printing Protocol options:

https

ipp

http

ipps

Which one do I want to select? What are the differences?

Essentially, use ipp unless you have a good reason not to.


^

This is the information I needed, which (IMO) should have been on the 
CUPS setup page.




Not quite. Both ipp and ipps do encryption. The difference is that ipp
does oportunistic encryption (using an http upgrade) whereas, with ipps,
encryption is always on (the encryption is immediate, using https). The
rationale for having a ipps URI is in RFC7472.

http is the transport protocol for ipp and ipps, and ipp and ipps URIs
are mapped to http and https URLs. Every modern printer would support
ipp; in addition, some could support ipps too. I believe the http and
https backends exist to facilitate connections with Windows machines,
which historically have lagged far behind in implementing ipp.



And this information helps, too.

Thanks!


--

Kent




Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-11 Thread Kent West


On 11/11/19 1:44 PM, Kent West wrote:



On 11/11/19 1:38 PM, Kent West wrote:


On 11/11/19 10:40 AM, Brian wrote:

On Mon 11 Nov 2019 at 10:18:26 -0600, Kent West wrote:


When adding a printer via the CUPS web interface (localhost:631) on my
Debian box, Administration / Add Printer / Other Network Printers, 
there are

four Internet Printing Protocol options:

https

ipp

http

ipps

Which one do I want to select? What are the differences?

'ls -l /usr/lib/cups/backend' tells you that it doesn't matter what
choice you make.



lrwxrwxrwx 1 root root  3 Oct 31 02:44 http -> ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 https -> ipp
-rwxr-xr-x 1 root root  80120 Oct 31 02:44 ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 ipps -> ipp

Thank you. That does tell me they are all the same. It does not tell 
me why CUPS on Debian makes the other three options available 
(thereby confusing the person adding the printer). There must be some 
reason why a person would expect to choose X over Y; that's the 
difference I'm looking for.




After some testing, I find that selecting "http" creates a working 
printer; selecting "ipps" does not. The latter generates an error page 
that says:


Unable to open PPD file:

   Missing asterisk in column 1


So apparently there is some difference between these protocols, and I'm 
left wondering what the differences are, and which one I should select.


--

Kent




Re: Semi-OT: IPP doesn't auto-configure CUPS?

2019-11-11 Thread Kent West



On 11/11/19 2:02 PM, Kent West wrote:
What I mean more specifically is, when I go into the CUPS web 
interface to set up a new printer, and go through the Add Printer 
stuff, and select "Other Network Printers" / "Internet Printing 
Protocol (ipps)" (because the printer is on a different subnet/virtual 
LAN and therefore doesn't get autodetected via Bonjour/mDNS/DNS-SD), 
and then on the next screen enter the IP address of the printer, I 
would have expected the IPP protocol to then handle the rest of the 
printer setup, but instead I'm still asked for the printer name and 
printer model (although I just now noticed that what is currently 
selected (I'm not sure it was when I started this email) is 
"{current_make_and_model} - IPP Everywhere" - perhaps this option is 
doing what I was expecting?).


(If I select that IPP Everywhere option, the next screen errors out 
saying "Unable to open PPD file: Missing asterisk in column 1", so I 
suspect that option is not doing what I was expecting.)



Then again, maybe it does. After that failure, I went back into printer 
management and found that a printer had been created, that appeared 
broken. So I deleted it, and just to be thorough, I repeated the process 
above, again (only this time choosing "Internet Printing Protocol 
(http)". This time I did not get the error reported above, and the 
printer list now shows what looks to be a properly-installed printer, 
with an auto-populated model number (so apparently two-way IPP 
communication is working).


I did a test print which was successful.

So then I deleted that printer, and again added the printer, this time 
going back to using "Internet Printer Protocol (ipps)", and again I got 
the failure error message. Apparently there IS a difference between 
these four protocols:


Internet Printing Protocol (http)

Internet Printing Protocol (https)

Internet Printing Protocol (ipp)

Internet Printing Protocol (ipps)

even though "ls -l /usr/lib/cups/backend" all show them to all be or 
symlink to the same file. So I'm left with my original question from my 
earlier-today post/question: What's the difference between these four 
protocols, and why would I select one over the others?


Thanks!

--

Kent




Semi-OT: IPP doesn't auto-configure CUPS?

2019-11-11 Thread Kent West
I've been trying to wrap my head around printing today, and I have come 
to understand that IPP is the up-and-coming standard for printing 
(replacing the older LPD / AppSocket / HP Jet Direct / etc), and more 
specifically, that IPPEverywhere is the new and up-and-coming standard 
(of which Apple's AirPrint is a variant/extension, more 
broadly-supported simply by being older, although not fully documented 
as is the newer IPPEverywhere).


It is further my understanding that IPP is supposed to query the printer 
for its capabilities (double-sided printing? stapling? A4 paper size in 
the tray, etc).


It is further my understanding that IPP can (does?) query the printer 
for this info just prior to each print job.


But I also thought that IPP would query the printer for this info when 
the printer is added to the client PC. I find that to not be the case, 
however, on my Debian Bullseye/sid box, and on a Mac Catalina MacBook. 
Am I incorrect about this setup-time polling?


What I mean more specifically is, when I go into the CUPS web interface 
to set up a new printer, and go through the Add Printer stuff, and 
select "Other Network Printers" / "Internet Printing Protocol (ipps)" 
(because the printer is on a different subnet/virtual LAN and therefore 
doesn't get autodetected via Bonjour/mDNS/DNS-SD), and then on the next 
screen enter the IP address of the printer, I would have expected the 
IPP protocol to then handle the rest of the printer setup, but instead 
I'm still asked for the printer name and printer model (although I just 
now noticed that what is currently selected (I'm not sure it was when I 
started this email) is "{current_make_and_model} - IPP Everywhere" - 
perhaps this option is doing what I was expecting?).


(If I select that IPP Everywhere option, the next screen errors out 
saying "Unable to open PPD file: Missing asterisk in column 1", so I 
suspect that option is not doing what I was expecting.)


Any info to help me understand better the process would be appreciated. 
Thanks!


--

Kent




Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-11 Thread Kent West


On 11/11/19 1:38 PM, Kent West wrote:


On 11/11/19 10:40 AM, Brian wrote:

On Mon 11 Nov 2019 at 10:18:26 -0600, Kent West wrote:


When adding a printer via the CUPS web interface (localhost:631) on my
Debian box, Administration / Add Printer / Other Network Printers, 
there are

four Internet Printing Protocol options:

https

ipp

http

ipps

Which one do I want to select? What are the differences?

'ls -l /usr/lib/cups/backend' tells you that it doesn't matter what
choice you make.



lrwxrwxrwx 1 root root  3 Oct 31 02:44 http -> ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 https -> ipp
-rwxr-xr-x 1 root root  80120 Oct 31 02:44 ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 ipps -> ipp

Thank you. That does tell me they are all the same. It does not tell 
me why CUPS on Debian makes the other three options available (thereby 
confusing the person adding the printer). There must be some reason 
why a person would expect to choose X over Y; that's the difference 
I'm looking for.



Okay, just learned why the CUPS web interface presents all four options; 
it's because it's just reading what's available in 
/usr/lib/cups/backend. When I did this:



cd /usr/lib/cups/backend

sudo ln -s ipp bub


I got this when I refreshed my CUPS web interface page:

Other Network Printers: Backend Error Handler
Internet Printing Protocol (https)
Internet Printing Protocol (ipp)
Internet Printing Protocol (http)
AppSocket/HP JetDirect
LPD/LPR Host or Printer
Internet Printing Protocol (ipps)
Internet Printing Protocol (bub)
Windows Printer via SAMBA



Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-11 Thread Kent West



On 11/11/19 10:40 AM, Brian wrote:

On Mon 11 Nov 2019 at 10:18:26 -0600, Kent West wrote:


Probably answered somewhere, but I've been DuckDuckGo-ing for the past two
hours and can't find the answer.

When adding a printer via the CUPS web interface (localhost:631) on my
Debian box, Administration / Add Printer / Other Network Printers, there are
four Internet Printing Protocol options:

https

ipp

http

ipps

Which one do I want to select? What are the differences?

'ls -l /usr/lib/cups/backend' tells you that it doesn't matter what
choice you make.



lrwxrwxrwx 1 root root  3 Oct 31 02:44 http -> ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 https -> ipp
-rwxr-xr-x 1 root root  80120 Oct 31 02:44 ipp
lrwxrwxrwx 1 root root  3 Oct 31 02:44 ipps -> ipp

Thank you. That does tell me they are all the same. It does not tell me 
why CUPS on Debian makes the other three options available (thereby 
confusing the person adding the printer). There must be some reason why 
a person would expect to choose X over Y; that's the difference I'm 
looking for.


But your answer certainly helps. I now know it doesn't matter which of 
these I select.


--

Kent




Difference between ipp, ipps, http, https CUPS protocols?

2019-11-11 Thread Kent West
Probably answered somewhere, but I've been DuckDuckGo-ing for the past 
two hours and can't find the answer.


When adding a printer via the CUPS web interface (localhost:631) on my 
Debian box, Administration / Add Printer / Other Network Printers, there 
are four Internet Printing Protocol options:


https

ipp

http

ipps

Which one do I want to select? What are the differences?

Thanks!

--

Kent




Re: Security Issue with sssd / AD authentication?

2019-11-08 Thread Kent West



On 11/8/19 11:53 AM, Roberto C. Sánchez wrote:

On Fri, Nov 08, 2019 at 11:36:34AM -0600, Kent West wrote:

Probably not the best place to put this information, but I figure here is
better than no where...

I'm tinkering with authentication a Debian (10.1) box via Active Directory,
so that an AD user can log into the Debian box.

The relevant /etc/sssd/sssd.conf file has the following modification:

use_fully_qualified_names = False

If I have a local account (say, "westk") and a domain account of the same
name, but with a different password, I can log into the Debian box with the
domain "westk"/password, but the "id" command shows me then to be logged in
as the local "westk".

The result is that if I have a local account that belongs to a completely
different person than a person with a domain account of the same name, the
domain account person, upon login, becomes the local account person, with
full access as that person.

Advice? Suggestions? Questions?


It seems like you have two options:

1. change the use_fully_qualified_names setting
2. eliminate the westk local account

While the situation has security implications, those implications are a
result of misconfiguration rather than any defect in the related
utilities.

You could experience the same issue by allowing logins from two
different domains where the same user account exists in both.  It is a
risk of the use_fully_qualified_names configuration setting.

Regards,

-Roberto



I can accept that answer, if that's indeed the answer, but it seems to 
me that the local Debian box knows it authenticated from the domain, not 
locally (based on where the password was successful). Having that 
knowledge, it seems an error to then assign the user as the local user 
rather than the domain user.


--

Kent




Security Issue with sssd / AD authentication?

2019-11-08 Thread Kent West
Probably not the best place to put this information, but I figure here 
is better than no where...


I'm tinkering with authentication a Debian (10.1) box via Active 
Directory, so that an AD user can log into the Debian box.


The relevant /etc/sssd/sssd.conf file has the following modification:

use_fully_qualified_names = False

If I have a local account (say, "westk") and a domain account of the 
same name, but with a different password, I can log into the Debian box 
with the domain "westk"/password, but the "id" command shows me then to 
be logged in as the local "westk".


The result is that if I have a local account that belongs to a 
completely different person than a person with a domain account of the 
same name, the domain account person, upon login, becomes the local 
account person, with full access as that person.


Advice? Suggestions? Questions?

Thanks!


--

Kent



OT: Brainstorming in Favor of FOSS

2019-09-20 Thread Kent West

Totally off-topic, but today I had a thought.

It would be nice if Mozilla and LibreOffice Foundation got together and 
used the online account stuff of Firefox to allow users to access a 
hosted online version of LibreOffice. Could give both MS Office365 and 
Google Docs a run for their money, especially if the online LibreOffice 
stuff was made a little more featureful (I personally need styles (para, 
char, and page) and mail-merge - neither of which are offered by Google 
Docs or MS-Office365 either, I believe).


It'd be so nice to be able to work collaboratively with a team of 
co-workers on a LibreOffice document, and get to your documents from 
anywhere with network connection and a web-browser.


Not exactly Debian-related, but Debian-inspired, so thought I'd throw it 
out into the universe.



--

Kent




Re: Installation problem

2019-09-13 Thread Kent West
On Fri, Sep 13, 2019, 6:55 PM Anne  wrote:

Hi, I am new to debian and I can not seem to get the OS installed properly.

What I have done so far is to

Make a free space partition of 100GB on drive D and then

1. download the first DVD of 10.1.0
2. used rufus to put it on a thumb drive
3. Booted from the thumb drive and selected "graphical Install"
4. followed the prompts
5. Program said OS was installed and to reboot the system


During the install, did it repetition your drive, perhaps taking "D" and
reformatting it?

Your reference to "D" makes me think you have a partition that Windows
calls "D:", using an NTFS file system. Debian generally wants an EXT4 file
system, not an NTFS partition. Is drive "D:" missing from Windows after the
install?


-- 
Kent


Re: Where'd lsb-compat go?

2019-07-15 Thread Kent West



On 7/15/19 3:54 PM, Nicolas George wrote:

Kent West (12019-07-15):

- They plainly state that they support Ubuntu 18.04, but not Debian.

So, did I get this right: this is a software, if you install it on
Ubuntu 18.04, it can tell you on what OS and version it runs, REMOTELY.
Is that it?



Yes.

And a host of other information: system name, location, model, ip, 
netmask, mac address, RAM, drives, OS, uptime, timezone, user name, 
Motherboard primary and secondary bus types, processors/cores, 
architecture, whether it's a virtual device or not, sound cards, video 
cards, NICs, BIOS version, BIOS serial number, printers installed, drive 
encryption, the names of all 1293 programs that are installed on this 
particular machine I'm currently looking at, and their versions, 
detailed information about those apps in many cases, track licenses, 
show what's been installed/uninstalled since the last inventory, and how 
many hours ago that inventory was, currently-running processes, patching 
status, etc etc.


And it can push software (or remove, update, tweak it).

It can run other maintenance type tasks (add a user to sudo; move files; 
run scripts).


And it does this for not just Ubuntu 18.04, but if you get all your 
details right, also Debian 10. And Linux is the step-child; it focuses 
mostly Windows and Macs.


It can do these things to one machine, or a dozen that fit a certain set 
of criteria, or all of the machines on the network.


It can also report on other devices, such as smart-phones hitting our 
wireless network, or printers on the LAN, or AP devices, or smart 
projectors, Chrome boxes, etc, although it can't actively manage those 
things.


It also has helpdesk software built in (which we don't use), and license 
compliance capability (which we'll probably use eventually), and a 
self-serve customer-facing portal for installing software, installing 
printers, trouble-shooting, etc.


It'll run reports for the Suits - how many copies of Software XYZ, 
version a.b, do we have?


It's got a lot of functionality. It's got a lot of "issues" to go with 
that functionality, but for such a big range of functions, issues should 
be expected.



--

Kent





Re: Where'd lsb-compat go?

2019-07-15 Thread Kent West



On 7/15/19 3:15 PM, Greg Wooledge wrote:

On Mon, Jul 15, 2019 at 03:09:28PM -0500, Kent West wrote:

Well, in this particular case, the Quest SMA is a Systems Management
Appliance, which provides management and data-collection capabilities of
devices on a network. When a sysadmin wants to use the SMA to find out about
PCs on the network, particularly Linux PCs, particularly Debian PCs,
particularly Debian PCs of a certain version, that SMA itself must first
know that information. That's part of what the SMA does; it goes and and
collects information about the devices.

And yet it can't even figure out how to see the version number of a
Debian GNU/Linux system.  Are you sure you want to continue using this
product?  It doesn't sound very capable.



- Wasn't my choice.

- Every product has short-comings (and many support far fewer platforms; 
I'm thankful Quest works with Linux at all).


- They plainly state that they support Ubuntu 18.04, but not Debian. It 
worked fine on Debian until Debian changed with Buster. Had I stuck with 
Stretch, there would have been no problem. When they support the next 
version of Ubuntu, there will probably again be no problem. As it is, it 
still works; it just took some effort from me to get their product to 
work with an up-front-stated unsupported Debian.



--

Kent




Re: Where'd lsb-compat go?

2019-07-15 Thread Kent West



On 7/15/19 2:48 PM, Stefan Monnier wrote:

3) It spurs me to ask: So, if not via LSB, what is the canonical way to
programatically determine the version of an installed Debian setup?

Why would a program want to know?

That won't give it very much information, since the system may very
well have a mix of packages from different Debian releases plus other
packages from other repositories, plus hand-installed packages, without
talking about the fact that the Debian version number doesn't tell
you which packages are installed.


 Stefan



Well, in this particular case, the Quest SMA is a Systems Management 
Appliance, which provides management and data-collection capabilities of 
devices on a network. When a sysadmin wants to use the SMA to find out 
about PCs on the network, particularly Linux PCs, particularly Debian 
PCs, particularly Debian PCs of a certain version, that SMA itself must 
first know that information. That's part of what the SMA does; it goes 
and and collects information about the devices. In this case, it wanted 
to know the Debian version, both major and minor version. Granted, to 
you and me, perhaps that particular information is not very informative, 
but it seems to mean something to the Suits (and to the programmers of 
the Quest SMA). Go figure.



--

Kent




Re: Where'd lsb-compat go?

2019-07-15 Thread Kent West



On 7/15/19 9:25 AM, Michael Stone wrote:

On Mon, Jul 15, 2019 at 09:15:19AM -0500, Kent West wrote:
However, that didn't solve the issue; apparently the SMA release on 
the "Description:" line of output from "lsb_release -a" instead of 
the "Release:" line. 


And now we see one of the big reasons why the LSB initiative failed: 
the vendors didn't write to the spec, they just wrote to what worked 
on their preferred distro. Which is basically what they did without 
LSB--making the effort of implementing LSB a complete waste of time.



I'm glad you posted this, for three reasons:

1) it allowed me to realize I wrote "the SMA release" instead of "the 
SMA relies". I hate when I produce unintelligible output.


2) It answers my question of why Debian seems to have deprecated LSB. I 
don't know anything about programming to the LSB spec, but your comment 
makes it clear that Quest (<-- a little negative publicity there) failed 
to support the LSB properly, and vendors like that have made, as you 
say, "the effort of implementing LSB a complete waste of time."


3) It spurs me to ask: So, if not via LSB, what is the canonical way to 
programatically determine the version of an installed Debian setup?


Thanks!

--

Kent




Re: Where'd lsb-compat go?

2019-07-15 Thread Kent West
NOT REQUIRED READING; this is just a follow-up for documentation 
purposes in case anyone else needs this info from the list archives. 
(TL;DR at bottom)


On 7/11/19 1:48 PM, Kent West wrote:


1) I have several Debian boxes running as kiosks, and reporting to a 
centralized Quest-branded "Systems Management Appliance" (SMA). With a 
recent update to the SMA, the Debian boxes stopped reporting in. After 
several weeks, I finally discovered that the installation of 
"lsb-compat" on several of them restored their functionality.


"lsb_compat" installs "/usr/bin/lsb_release", which I believe is 
probably what the SMA relies on for Debian versioning information. Prior 
to installing "lsb_compat" the SMA log files complained about about not 
finding a major and a minor number for Debian. After installing 
"lsb_compat", the complaint went away, and the machines were restored to 
their functionality.


However, now with the machines upgraded to Debian 10 (Buster), 
"/usr/bin/lsb_release -a" reports the Debian version as 10 rather than 
as 10.0, and apparently the SMA expects that minor number as well as the 
major number.


I would hit the vendor up for a fix, but they don't support Debian (they 
do support Ubuntu 18.04; once they support the next release of Ubuntu, 
that'll probably fix it for Buster, also). In the meantime, I'm trying 
to chase down a fix.


Looking at "/usr/bin/lsb_release", I see that the function call that 
returns the data I need comes from the Python 3 module 
"/usr/share/pyshared/lsb_release.py". That function call is 
"get_distro_information()", which in turn relies on "get_os_release()", 
or if that doesn't have the release info, then "guess_debian_release()" 
(both of which are in this same module file).


The "get_os_release()" function has a comment that says, "# Whatever is 
guessed above can be overridden in /usr/lib/os-release by derivatives", 
which leads me to believe that this file, "/usr/lib/os-release", is the 
canonical location for specifying the version of Debian installed.


So I changed this line in that file:

VERSION_ID="10"

to

VERSION_ID="10.0"

and now "lsb_release -a" reports Debian to be at version 10.0.

However, that didn't solve the issue; apparently the SMA release on the 
"Description:" line of output from "lsb_release -a" instead of the 
"Release:" line. And changing the second VERSION_ID line in 
"/usr/lib/os-release" doesn't change that "Description:" line.


However, I'm getting closer.

Looking again at "/usr/lib/os-release", I change this line:

PRETTY_NAME="Debian GNU/Linux 10 (buster)"

to

PRETTY_NAME="Debian GNU/Linux 10.0 (buster)"

and voila! My SMA once again can see my Debian box. I'm not sure what 
side effects will occur from changing this file (I changed the two 
VERSION_ID lines back to what they were originally), but I'm guessing 
that changing the "pretty name" is cosmetic only (unless other apps rely 
on it like the SMA relies on it, pfft).



TL;DR

Change the "PRETTY_NAME" line in "/usr/lib/os-release" from "10" to "10.0".


--

Kent







Re: Where'd lsb-compat go?

2019-07-12 Thread Kent West



On 7/11/19 10:04 PM, Dominic Knight wrote:

On Thu, 2019-07-11 at 13:48 -0500, Kent West wrote:

Two issues:


1) I have several Debian boxes running as kiosks, and reporting to a
centralized Quest-branded "Systems Management Appliance" (SMA). With
a
recent update to the SMA, the Debian boxes stopped reporting in.
After
several weeks, I finally discovered that the installation of
"lsb-compat" on several of them restored their functionality. Today,
when I go to install "lsb-compat" on the other's, I find it's no
longer
available in Buster. Has it been deprecated? Why? Any ideas how I'm
going to get my boxes reporting again to the SMA (what does "lsb-
compat"

**
The Linux Standard Base (http://www.linuxbase.org/) was a standard
core system that third-party applications written for Linux could
depend upon.

This package provides the most minimal layer to be able to install and
run selected legacy LSB packages on Debian.
**

(untested) Maybe temporarily set your sources to old stable or stretch
and pick it up from there (then reset them of course).

I could only guess when you installed on the other boxes it was set to
stable (stretch) which was then stable but is now buster.



Okay, I've learned something about aptitude.

I added "oldstable" and after an "aptitude update", the older lsb stuff 
became available with an "aptitude search lsb", and I installed 
"lsb-compat". And when I removed "oldstable" and did another "aptitude 
update", the old lsb stuff was still available. That surprised me; I 
thought "aptitude search" would show what was available for downloading, 
but I guess it needs to also remember what is currently installed. And 
if I purge "lsb-compat" and then do another "aptitude search lsb", sure 
enough, the old stuff is now not shown.


Interesting

So that answers my issue #2.

Back to issue #1:

When I updated the working machine to my current "stable" sources.list, 
the version of Debian on that box went from 9.9 to 10, and even though 
"lsb-compat" remained installed, the communication with my Quest server 
has again gone silent. So apparently I don't need to know what 
lsb-compat does, or how to duplicate that functionality in some way now 
that lsb-compat is (apparently) deprecated, because the problem seems to 
be deeper than that. Although something changed between version 9.9 with 
lsb-compat and version 10 with lsb-compat, that's too general of an 
issue to ask about on this list; I'll have to narrow down more 
specifically what the Quest server is looking for (unless someone just 
knows what might have changed between the two versions that might have 
affected a third-party in this way - not likely).


And finally, yeah, I normally track release names ("potato", "buster", 
etc) in my sources.list files, but for some reason the working machine 
was tracking "stable", so I modified the non-working machine from 
"stretch" to "stable" to make the two machines more similar. I'm 
generally wary of the potential of upgrading to a new version by accident.


Thanks, all!

--

Kent




Where'd lsb-compat go?

2019-07-11 Thread Kent West

Two issues:


1) I have several Debian boxes running as kiosks, and reporting to a 
centralized Quest-branded "Systems Management Appliance" (SMA). With a 
recent update to the SMA, the Debian boxes stopped reporting in. After 
several weeks, I finally discovered that the installation of 
"lsb-compat" on several of them restored their functionality. Today, 
when I go to install "lsb-compat" on the other's, I find it's no longer 
available in Buster. Has it been deprecated? Why? Any ideas how I'm 
going to get my boxes reporting again to the SMA (what does "lsb-compat" 
do, that maybe I can duplicate manually, etc?)? I thought maybe 
"lsb-release" might do the same thing, as the basic problem is that the 
SMA's client piece on the Debian boxes had stopped finding the version 
of Debian installed on the box, which broke the reporting process. When 
I installed "lsb-compat", the SMA client piece could once again detect 
the Debian version.



2) When I compare two of my Debian boxes (set up at different times and 
probably in slightly different ways), I find that the 
/etc/apt/sources.list files are functionally identical (with no extras 
in the sources.list.d directory), but when I do an "aptitude search lsb" 
on each, they give different results. Huh? That doesn't make sense to 
me. For completeness:



root@lib-pac-04:~# cat /etc/apt/sources.list
#


deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

deb http://security.debian.org/debian-security stable/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security stable/updates main 
contrib non-free


# stable-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable-updates main contrib 
non-free






root@lib-pac-04:~# aptitude search lsb
p liblist-utilsby-perl - higher-order list utility functions
p liblist-utilsby-xs-perl - XS implementation of List::UtilsBy
i lsb-base - Linux Standard Base init script functionality
i lsb-release - Linux Standard Base version reporting utility
r





root@mcg-pac-03:~# cat /etc/apt/sources.list
#

deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
#deb http://security.debian.org/debian-security stable/updates main 
contrib non-free
#deb-src http://security.debian.org/debian-security stable/updates main 
contrib non-free


# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable-updates main contrib 
non-free





root@mcg-pac-03:~# aptitude search lsb
p   liblist-utilsby-perl - higher-order list 
utility functions
p   liblist-utilsby-xs-perl  - XS implementation 
of List::UtilsBy

v   lsb -
i   lsb-base - Linux Standard 
Base init script functionality
i   lsb-compat   - Linux Standard 
Base Compatibility

v   lsb-core -
i A lsb-release  - Linux Standard 
Base version reporting utility



Thanks!


--

Kent




Can't Connect to Secure Wireless Network

2019-05-21 Thread Kent West
I'm on a university campus; we have a secure network ("ACUsecure") to 
which I'm trying to connect. Mac laptops and Windows laptops have no 
problem. You connect to the network, and a pop-up appears asking for the 
user's "campus" username/password, and connection is made.


On my Debian sid laptop, using Gnome or Cinnamon as my DE (and not 
knowing how to connect via console-only), I can click on the Network 
Settings and get to the list of networks, and see "ACUsecure". I can try 
to connect, and I get prompted for a username/password. But the 
connection never succeeds.


I've involved our network guru on campus; he's not very familiar with 
Debian, but he spent an hour looking over things. From his side of the 
network, it looks like I'm getting validated, but from the laptop, I've 
found logs that say authentication failure. He's tried his credentials 
also, in various forms. He believes we've got the settings right on Debian:



WPA Enterprise

Protected EAP (PEAP)

Anonymous identity blank

CA cert None

No CA cert required

Inner auth MSCHAPv2

username

password


When I try to follow the journalctl entries from first trying to switch 
to ACUsecure until I cancel the pop-up asking again for creds, I get this:


http://goshen.acu.edu/westk/ACU-INTERNAL-USE/wireless.txt (IPs replaced 
by "aaa.bbb.ccc.ddd"; yeah, just feel-good security on my part, I know, 
but it helps a little)


Any help would be appreciated. Thanks!

--

Kent




Re: A Ghost in the Computer

2019-05-11 Thread Kent West
On Sat, May 11, 2019 at 8:52 AM Stephen P. Molnar 
wrote:

> If I have more that three or four apps open at one time, all of the
> non-active windows will pop open at random and predictable times with
> the result that no one window will be useable, unless I close every app
> that's open.
>
>
 - sticking keys on keyboard generating some sort of keyboard shortcut to
show all windows?

- hotspot on your screen to show all windows?

- glitch in your DE? Try a different Desktop Environment (Icewm instead of
Gnome, etc).


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Debian Stretch freezes often

2019-04-23 Thread Kent West
On Tue, Apr 23, 2019 at 7:45 AM Henning Follmann 
wrote:

> On Tue, Apr 23, 2019 at 07:17:28AM -0400, Enzo Guerra wrote:
> > hello
> > having problem with Debian Stretch
> > (installed around Mar 15, 2019, by netinstall)
> > it is freezing quite often
> > seems random while using different programs
> > my system:
> > Ryzen 5, 16gb, ASUS 320 motherboard, mp500 m.2 120gb ssd, debian on
> > complete disk (1 partition, also a swap partition), used uefi and lvm
> > have an amd rx560 gpu, installed non-free amdgpu driver
> > typically installed software (libs) with aptitude
> > aptitude reports no broken packages
> > did install GOG game BG2EE with instructions
> > from https://wiki.dotslashplay.it/en/games/baldurs-gate-2
> > game plays okay, but freezes also
> > other programs i run:
> > gedit, make, g++-6, vim, evolution and iceweasel
> > not sure what information i can provide to help solve this problem
> > please let me know
> > regards
> > enzo
> >
>
> No logs => it did not happen!
>
>
>
> --
> Henning Follmann   | hfollm...@itcfollmann.com
>
>
Yes, but maybe tell him what logs to look at.

Enzo, has this machine had any operating system on it before Stretch? With
no problems?

How often does it freeze? Every hour? Every couple of days? Do you hear
anything prior to the freeze, like the fans kicking into high gear?

Which window manager / desktop environment? Can you switch to a different
DE for a couple of days and get different results?

I'm not sure which logs to look into, but my starting place would be
/var/log.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Lspci

2019-03-26 Thread Kent West
On Tue, Mar 26, 2019 at 6:06 PM Joe B  wrote:

> Hello
>
> I just downloaded the iso for Buster and im running it in a virtualbox. I
> purposely disabled networking so I can learn how to find the firmware and
> learn how to load it/use it
>
> I tried to run lscpi or even lspci -vv same thing but the command is not
> found. I looked at
>
> https://manpages.debian.org/testing/pciutils/lspci.8.en.html and it said
> there should be a lspci but I don't see it at all. I also looked at
> https://wiki.debian.org/HowToIdentifyADevice/PCI and it said I should
> have pc-utils which has lspci but I have no internet.
>
> What should I do?
>
>
It should be "lspci", not"lscpi".



-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Q. about Tinkering with Debian Source Code

2019-03-26 Thread Kent West
On Tue, Mar 26, 2019 at 8:17 AM Kent West  wrote:

> Oops; when to Thomas instead of list; sorry. (Gmail, ugh!)
>

"went", not 'when". (Kent's typing skills, ugh!)

-- Forwarded message -
>
> On Tue, Mar 26, 2019 at 3:23 AM Thomas Schmitt  wrote:
>
> It depends on where you plan to submit your changes.
>>
>> If you want to help developing the upstream software project, then work
>> on a git clone and ask the upstream project people for advise how to
>> contribute.
>>
>
> If I'm understanding correctly, yea!
>
>
Also, I'm leaning toward the understanding that if I want to make an
improvement, bug-fix, etc, to the program itself, I probably want to go to
the upstream maintainer (through the proper channels); if I want to make an
improvement, bug-fix, etc that is specific to Debian's implementation of
the program, I probably want to go to the Debian maintainer (through the
proper channels).

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Fwd: Q. about Tinkering with Debian Source Code

2019-03-26 Thread Kent West
Oops; when to Thomas instead of list; sorry. (Gmail, ugh!)

-- Forwarded message -



On Tue, Mar 26, 2019 at 3:23 AM Thomas Schmitt  wrote:

> Hi,
>
> Disclaimer: I am not a Debian member and only prepare the Debian packages
> of my own upstream project. So i'm just one or two steps ahead of you.
>
>
> Kent West wrote:
> > Should I consider the Debian download as the official source, of the Git
> > version?
>
> s/of/or/ ?
>
>
Oops, my bad. Yes, "or".

It depends on where you plan to submit your changes.
>
> If you want to help developing the upstream software project, then work
> on a git clone and ask the upstream project people for advise how to
> contribute.
>
> 

>
> > If I start in the Debian version and it gets accepted back into Debian,
> > wouldn't that make the Git version just that much more irrelevant?
>
> Normally you are supposed to discuss your findings and code changes with
> upstream, so that your patches become obsolete with the next upstream
> release. Up to then, they could fix bugs, implement new features in
> advance, improve documentation, or make the package more feasable for
> Debian.
>
> Sometimes it might be necessary to permanently deviate from upstream
> decisions by permanent patches. But that should only be the last resort
> if upstream cannot or does not want to follow your well motivated
> proposals.
>
>
I think this is making sense to me.

An upstream app is developed, and accepted into Debian. Debian developers
(DDs) make Debian-specific improvements via Debian patches and release a
Debian package that then gets installed on Debian end-machines via
apt[-get|itude]. At this point, the Debian package (upstream version plus
Debian patches) and the upstream may differ significantly. The DD (or
other) who made improvements may also get them incorporated into the
upstream package via upstream-maintainer connections, which then results in
a new upstream version that then gets incorporated into Debian, which can
then be released without having to add those previous Debian-specific
patches.

So, in theory, If I "apt source PACKAGE" or "git clone PACKAGE", I'll get
the same base source code, except that as part of the "apt source PACKAGE"
route, the Debian-specific patches are applied on-the-fly, during the
download/install, so that when I, the end user, look at the two sources,
the sources may be different. If the "apt source PACKAGE" method did not
apply the patches on-the-fly as part of its routine, I'd see no difference
between the two sources (assuming nothing had changed upstream in the
meanwhile).

If I'm understanding correctly, yea!

Thanks, all!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Fwd: Q. about Tinkering with Debian Source Code

2019-03-26 Thread Kent West
Oops, went to Stefan instead of list; sorry. (Google Mail is so ... broken,
in some ways.)

-- Forwarded message -





On Mon, Mar 25, 2019 at 3:50 PM Stefan Monnier 
wrote:

> > When I use "apt source sl" (from sid, into its own directory) and compare
> > that tree (?) with what I get if I download via what that suggests (git
> > clone https://salsa.debian.org/debian/sl.git) (into its own directory),
> I
> > notice that the Makefile in the Debian version is slightly
> > more complex.
>
> I believe the difference should be that "apt source sl" will have
> applied the patches that you can find in the `debian/patches`
> subdirectory of the https://salsa.debian.org/debian/sl.git version.
>
>
> Stefan
>
>
Thank you. I'm not quite far enough along to know exactly what to do with
this information, but it got me past a conceptual bump; it helps me to make
sense of the bigger picture, and I should now be able to plod a bit
further.


-- 
Kent West    <")))><
Westing Peacefully - http://kentwest.blogspot.com


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Q. about Tinkering with Debian Source Code

2019-03-25 Thread Kent West
Hi!

I'm trying to dip my toe in the waters of editing the source code of Debian
packages, and I've started with the simplest, most innocuous program I
could think of - sl (the ASCII train that goes by on the screen when you
mistype "ls" as "sl).

When I use "apt source sl" (from sid, into its own directory) and compare
that tree (?) with what I get if I download via what that suggests (git
clone https://salsa.debian.org/debian/sl.git) (into its own directory), I
notice that the Makefile in the Debian version is slightly more complex. I
also notice some extra code in the Debian's "sl.c" file which is not in the
Git version's, which indicates to me that the Debian version has updates
that are not in the "newest" version on the Git repository.

Should I consider the Debian download as the official source, of the Git
version? If I were to make changes to feed back to the project, would I
want to make the changes to the Debian version or the Git version? Has the
Debian version essentially forked, making the Git version irrelevant? If I
start with the Git version, and it were to get accepting back into Debian,
wouldn't that erase all the extra stuff that has been added to the Debian
version that is not in the Git version (unless I find it all and re-include
it)? If I start in the Debian version and it gets accepted back into
Debian, wouldn't that make the Git version just that much more irrelevant?

I'm not even sure my questions make sense; I'm just trying to wrap my brain
around the basic process.

Thanks!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Kent West
On Sun, Mar 10, 2019 at 2:24 PM Andreas Ronnquist 
wrote:

> On Sun, 10 Mar 2019 14:14:52 -0500,
> Kent West wrote:
>
> >Example: https://packages.debian.org/sid/python3-kivy
> >
> >-
> >>
> >> dep: python3 <https://packages.debian.org/sid/python3> (<< 3.7) dep:
> >> python3 <https://packages.debian.org/sid/python3> (>= 3.5~)
> >
> >
> >The ">=" surely means "greater than or equal to", but what is "<<"?
> >"less than or less than"?
> >
> >Even more interesting is that "aptitude install python3-kivy" only
> >shows one "<" (which makes sense to me as "less than"):
> >
> >The following packages have unmet dependencies:
> >>  python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
> >>
> >
> >and in the description of the package in the aptitude console:
> >
> >Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
> >>
> >
> >It's not a typo, unless other pages have similar typos (sometimes being
> >">>" - "greater than or greater than"?).
> >
> >Also, is the answer documented somewhere? I've researched
> >unproductively for several hours.
> >
>
> Hi!
>
> It's documented in Debian policy:
> https://www.debian.org/doc/debian-policy/ch-relationships.html
>
> >The relations allowed are <<, <=, =, >= and >> for strictly earlier,
> >earlier or equal, exactly equal, later or equal and strictly later,
> >respectively.
>
> >The relations < and > were previously allowed, but they were
> >confusingly defined to mean earlier/later or equal rather than
> >strictly earlier/later. dpkg still supports them with a warning, but
> >they are no longer allowed by Debian Policy.
>
>
>
> -- Andreas Rönnquist
> mailingli...@gusnan.se
> andr...@ronnquist.net
>


Thank you! That was driving me nuts!

So essentially, aptitude's "<" is out-dated, and should be "<<", to clearly
mean "earlier than" and not "earlier than or equal to"?

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


What means "<<" in dependencies at packages.debian.org?

2019-03-10 Thread Kent West
Example: https://packages.debian.org/sid/python3-kivy

-
>
> dep: python3 <https://packages.debian.org/sid/python3> (<< 3.7) dep:
> python3 <https://packages.debian.org/sid/python3> (>= 3.5~)


The ">=" surely means "greater than or equal to", but what is "<<"? "less
than or less than"?

Even more interesting is that "aptitude install python3-kivy" only shows
one "<" (which makes sense to me as "less than"):

The following packages have unmet dependencies:
>  python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
>

and in the description of the package in the aptitude console:

Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
>

It's not a typo, unless other pages have similar typos (sometimes being
">>" - "greater than or greater than"?).

Also, is the answer documented somewhere? I've researched unproductively
for several hours.

Thanks!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: python3.7 disfunctional (was: argparse missing from libpython3.7-stdlib ?)

2019-02-22 Thread Kent West
On Fri, Feb 22, 2019 at 7:27 PM Frank Miles  wrote:

> I just upgraded my desktop from stable/stretch to testing/buster.
> I'd earlier done the same to a laptop without any problems.
> On the desktop, I get the following strange traceback :
>
> $ python3
> Python 3.7.2+ (default, Feb  2 2019, 14:31:48)
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> help()
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/usr/lib/python3.7/_sitebuiltins.py", line 102, in __call__
> import pydoc
>   File "/usr/lib/python3.7/pydoc.py", line 66, in 
> import inspect
>   File "/usr/lib/python3.7/inspect.py", line 40, in 
> import linecache
>   File "/usr/lib/python3.7/linecache.py", line 11, in 
> import tokenize
>   File "/usr/lib/python3.7/tokenize.py", line 33, in 
> import re
>   File "/usr/lib/python3.7/re.py", line 143, in 
> class RegexFlag(enum.IntFlag):
> AttributeError: module 'enum' has no attribute 'IntFlag'
> >>>
>
> I've tried reinstalling python3.7 and its library packages
> without effect.
>
> Any hints on how I might find what's causing this pathological
> behavior?  TIA!
>-Frank
>
>
Don't have a solution for you, just a data point:

kent@westk-9463:~$ python3
Python 3.7.2+ (default, Feb  2 2019, 14:31:48)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help()

Welcome to Python 3.7's help utility!

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at https://docs.python.org/3.7/tutorial/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics".  Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".

help>

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


eric Python IDE minor warnings

2019-02-16 Thread Kent West
I'm running unstable; don't know much about python or eric (an IDE for
python), just enough to maybe do a "Hello, World" or copy/paste something a
little bigger.

I did (IIRC):

aptitude upgrade
aptitude full-upgrade
aptitude install eric
aptitude install python-tk

I think all is basically working, but when I start eric, I get two warnings:

In the upper-right corner the "Code Info Provider" field is set to disabled
with a pink box beneath that says "No source code documentation provider
has been registered. This function has been disabled."

and the center lower pane says:
"Warning: translation file 'git_en_US' could not be loaded.

Using default."

Not show-stoppers, but I'd like to clear out these warnings and don't know
how to do so. Any help would be appreciated.

Thanks!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


  1   2   3   4   5   6   7   8   9   10   >