Linux News

LibreOffice 7.5 Open-Source Office Suite Officially Released, This Is What’s New

LXer Linux News - Sat, 02/04/2023 - 12:41
The Document Foundation released today the LibreOffice 7.5 open-source, free, and cross-platform office suite for all supported platforms, including GNU/Linux, macOS, and Windows, to offer users new features and numerous improvements.
Categories: General News

[SOLVED] cannot auto-suspend/suspend/shutdown unless exit to root after upgrade to polkit-122 xfce, sw current, 6.1.9

Linux Questions - Sat, 02/04/2023 - 11:19
Moved my post here from desktop forum
I noticed my desktop failed to go into power saver yesterday w/ Gbus error. No big deal, as long as nobody cares the pc never suspends if left on all night. I see now power manager settings disabled when not logged in root. I reinstalled xfce4-power-manager and upower but didn't fix it. Slackware current kernel 6.1.9, xfce 4.18. I tried changing rules in /etc/polkit-1. Added user to "power" group I saw in rules nope that's not it. Cloned back to 6.1.4 and did full update back to 6.1.9 w/ exception of polkit 122 package, and no probs. Can somebody point me in the right direction..debug info below if that helps...thanks Brian

Xfce Power Manager 4.18.0

Part of the Xfce Goodies Project
http://goodies.xfce.org

Licensed under the GNU GPL.

bash-5.2$ ps -ef | grep xfce4-power-manager
user 2493 2405 0 08:18 ? 00:00:00 xfce4-power-manager --restart --sm-client-id 2e67bafa3-eb7d-4dc6-952f-53d2b54ef12b
user 3181 3160 0 08:19 pts/0 00:00:00 grep xfce4-power-manager
bash-5.2$ xfce4-power-manager -debug --no-daemon

(xfce4-power-manager:3197): xfce4-power-manager-WARNING **: 08:20:21.370: Failed to create proxy for 'org.freedesktop.PolicyKit1'

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-CRITICAL **: 08:20:21.370: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:3197): xfce4-power-manager-WARNING **: 08:20:21.370: could not map keysym 1008ffa8 to keycode


(xfce4-power-manager:3197): xfce4-power-manager-WARNING **: 08:20:21.373: Unable to inhibit systemd sleep: GDBus.Errorrg.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127

(xfce4-power-manager:3197): xfce4-power-manager-WARNING **: 08:20:21.374: Failed to get keyboard max brightness level : GDBus.Errorrg.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path �/org/freedesktop/UPower/KbdBacklight�
Categories: Software and Help

LXer: How to Install Drupal on Debian 11

Linux Questions - Sat, 02/04/2023 - 10:23
Published at LXer:

Drupal is a free, open-source content management system written in PHP. It offers a variety of modules, themes, localization in 100 different languages, auto-update notifications, etc. In this tutorial, we will install Drupal CMS on Debian 11 OS.

Read More...
Categories: Software and Help

How to Install Drupal on Debian 11

LXer Linux News - Sat, 02/04/2023 - 10:18
Drupal is a free, open-source content management system written in PHP. It offers a variety of modules, themes, localization in 100 different languages, auto-update notifications, etc. In this tutorial, we will install Drupal CMS on Debian 11 OS.
Categories: General News

How to "make modules_install" from cross-build environment to target? (ipset source package)

Linux Questions - Sat, 02/04/2023 - 10:18
Hello,
I'm trying to install the "ipset" command to a target device from a cross-build environment on my PC (Ubuntu 18.0.4 on VirtualBox hosted by Windows 11).

According to the README file included in the extracted ipset-7.17.tar.bz2 package, I need to run

% ./autogen.sh
% ./configure
% make
% make modules
% make install
% make modules_install

Under my cross-build environment (after executing "source /opt/pxc/sdk/EPC1502/2022.0/environment-setup-corei7-64-pxc-linux", it was the toolchain directory provided by the target device vendor),

* "./autogen.sh" was completed,
* "./configure --host x86_64-pxc-linux" was completed (x86_64-pxc-linux was my target prefix),
* "make" was completed,
* "make modules" was completed,
* "sudo make install DESTDIR=/tmp/mydest/" was completed, I compressed /tmp/mydest/ into mydest.tgz, put mydest.tgz into the target device by sfpt, and extracted mydest.tgz over the root directory of the target machine.

