Linux News
Systemctl - sysctl - systemd
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!
LXer: Announcing Fedora Linux 39 Beta
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...
Announcing Fedora Linux 39 Beta
External display configuration - Nvidia and XFCE
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
Mouse cursor moves slow, unresponsive left clicks, when external hard drive is connected via USB.
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.
LXer: TUXEDO Announces Nano Pro Gen12 Mini Linux PC Powered by AMD Ryzen 7000U
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...
TUXEDO Announces Nano Pro Gen12 Mini Linux PC Powered by AMD Ryzen 7000U
next-20230920: linux-next
How to read and send WhatApp messages on Linux PC
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
New 'Mirrored' Network Mode Introduced in Windows Subsystem for Linux
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.
WindowsLinux Threat Report: Earth Lusca Deploys Novel SprySOCKS Backdoor in Attacks on Government Entities
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.
SecurityLinux Kernel Faces Reduction in Long-Term Support Due to Maintenance Challenges
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.
kernelHow to Install Odoo 14 on Debian Linux
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.
LXer: Long-term support for Linux kernel to be cut as maintainence remains under strain
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...
Long-term support for Linux kernel to be cut as maintainence remains under strain
How to Deploy a Secure CockroachDB Cluster on Ubuntu
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.
LXer: HP Linux Imaging and Printing Drivers Now Support Fedora 38 and Ubuntu 23.04
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...
HP Linux Imaging and Printing Drivers Now Support Fedora 38 and Ubuntu 23.04
file explorer constantly lock up when mount point cannot be found
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.
Guide to Install Django Web Framework on Debian 12
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.