Questions tagged [linux]

These questions are about Linux in general – NOT specific to a particular distribution.  If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the “linux” tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Remove all lines after line contains?

I have a script which I want to delete every line after a specific line. I have a command, but it just wipes the entire file? sed -n '/twm &/q;p' ~/.xinitrc > ~/.xinitrc Convert something like: ...
AAA's user avatar
  • 101
0 votes
0 answers
6 views

CentOS Stream 9 image has predictable interface naming disabled

I'm using a qcow2 image from here. Note the net.ifnames=0 cat /proc/cmdline BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.14.0-366.el9.x86_64 root=UUID=<uuid> ro console=ttyS0,115200n8 no_timer_check ...
user avatar
1 vote
0 answers
18 views

Is it possible to limit the accessible fonts for some GUI (GTK) program?

Because of different reasons, it is useful to limit particular program from accessing all installed in the system fonts. For example, some programs works very slow when big amount of fonts are ...
johnfound's user avatar
  • 283
0 votes
0 answers
11 views

How can i fix dropbear-initramfs filtrated port on boot?

I have installed dropbear-initramfs (last version) on my physical server but it works on random, when i restart it, the port i set can be open or filtrated. I red a lot about it and found out that it ...
danny's user avatar
  • 1
-1 votes
0 answers
37 views

How to rename large number of randomly named file at one go?

In a directory I have large number of randomly named '.wav' files. For example 090913yui.wav jiyafa123.wav . . . awe-6rt.wav I want to change the file names to file1.wav file2.wav . . and so on Can ...
Turing101's user avatar
  • 147
0 votes
0 answers
20 views

Ethernet controller is sometimes not listed in lspci

I am using a CPU Board PCE-3029G2-00A1E from Advantech and I am facing an issue. Sometimes (not always) one of my ethernet controller is not detected by the system (not listed by lspci command). This ...
Rayon Magique's user avatar
0 votes
0 answers
12 views

How to rename connected computer monitors in linux using wayland?

I have two identical computer monitors, both from the same manufacturer, with matching models and revisions. These monitors are connected to a Thunderbolt 4 docking station via DisplayPort, and the ...
Simon Schürg's user avatar
0 votes
0 answers
41 views

Deleting Error on Debian 12

I recently installed Debian 12 for Raspberry Pi and configured a Samba server. But now when I delete a file or a folder over the network I get an error, Samba object not found and then the file or ...
Neha's user avatar
  • 1
0 votes
1 answer
34 views

linux ls -l ACL +, . , gap How to make gap

drwxr-xr-x+ 4 root root 4096 Sep 21 04:00 test << + drwxrwxrwt. 10 root root 250 Sep 21 04:03 tmp drwxr-xr-x. 12 root root 144 Sep 19 03:42 usr << . drwxr-xr-x. 20 root ...
박용원's user avatar
0 votes
1 answer
12 views

How to launch a screen session and run an application with a specified terminal size

I'm trying to use an old application that has a fixed screen size and really can't adapt to a different screen size. It looks like the screen command should be able to do this, but I can't figure out ...
Joshua's user avatar
  • 1,745
0 votes
0 answers
19 views

Windows not reporting correct used and available disk space on Samba server with ZFS

I have a Samba server running ZFS in Linux. It is a standard by-the-book install with no special configuration. Each share is mapped to their own ZFS dataset, but not all datasets have their own ...
MacroTradition's user avatar
0 votes
0 answers
20 views

What needs to be done, based on the following to correct the system failures in order to successfully boot into the system?

After pressing Fedora, boot device in UEFI BOOT, then selecting the kernel, Fedora Linux (5.19.16-200.fc36.x86_64) 36 (Workstation Edition), during boot the output is: [FAILED] Failed to start ...
Alfredm's user avatar
0 votes
0 answers
21 views

Questions on analyzing memory leakage with pmap in Linux

