Linux News

Systemctl - sysctl - systemd

Linux Questions - Wed, 09/20/2023 - 02:31
Hi!


I have seen many ways to manage services in Ubuntu. Such as Systemctl - sysctl - systemd - /etc/init.d scripts and so on.


Some of them seem to work always, whereas some not.


�What is the difference among them all?


Thanks!
Categories: Software and Help

LXer: Announcing Fedora Linux 39 Beta

Linux Questions - Wed, 09/20/2023 - 01:04
Published at LXer:

The Fedora Linux 39 Beta is available! Check it out to get a preview of the Fedora Linux 39 final release that is planned for October.

Read More...
Categories: Software and Help

Announcing Fedora Linux 39 Beta

LXer Linux News - Wed, 09/20/2023 - 01:00
The Fedora Linux 39 Beta is available! Check it out to get a preview of the Fedora Linux 39 final release that is planned for October.
Categories: General News

External display configuration - Nvidia and XFCE

Linux Questions - Tue, 09/19/2023 - 23:15
I have a problem with external display connected to my laptop. It displays "no-signal" warning.

I use DELL G15 5520-6600 laptop with Dell P2419H display. I use XFCE.

Below is my GPU info
Code: jan@jan:~$ lspci | grep VGA
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Mobile] (rev a1) nvidia-detect has suggested me to install nvidia-driver, but I got problems (after installation)
Code: jan@jan:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running I think my GPU supports optimus, but I'm not entirely sure. I have a problem with this site: https://www.nvidia.com/en-us/geforce...upported-gpus/
I tried to install bumblebee like that.
Code: sudo apt install bumblebee-nvidia primus-nvidia primus-vk-nvidia Also below is my xrandr ouput:
Code: jan@jan:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
  1920x1080    120.21*+  59.97    59.96    60.21    59.93
  1680x1050    59.95    59.88
  1400x1050    74.76    59.98
  1600x900      59.99    59.94    59.95    59.82
  1280x1024    85.02    75.02    60.02
  1400x900      59.96    59.88
  1280x960      85.00    60.00
  1440x810      60.00    59.97
  1368x768      59.88    59.85
  1280x800      59.99    59.97    59.81    59.91
  1152x864      75.00
  1280x720      60.00    59.99    59.86    59.74
  1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00
  1024x768i    86.96
  960x720      85.00    75.00    60.00
  928x696      75.00    60.05
  896x672      75.05    60.01
  1024x576      59.95    59.96    59.90    59.82
  960x600      59.93    60.00
  832x624      74.55
  960x540      59.96    59.99    59.63    59.82
  800x600      85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25
  840x525      60.01    59.88
  864x486      59.92    59.57
  700x525      74.76    59.98
  800x450      59.95    59.82
  640x512      85.02    75.02    60.02
  700x450      59.96    59.88
  640x480      85.09    60.00    85.01    72.81    75.00    59.94
  720x405      59.51    58.99
  720x400      85.04
  684x384      59.88    59.85
  640x400      59.88    59.98    85.08
  576x432      75.00
  640x360      59.86    59.83    59.84    59.32
  640x350      85.08
  512x384      85.00    75.03    70.07    60.00
  512x384i      87.06
  512x288      60.00    59.92
  416x312      74.66
  480x270      59.63    59.82
  400x300      85.27    72.19    75.12    60.32    56.34
  432x243      59.92    59.57
  320x240      85.18    72.81    75.00    60.05
  360x202      59.51    59.13
  360x200      85.04
  320x200      85.27
  320x180      59.84    59.32
  320x175      85.27
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis) I don't know how to read it... Is my external display detected or not?



Thanks for your help in advance!
Jan
Categories: Software and Help

Mouse cursor moves slow, unresponsive left clicks, when external hard drive is connected via USB.

Linux Questions - Tue, 09/19/2023 - 23:13
OS is Ubuntu 22.0 LTS.
Asus Z87 Plus Motherboard for 4th gen (2013) Core CPUs; features UEFI-Bios.
32 GB RAM.

This happened quite recently. The SATA hard drive is connected to USB adapter utilizing hotplug.

Even after unmounting the drive, it requires I physically unplug the USB cable from the motherboard, to get the mouse cursor to behave normally.
Categories: Software and Help

LXer: TUXEDO Announces Nano Pro Gen12 Mini Linux PC Powered by AMD Ryzen 7000U

Linux Questions - Tue, 09/19/2023 - 22:54
Published at LXer:

TUXEDO Computers announced today the 12th generation (Gen12) of the Nano Pro mini PC with upgraded internals, improved connectivity, and more efficient computing.

Read More...
Categories: Software and Help

TUXEDO Announces Nano Pro Gen12 Mini Linux PC Powered by AMD Ryzen 7000U

LXer Linux News - Tue, 09/19/2023 - 22:43
TUXEDO Computers announced today the 12th generation (Gen12) of the Nano Pro mini PC with upgraded internals, improved connectivity, and more efficient computing.
Categories: General News