I added options "--host ~~~" of "configure" and "DESTDIR=~~~" of "make install," as it was cross-build.

Finally, I wanted to "sudo make modules_install DESTDIR=/tmp/mydest", like "make install", but it didn't work well. "INSTALL_MOD_PATH=/tmp make modules_install" failed too.

The error messages are as follows, ( "x)" is the line number of the message)

1) make -C /lib/modules/`uname -r`/build M=$PWD/kernel/net \
2) KDIR=$PWD/kernel modules_install
3) make[1]: Entering directory '/usr/src/linux-headers-5.4.0-137-generic'
4) INSTALL /home/yumoto/ipset_exp/ipset-7.17/kernel/net/netfilter/ipset/ip_set.ko
5) At main.c:160:
6) - SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
7) - SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
8) sign-file: certs/signing_key.pem: No such file or directory
(and similar messages repeated.)

Then, I have these questions,

Q1. As a result of `uname -r`, kernel version 5.4.0-137-generic was used in 3), but the target kernel was 5.4.47-rt28-pxc. Is it OK, or do I need to add something option to "make modules_install"?

Q2. From 6), 7), and 8), it seemed that I should have prepared additional files. Searching for these error messages on the Internet, I found articles about something called "sign make," but I have not understood yet.
Do I need to "apt install" additional something into my cross-build environment?

*Cross build environment is on Ubuntu 18.0.4 on VirtualBox hosted by Windows 11,
*Target device is EPC 1502 of Phoenix Contact, Yocht Linux based system with customized and patched kernel "5.4.47-rt28-pxc",
*Toolchain is PLCnext_Toolchain_Linux_2022.0.sh provided by the vendor (Phoenix Contact),
*SDK is pxc-glibc-x86_64-epc1502-image-sdk-corei7-64-epc1500-64-toolchain-2022.0.sh provided by the vendor (Phoenix Contact).

Any advice would be greatly appreciated.
Thanks.
Categories: Software and Help

Grub and UEFI, installation guide

Linux Questions - Sat, 02/04/2023 - 10:12
If anyone is interested I have installed Slackware 15 two or three times using the below guide and it all worked very well:

itkb.ro - IT knowledge base
linux :: slackware 14.2 with grub and uefi

https://www.itkb.ro/kb/linux/slackwa...-grub-and-uefi
Categories: Software and Help

5 Best Free Code Editors for Ubuntu and Other Linux

Linux Today News - Sat, 02/04/2023 - 10:00

Explore the top free code editors for Ubuntu, including features and highlights. Find the best code editor for your development needs.

The post 5 Best Free Code Editors for Ubuntu and Other Linux appeared first on Linux Today.

Categories: General News

Question about Luks encryption on my laptop.

Linux Questions - Sat, 02/04/2023 - 09:59
I am getting ready to reformat my Laptop and have decided to encrypt the whole root partition. It has been quite a few years since I used Luks so I setup a VM with EFI and grub just to do a dry run to make sure I still remember the steps. Everything went well but I do have two "best practices" questions.

1) Is it safe to auto mount my windows partition on /mnt/win10? Since my Windows partition is on a separate disk as long as I unmount it before / is encrypted at shut down then dual booting shouldn't be a problem? Or is it better to not auto mount it from /etc/fstab and just mount it manually as I need to while I am in Slackware.

2) Is it better to encrypt swap or is clearing the swap at shutdown and not encrypting it enough?

Thanks.
Categories: Software and Help

How does centos httpd configuration map on to ubuntu apache2 config ?

Linux Questions - Sat, 02/04/2023 - 09:44
system info:
Code: $ uname -a
Linux larrycotton-Latitude-E7440 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ apache2 -v
Server version: Apache/2.4.41 (Ubuntu)
Server built:  2023-01-23T18:36:09 Hi

I have an apache server configuration which I have used on centos httpd - some of which I would like to transfer accross to Ubuntu apache2. I have installed and run up a vanilla apache2 and that seems to be running fine, but I noticed the configuration structure seems to be a little different and was wondering if someone could answer some questions regarding how I can configure it (specifically to use ssl and wsgi).