I am working on an embedded Linux system (kernel-5.24.0). And I amm trying to identify a memory leakage of an application, so I chose to use pmap to check the anonymous memory of the application (...
wangt13's user avatar
  • 327
0 votes
2 answers
36 views

Compute checksum of a partition inside an image file

An external USB flash drive containing 2 partitions is connected to my Raspberry Pi. I want to dd an image file to this external flash drive if the first partition on the flash drive is not the same ...
fdamien12's user avatar
0 votes
0 answers
17 views

Route bridge traffic thru a specific interface in my KVM server

My setup is as depicted in the image. My VMs sit on both virtual subnets. Currently, all traffic from both virtual subnets flows thru ens1 since that is the primary interface with a route metric of ...
Mayur Raol's user avatar
1 vote
1 answer
110 views

What is parsing/applying /etc/fstab entries

According to manual I thought that systemd-remount-fs.service is responsible for parsing and applying /etc/fstab entries. So I tried to test it: I removed ExecStart part (ExecStart=/lib/systemd/...
SAMPro's user avatar
  • 217
0 votes
0 answers
18 views

How to add linux-rt and linux-rt-lts to bootloader on Arch Linux?

Below is the list of linux packages installed on my Arch system. $ pacman -Qsq 'linux' | grep -E '^linux*' linux linux-api-headers linux-firmware linux-hardened linux-hardened-headers linux-headers ...
qvv53745's user avatar
0 votes
0 answers
15 views

The network icon in debian system taskbar is missing

Operating System: Debian Bookworm stable Desktop Environment: Xfce I have Debian with all the latest updates installed. After installing software like qemu-system, virt-manager, and bridge-utils, I ...
matome's user avatar
  • 1
0 votes
0 answers
7 views

Monitoring usage for nvidia switchable graphics card without keeping it awake

I am attempting to build a graphics card monitor (temp, mem%, utilization, etc) for a system with switchable graphics on Linux. TLDR: Because I have an Ampere dGPU with runtime D3 (RTD3), the monitor ...
petrucci4prez's user avatar
0 votes
1 answer
17 views

Can I disable congestion Control in QUIC in linux?

I want to know if I can somehow disable congestion control in QUIC.
Mikey's user avatar
  • 1
1 vote
0 answers
22 views

Gnome installation on Debian 12 fails [duplicate]

When i start the PC the graphical desktop ( gnome ) does not start. If run startx the PC crash and i need to reboot it. Looking at the apt log i found that something have uninstalled my gnome package: ...
DanieleGrassini's user avatar
0 votes
1 answer
16 views

How to parametrize Linux kernel boot to entirely miss any video?

I am trying to boot a linux kernel without switching to any vga mode. So, I only want the character display. Can I somehow do that? Actually, some like a vga=off or similar would be pretty okay.
peterh's user avatar
  • 9,541
0 votes
0 answers
15 views

Environment variable explicitly set on /etc/profile is lost on Arch

This was my /etc/profile before I modified it. $ cat /etc/profile # /etc/profile # Append "$1" to $PATH when not already in. # This function API is accessible to scripts in /etc/profile.d ...
du578110's user avatar
0 votes
0 answers
15 views

USB Gadget Size Limitation - Mass Storage Emulation

I'm facing a challenge with my Raspberry Pi 4 and software setup. The Pi connects to my server to download a weekly-updated database. The problem arises from the Mass Storage Gadget's CD emulator, ...
Christos Galanopoulos's user avatar
0 votes
0 answers
22 views

Linux crashes after resume from suspend

My Linux crashes after it wakes up from sleep mode, namely, it stops responding to any commands, at the moment I have Manjaro Linux, but there was a similar problem on Ubuntu. My laptop: Huawei Mate ...
zoodle's user avatar
  • 1
0 votes
0 answers
31 views

root can log in to centOS use xshell ,but otherusers can't

Details are as follows: [root@hadoop102 hadoop]# ssh atguitu@hadoop103 atguitu@hadoop103's password: Permission denied, please try again. atguitu@hadoop103's password: I want log in centOS use ...
Luke's user avatar
  • 1
1 vote
0 answers
30 views

How to re-create a partition for which I know the old UUID, start location, and size?

I have a LUKS encrypted logical volume which is spread across two physical drives. I use the Qubes OS. The first drive is fine. I did a whoopsie with the partition table of the second drive. But the ...
user3119487's user avatar
-2 votes
0 answers
42 views

reason why microsoft's windows freezes after reinstall from linux [closed]

so for a good year or so, I have been using a Debian-based distribution (parrot OS) rather than the preinstalled windows, no problems there. but then I decided to switch back to Windows as I felt it ...
xoity's user avatar
  • 1
0 votes
0 answers
24 views

Why is balance-alb considered an invalid mode for high availability in a multi-switch topology?

In the Linux Ethernet Bonding Driver HOWTO, section 11.2 describes a multi-switch topology for high availability, including a nice ASCII art diagram of such a setup that involves two switches with an ...
kdt's user avatar
  • 1
0 votes
0 answers
26 views

scp -O (legacy protocol) option per config file?

I basically have the same problem as described (and solved) here: https://stackoverflow.com/questions/74311661/subsystem-request-failed-on-channel-0-scp-connection-closed-macbook This is: scp to some ...
Heiko Finzel's user avatar
1 vote
2 answers
21 views

Error when installing docker on Xubuntu 20.04 Focal Fossa

I tried to install docker with this command, sudo apt install docker-ce docker-ce-cli containerd.io And it returns this error: the following packages have unmet dependencies: containerd.io : Depends: ...
Jacky001's user avatar
0 votes
0 answers
20 views

How to resize/transform touchscreen area with Wayland

I have an external monitor connected to a machine with a built-in touchscreen display. When setting a 16:10 external display to mirror the 16:9 touchscreen display, we get black bars on the ...
jonathanf's user avatar
0 votes
1 answer
19 views

How to install OBS studio on Arch Linux without flatpak?

I am trying to install OBS studio using the standard Arch Linux repository instead of Flatpak. First I visited the Github page to find dependencies. xserver-xorg version 1.18.4 or newer is ...
wpt19368's user avatar
-4 votes
0 answers
43 views

Je n'arrive pas à me reconnecter sur mon vps après une réinitialisation de celui ci [closed]

Voici ce que dit quand j'essaye de me connecter en ssh root@IP @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@...
Marvyn Davre's user avatar
0 votes
0 answers
29 views

When copying files from Android to Linux via mtp datetime unadvertently changes by diffrence of mobile's and Linux time zones

There was a question asked in 2013 How do I transfer files between Android and Linux over USB?. Updated answer dated 2018 states that mtp works: it seems most Linux distros are now working with MTP ...
Alex Martian's user avatar
0 votes
0 answers
18 views

Network bridge between Termux and Alpine Linux QEMU

I have an Android phone with Termux. Using Termux I downloaded Alpine Linux x86 QEMU. The problem: Other devices on the network cannot ping and communicate with the Alpine Linux QEMU. So that's why I ...
Praveesh Ramroop's user avatar
-2 votes
0 answers
60 views

Possible missing firmware nvidia while installing in kali linux

so i skimmed through Google but couldn't understand whats happening this keeps giving me error, somebody please help W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_ahesasc.bin ...
boom's user avatar
  • 1
1 vote
0 answers
11 views

iSCSI LIO target - how to resize lun?

What are the steps to resize a lun which is currently attached to an initiator? I mostly interested to know how to do that for file-based luns.
Jiri B's user avatar
  • 521
0 votes
0 answers
14 views

How to fix Parrot OS Installation interrupt? - common_interrupt: 1.55 No irq handler for vector

I was trying to install Parrot OS installation. But it appears the interrupt message if I install and it will stuck on the terminal I already Flashed parrot os using balena etcher and after that I ...
Serella's user avatar
0 votes
0 answers
27 views

Privilege escalation

I am trying to escalate privilege on a system and sudo -l is giving me the following results User daemon may run the following commands on OptiPlex: (root) NOPASSWD: /usr/bin/esudo-properties I ...
Anonymous's user avatar
0 votes
0 answers
25 views

Cannot setup 2 Wireguard interfaces using SystemD

I have a Linux machine running Linux Kernel 5.15 with SystemD. I want to setup 2 Wireguard interfaces using the standard [email protected] SystemD service files. I have 2 wgX.conf ( wg0.conf and ...
PhilBot's user avatar
  • 69
0 votes
0 answers
15 views

how to install missing python modules offline without managers

nightmare scenario here. i have a device running embedded OS (Custom Linux buildroot). it is offline and has NO package manager (apt, yum, et al.) and python has several missing modules, one of ...
WhiteRau's user avatar
  • 213
0 votes
1 answer
24 views

Libvirtd/Qemu routed network mode problem with two virtual networks

I have a persistent problem with my virtual machine host. Host machine rebooted recently and after that one out of the two virtual networks stopped working. The network topology that I have is a /26 ...
user2771538's user avatar
0 votes
0 answers
25 views

CPU Operational Load on WSL slows down entire computer

I'm running a Dell XPS15 with 64 GB Ram and a i7-12700H (6 performance cores, 8 efficency cores). I just recently (read: 2 weeks ago) did a clean upgrade and reinstall to Windows 11 with all up-to-...
Joe's user avatar
  • 101
-1 votes
0 answers
33 views

apt update command does not work on debian [duplicate]

I'm trying to upgrade my debian from 9.13 to 11, when I tried to execute apt update cmd, I got this error : my sources.list file : could you help pleaes to override this issue ? I have tried to ...
lab innov's user avatar
0 votes
0 answers
23 views

Unable to access GPIOs on Intel Alder Lake CPU

I have a motherboard with an Alder Lake CPU on it (i9-12900E). I'm trying to access the GPIO pins on the motherboard using libgpiod. After I boot linux, I have no /dev/gpiochipX entries. When I run ...
bcattle's user avatar
  • 121
-1 votes
1 answer
53 views

creating hard links Linux question [duplicate]

From the book The Linux Command Line by William Shotts, page 33: So now we have four instances of the file fun. Let's take a look at our playground directory. [me@linuxbox playground]$ ls -1 total 16 ...
Guilherme Woolley's user avatar
1 vote
0 answers
32 views

ELF section to segment mapping and RWX rights

I have a classic "Hello world" C program built on Linux with gcc. The segments and sections in the built binary look like this: Program Headers: Type Offset VirtAddr ...
mrn's user avatar
  • 149
0 votes
1 answer
29 views

Enable TLS on BIND9

I am trying to enable TLS on my BIND server (9.19.16) which is otherwise working fine. When I add the following code to enable TLS, then my BIND server does not start. named.conf: tls local-tls { ...
M9A's user avatar
  • 101
4 votes
1 answer
207 views

Why does my system heavily use swap when there are 86 GB of RAM still usable?

This is not so much a performance problem as it is a desire to understand what is happening and how it works. I have a system with lots of resources, including 128 GB of RAM. What I have discovered (...
Freedom_Ben's user avatar
  • 4,364

1
2 3 4 5
762