next-20230920: linux-next

Linux Kernel - Tue, 09/19/2023 - 22:35
Version:next-20230920 (linux-next) Released:2023-09-20
Categories: Linux Kernel

How to read and send WhatApp messages on Linux PC

Linux Questions - Tue, 09/19/2023 - 22:25
Hi all,

I expect to read/send messages from Whatsapp account of my mobile phone on my Linux PC, but without the mobile phone turning ON (not remote Desktop)

There are many suggestions on Internet.

Linux OS: Linuxmint or Ubuntu

Please advise. Thanks in advance.

Regards
Categories: Software and Help

New 'Mirrored' Network Mode Introduced in Windows Subsystem for Linux

Linux Journal - Tue, 09/19/2023 - 21:59

Microsoft's Windows Subsystem for Linux (WSL) continues to evolve with the release of WSL 2 version 0.0.2. This update introduces a set of opt-in preview features designed to enhance performance and compatibility.

Key additions include "Automatic memory reclaim" which dynamically optimizes WSL's memory footprint, and "Sparse VHD" to shrink the size of the virtual hard disk file. These improvements aim to streamline resource usage.

Additionally, a new "mirrored networking mode" brings expanded networking capabilities like IPv6 and multicast support. Microsoft claims this will improve VPN and LAN connectivity from both the Windows host and Linux guest. 

Complementing this is a new "DNS Tunneling" feature that changes how DNS queries are resolved to avoid compatibility issues with certain network setups. According to Microsoft, this should reduce problems connecting to the internet or local network resources within WSL.

Advanced firewall configuration options are also now available through Hyper-V integration. The new "autoProxy" feature ensures WSL seamlessly utilizes the Windows system proxy configuration.

Microsoft states these features are currently rolling out to Windows Insiders running Windows 11 22H2 Build 22621.2359 or later. They remain opt-in previews to allow testing before final integration into WSL.

By expanding WSL 2 with compelling new capabilities in areas like resource efficiency, networking, and security, Microsoft aims to make Linux on Windows more performant and compatible. This evolutionary approach based on user feedback highlights Microsoft's commitment to WSL as a key part of the Windows ecosystem.

Windows
Categories: General News

Linux Threat Report: Earth Lusca Deploys Novel SprySOCKS Backdoor in Attacks on Government Entities

Linux Journal - Tue, 09/19/2023 - 21:57

The threat actor Earth Lusca, linked to Chinese state-sponsored hacking groups, has been observed utilizing a new Linux backdoor dubbed SprySOCKS to target government organizations globally. 

As initially reported in January 2022 by Trend Micro, Earth Lusca has been active since at least 2021 conducting cyber espionage campaigns against public and private sector targets in Asia, Australia, Europe, and North America. Their tactics include spear-phishing and watering hole attacks to gain initial access. Some of Earth Lusca's activities overlap with another Chinese threat cluster known as RedHotel.

In new research, Trend Micro reveals Earth Lusca remains highly active, even expanding operations in the first half of 2023. Primary victims are government departments focused on foreign affairs, technology, and telecommunications. Attacks concentrate in Southeast Asia, Central Asia, and the Balkans regions. 

After breaching internet-facing systems by exploiting flaws in Fortinet, GitLab, Microsoft Exchange, Telerik UI, and Zimbra software, Earth Lusca uses web shells and Cobalt Strike to move laterally. Their goal is exfiltrating documents and credentials, while also installing additional backdoors like ShadowPad and Winnti for long-term spying.

The Command and Control server delivering Cobalt Strike was also found hosting SprySOCKS - an advanced backdoor not previously publicly reported. With roots in the Windows malware Trochilus, SprySOCKS contains reconnaissance, remote shell, proxy, and file operation capabilities. It communicates over TCP mimicking patterns used by a Windows trojan called RedLeaves, itself built on Trochilus.

At least two SprySOCKS versions have been identified, indicating ongoing development. This novel Linux backdoor deployed by Earth Lusca highlights the increasing sophistication of Chinese state-sponsored threats. Robust patching, access controls, monitoring for unusual activities, and other proactive defenses remain essential to counter this advanced malware.

The Trend Micro researchers emphasize that organizations must minimize attack surfaces, regularly update systems, and ensure robust security hygiene to interrupt the tactics, techniques, and procedures of relentless threat groups like Earth Lusca.

Security
Categories: General News

Linux Kernel Faces Reduction in Long-Term Support Due to Maintenance Challenges

Linux Journal - Tue, 09/19/2023 - 21:49

The Linux kernel is undergoing major changes that will shape its future development and adoption, according to Jonathan Corbet, Linux kernel developer and executive editor of Linux Weekly News. Speaking at the Open Source Summit Europe, Corbet provided an update on the latest Linux kernel developments and a glimpse of what's to come.