1) It looks like to install the wsgi module I do:
Code: $ apt-get install libapache2-mod-wsgi When I do this I notice it installs libpython2.7 even though the default system python is 3.8. Is that because mod_wsgi is built with python 2.7 and I have to use python 2 with it ?
If so is it possible to get a version of mod_wsgi that is built against python 3.8 ? Or would I have to build that myself ?

2) It looks like in order to load a module you need to put the load statement in a file called <modname>.load in the mods-available directory. Is that correct ?

3) In my httpd config I configure my https parameters, both global and for VirtualHosts in conf.d/ssl.conf. Does anyone know what the equivalent file is for apache2 on Ubuntu ? I see there is an ssl.conf in mods-available and mods-enabled. It looks like apache2.conf includes mods-enabled and mods-enabled simply contains links to mods-available, so can I simply transfer across my httpd ssl.conf to mods-available/ssl.conf (except see Q4 below), or is different syntax required?

4) In my ssl.conf I breate a VirtualHost something like:
Listen 8443
<VirtualHost *:8443>
I notice that on Ubuntu apacher2 there is a file called ports.conf that contains Listen ports for modules. Do I need to put Listen statements for VirtualHost ports in that file ?
Categories: Software and Help

BIP 39 checksum in Tails

Linux Questions - Sat, 02/04/2023 - 09:35
Hello

I wish to compute bip39 checksums in Tails.

The process is to hash a 256 bit number in sha256.

For this to work, the hash input has to be either hex or binary. If binary, it has to allow for the full 256 bit number.

I was able to break it into 32 bytes and convert it into a 64 digit Hex string which provided the correct checksum when I clicked "hex" as the input. This worked on string-o-matic and sha256 online,

but I can't make it work in Tails.

I know NOTHING about using Linux.

I figured out

printf 92f1506311321a73a9a2a6ff6c0e89b5b90515c7afb320e5544ae1e628188a11 | sha256sum

but it's not giving the right answer, which is 96206a24d6d3b854e5ef55544c5de79476be78d6d322253a66191742fd7dc947

Tyvm in advance. Off to celebrate my daughter's 4th bday.
Categories: Software and Help

Proposed Linux Patch Allows Disabling CPU Security Mitigations at Build-Time

Slashdot - Sat, 02/04/2023 - 09:34
Phoronix reports: A proposed Linux kernel patch would provide a new Kconfig build time option of "CONFIG_DEFAULT_CPU_MITIGATIONS_OFF" to build an insecure kernel if wanting to avoid the growing list of CPU security mitigations within the kernel and their associated performance overhead. While risking system security, booting the Linux kernel with the "mitigations=off" option has been popular for avoiding the performance costs of Spectre, Meltdown, and the many other CPU security vulnerabilities that have come to light in recent years. Using mitigations=off allows run-time disabling of the various in-kernel security mitigations for these CPU problems. A patch proposed this week would provide CONFIG_DEFAULT_CPU_MITIGATIONS_OFF as a Kconfig switch that could optionally be enabled to have the same affect as mitigations=off but to be applied at build-time to avoid having to worry about setting the "mitigations=off" flag.

Read more of this story at Slashdot.

Categories: General News

The best SBC out there? Graphics?

Linux Questions - Sat, 02/04/2023 - 08:24
I hope this thread keeps getting updated by people who read more than I do.

When I bought my RazPi 4, it was probably the best SBC out there at reasonable money. It had 4 A-72 arm 64bit cores, and offered 2x4k displays @60Hz. That was a trap, because their "approved" OS performed well in graphics, but every other distro sucked and is flat out playing 1 hdmi monitor, never mind 2 4k monitors. I gather the closed source driver is not being released. (Thank you, Broadcom - not!).

Now, it seems the Orange Pi 5 might be best, but I have no idea about graphics Further, the A-72 is not a hyperthreaded core, so it's 1 core, 1 thread. The Orange Pi again has high graphics spec. I haven't heard of a driver for whatever Mali GPU it has.

Am I alone in wanting community GPU drivers? I'll take Nvidia's way. But a graphics driver will be a big component of my next sbc.
Categories: Software and Help

LXer: elementary OS 7 Takes Its Place Among the Best Linux Desktops

Linux Questions - Sat, 02/04/2023 - 08:11
Published at LXer:

After more than a year since the last stable 6.1 release, elementary OS 7, codenamed �Horus,� is here as one of the best Linux desktop distributions. So let�s see what this new release has in store for us.

Read More...
Categories: Software and Help