A major change on the horizon is a reduction in long-term support (LTS) for kernel versions from six years to just two years. Corbet explained that maintaining old kernel branches indefinitely is unsustainable and most users have migrated to newer versions, so there's little point in continuing six years of support. While some may grumble about shortened support lifecycles, the reality is that constantly backporting fixes to ancient kernels strains maintainers.

This maintainer burnout poses a serious threat, as Corbet highlighted. Maintaining Linux is largely a volunteer effort, with only about 200 of the 2,000+ developers paid for their contributions. The endless demands on maintainers' time from fuzz testing, fixing minor bugs, and reviewing contributions takes a toll. Prominent maintainers have warned they need help to avoid collapse. Companies relying on Linux must realize giving back financially is in their interest to sustain this vital ecosystem. 

The Linux kernel is also wading into waters new with the introduction of Rust code. While Rust solves many problems, it also introduces new complexities around language integration, evolving standards, and maintainer expertise. Corbet believes Rust will pass the point of no return when core features depend on it, which may occur soon with additions like Apple M1 GPU drivers. Despite skepticism in some corners, Rust's benefits likely outweigh any transition costs.

On the distro front, Red Hat's decision to restrict RHEL cloning sparked community backlash. While business considerations were at play, Corbet noted technical factors too. Using older kernels with backported fixes, as RHEL does, risks creating divergent, vendor-specific branches. The Android model of tracking mainline kernel dev more closely has shown security benefits. Ultimately, Linux works best when aligned with the broader community.

In closing, Corbet recalled the saying "Linux is free like a puppy is free." Using open source seems easy at first, but sustaining it long-term requires significant care and feeding. As Linux is incorporated into more critical systems, that maintenance becomes ever more crucial. The kernel changes ahead are aimed at keeping Linux healthy and vibrant for the next generation of users, businesses, and developers.

kernel
Categories: General News

How to Install Odoo 14 on Debian Linux

Linux Today News - Tue, 09/19/2023 - 21:00

In this tutorial, we will show you how to install the ERP software Odoo 14 on a Debain system with Nginx and Let’s Encrypt SSL.

The post How to Install Odoo 14 on Debian Linux appeared first on Linux Today.

Categories: General News

LXer: Long-term support for Linux kernel to be cut as maintainence remains under strain

Linux Questions - Tue, 09/19/2023 - 20:30
Published at LXer:

The Open Source Summit provides an update on what[he]#039[/he]s new in the Linux kernel? and where it[he]#039[/he]s going from here.

Read More...
Categories: Software and Help

Long-term support for Linux kernel to be cut as maintainence remains under strain

LXer Linux News - Tue, 09/19/2023 - 20:25
The Open Source Summit provides an update on what[he]#039[/he]s new in the Linux kernel? and where it[he]#039[/he]s going from here.
Categories: General News

How to Deploy a Secure CockroachDB Cluster on Ubuntu

Linux Today News - Tue, 09/19/2023 - 19:00

In this tutorial, we will show you how to set up a three-node CockroachDB cluster on an Ubuntu server for building scalable cloud services.

The post How to Deploy a Secure CockroachDB Cluster on Ubuntu appeared first on Linux Today.

Categories: General News

LXer: HP Linux Imaging and Printing Drivers Now Support Fedora 38 and Ubuntu 23.04

Linux Questions - Tue, 09/19/2023 - 18:10
Published at LXer:

The HP Linux Imaging and Printing (HPLIP) drivers have been updated to version 3.23.8, a release that adds support for recent Ubuntu, Fedora, and openSUSE distributions, as well as support for new HP printers.

Read More...
Categories: Software and Help

HP Linux Imaging and Printing Drivers Now Support Fedora 38 and Ubuntu 23.04

LXer Linux News - Tue, 09/19/2023 - 18:08
The HP Linux Imaging and Printing (HPLIP) drivers have been updated to version 3.23.8, a release that adds support for recent Ubuntu, Fedora, and openSUSE distributions, as well as support for new HP printers.
Categories: General News

file explorer constantly lock up when mount point cannot be found

Linux Questions - Tue, 09/19/2023 - 17:54
Anytime I switch networks, when I open a file dialog to open a file or save, whatever application I'm using locks up indefinitely. I believe it is caused by the file dialog/window not being able to open the mount point that no longer exists.

Even if I umount /directory the file dialog still thinks it's there because it's in memory from the last time I opened it.

I can only surmise that this is a hardcoded bug and I'm wondering how to submit this for review. I suppose it's possible there is some switch or setting inside the kernel that addresses this problem?

Ok, so I try 'sudo umount /directory' the terminal locks up. CTRL+C doesn't force quit, and return sends the cursor to a new line.
Categories: Software and Help

Guide to Install Django Web Framework on Debian 12

Linux Today News - Tue, 09/19/2023 - 17:00

In this guide, we will show you how to install the free and open-source Python Web Framework Django on a Debian 12 server.

The post Guide to Install Django Web Framework on Debian 12 appeared first on Linux Today.

Categories: General News

Pages