elementary OS 7 Takes Its Place Among the Best Linux Desktops

LXer Linux News - Sat, 02/04/2023 - 07:55
After more than a year since the last stable 6.1 release, elementary OS 7, codenamed “Horus,” is here as one of the best Linux desktop distributions. So let’s see what this new release has in store for us.
Categories: General News

How much SSD�s are optimum for an ASRock AMD DeskMini X300?

Linux Questions - Sat, 02/04/2023 - 05:57
I�m about to just plan for 2 � 1.82 TiB of 2 Samsung 970+ NVMe SSD�s, an 931GiB Samsung QVO 2.5�� SSD, and an 894GiB Intel 2.5�� SSD
My main use is including heavy retro gaming, heavy virts, slight to medium modern gaming, heavy wallpaper enlargements to 5K PNG ...
Regular YTube post-products, and medium revivals of rescued-to-be-revived video pieces whose individual avg size is about 3GiB
Under 64GB DDR4 RAM�s whose 16GB will be in use for APU Radeon, does the setting feels good?
Categories: Software and Help

LXer: How to Secure your Raspberry Pi

Linux Questions - Sat, 02/04/2023 - 05:42
Published at LXer:

A secure Raspberry Pi is a safe Raspberry Pi. Here's how to keep unwanted guests from ruining your Pi-based IoT projects.

Read More...
Categories: Software and Help

How to Secure your Raspberry Pi

LXer Linux News - Sat, 02/04/2023 - 05:32
A secure Raspberry Pi is a safe Raspberry Pi. Here's how to keep unwanted guests from ruining your Pi-based IoT projects.
Categories: General News

Current kernel headers

Linux Questions - Sat, 02/04/2023 - 05:23
The kernel headers are much improved, thank you.

They now compiled box64-aarch64-git with no issues, whereas I had major header problems with box64 previously.

X86_64 dropped use of the /usr/include/asm directory a few years ago now, but it is alive and well in the Arm headers and fed by some 'asm/' directories nested down in odd places.

If anyone else is compiling box64 for zoom, I would suggest zoom-5.9.x or earlier, unless you need the latest features. That uses about 2G of ram. 5.10.x uses nearly 4G of ram, as Dynarec (part of box64) prepares to emulate various unnecessary libs. Each succeeding version is worse. Zoom inc has been throwing unnecessary features at their app like confetti at a wedding but I've never seen any of them used. Especially if you're embarassed for ram, stick with 5.9.x.
Categories: Software and Help

Horizontal roving lines on my monitor on linux distros

Linux Questions - Sat, 02/04/2023 - 04:06
I am having horizontal roving lines on my monitor all the time. When I set nomodeset parameter, that is only when the lines disappear, but the resolution changes to 800x600 which is bad and also nomodeset is just a temporary workaround since It disables the GPU hardware acceleration. I read that I need to adjust the 'hskew' value in xorg configuration file. Please help me how to do it
Categories: Software and Help

[Newsreader Pan] Cancellation and Supersede impossible

Linux Questions - Sat, 02/04/2023 - 03:59
Good morning

I am unable to cancel my own postings in Pan. Having posted to a test-group, trying to cancel the article produces an error
Unable to cancel article – The article doesn't match any of your posting profiles

Supersedes produce the same behavior.

Searching for the error or other discussion of similar problems produces no result for the time.

It may be related or not that Pan appears to not be aware of my only “posting profile”, sometimes: Occasionally it claims that there were no news-server specified for the profile, while it is. In these cases it is sufficient to open the profile and to confirm with Apply.

Needless to say, this procedure does not help in case of a refused cancellation or supersede.

Also.., I noticed that some details of the configuration got overwritten with each program session. My current solution is to write-protect the configuration file.

While I do not see it right now, I suspect that this write-protection is responsible for the cancel/supersede trouble. Do you have an idea, where I shall look?

For information to those who may not know Pan, the configuration is this:
Code: eddy@eagle:~/.pan2$ ls
accels.txt      encode-cache          newsgroups.dsc  newsrc-1  posting.xml      ssl_certs
article-cache  group-preferences.xml  newsgroups.xov  newsrc-2  preferences.xml  tasks.nzb
article-drafts  groups                newsgroups.ynm  newsrc-3  servers.xml
Categories: Software and Help

Pages