Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

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

How to use zsh in flatpak vscode

I have Visual Studio Code installed in flatpak, I run it with: flatpak run --command=sh com.visualstudio.code I want to change the shell to zsh, but I can't find how to, I tried multiple thing in my ...
user avatar
0 votes
0 answers
9 views

Not able to install gnome-shell-browser-plugin in CentOS-7

I am completely new to linux and trying to learn it. I installed latest centOS-7 in virtual box and tried to install gnome-shell-browser-plugin as it is required for gnome extensions, I was installing ...
user avatar
0 votes
1 answer
8 views

How am I supposed to set up Evolution for local email sending using Postfix?

I want to be able to use Postfix and Evolution to send email between users of my laptop! I have Postfix set up as a Local Only mail server, and have the domain named as penguin.local. Is there a way ...
user avatar
1 vote
0 answers
11 views

AlliedVision ALVIUM 1800 U-040c not showing as /dev/video0

I have the camera in object connected through USB to my PC (Core i3 with Ubuntu 20.04). dmesg shows me that the camera is correctly connected: [ 2.116714] usb 2-1.2: new SuperSpeed USB device ...
user avatar
0 votes
0 answers
11 views

How exactly does one flash GNU/Linux onto a smartphone? Is it necessary to run Linux on top of Android? [closed]

TL; DR: How exactly does one flash a GNU/Linux distribution onto a smartphone? Is it necessary to run Linux on top of Android? I would prefer to flash Linux directly onto it, but if that is a ...
user avatar
  • 1
0 votes
0 answers
10 views

How to access Grub in hidden mode by holding shift during boot process?

I'm using Grub-efi with this /etc/default/grub GRUB_DEFAULT="Debian GNU/Linux" GRUB_TIMEOUT="0" GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`" ...
user avatar
  • 1
0 votes
0 answers
10 views

How to mount a cifs Partition for docker-compose?

I want docker-compose to mount one of the volumes to a mounted CIFS partition. I used the seafile docker-compose file and changed the volumes to ... db: ... volumes: - /mnt/nas_share/...
user avatar
  • 223
1 vote
1 answer
56 views

Make Thunderbird request certificate on port 993, not 443

I am trying to create a certificate exception in Thunderbird, for a specific server <servername> (I am specifically asking not to be lectured about how it would be better to have an acceptable ...
user avatar
0 votes
0 answers
13 views

Removing Duplicate from File

I have two files fileA and fileb FILEA 1.1.1.1 2.2.2.2 3.3.3.3 4.4.4.4 5.5.5.5 FILEB 4.4.4.4 2.2.2.2 Output should be 1.1.1.1 3.3.3.3 5.5.5.5 Size of File A is around 60GB and Size of File B is 1GB ...
user avatar
0 votes
0 answers
12 views

Ubuntu 18.04 stucks on under heavy i/o load

I got 2 node which connected to a shared storage(3Par) with FC. And I have 32 virtual volume exported to that nodes. I use this volumes(formatted as ocfs2) as minio backends. So lots of small files ...
user avatar
0 votes
0 answers
13 views

Using docker-compose with multiple actual users on one machine for a single project

A friend and I started working on a project together, and we wanted to try using a single remote dev environment for it. I created a VM on Oracle's Cloud Infrastructure, and created a user for my ...
user avatar
0 votes
1 answer
18 views

How should I sandbox a thread and do simple IO? [closed]

I have code written by a third party. It seems fine but I suspect there are bugs and may be exploitable. Is there some way I can isolate this from the rest of my code? The two main ways I can think of ...
user avatar
1 vote
1 answer
14 views

Why would vsftpd be logging to syslog even though logging is disabled in vsftpd?

I have all logging disabled in /etc/vsftpd but for some reason it is still logging to /var/log/syslog and I can't figure out why. root@unraid:/etc# cat /etc/vsftpd.conf # vsftpd.conf for unRAID # ...
user avatar
0 votes
0 answers
10 views

Bash processes with deleted link targets in /proc/<pid>/exe

We have a software which intercepts file IO operations and noticed a recent bug caused by a process who's /proc/$pid/exe pointed to /usr/bin/bash;61f1808a (deleted) (via readlink(2)). I'm curious what ...
user avatar
0 votes
0 answers
23 views

Add a IP to another rule matching hex in iptables linux

iptables -t raw -A PREROUTING -p udp --dport 4578 -m string --hex-string '|fefffffffffffffffff77f12|' How can I whitelist the IP having the above hexx string automatically on Iptables. I'll be ...
user avatar
0 votes
2 answers
45 views

How to check what was moved when using “mv” and the process stops due to permissions issues?

I want to move a folder (test) on our server from /home/data to /home/projects/data. What I did is to use mv. It did not move the folder in the end for some permission problems. However, the folder ...
user avatar
0 votes
0 answers
29 views

Python script to split a DVD into several chapters doesn't seem to work? [closed]

I found a Python script in another post by @Jean-Francois T. I can't seem to get it to run. It always gives an error. HandBrakeCLI is installed. It also is in the path. From the original post, I able ...
user avatar
0 votes
0 answers
25 views

Different Bluetooth Version on Linux and Windows

I have RTL8822BE PCI-E NIC with Bluetooth, on Windows Bluetooth version shows as 5.0 but on Linux shows as 4.2. Why? enter image description here enter image description here enter image description ...
user avatar
  • 1
0 votes
1 answer
27 views

Why does btrfs scrub process more data than allocated?

Why is the "Total to scrub" a lot bigger than "Device Allocated". 29.1TiB vs 21.24TiB is a huge difference. Setup: I have a btrfs raid array. It has a mixed data chunks of RAID1 ...
user avatar
  • 157
0 votes
0 answers
23 views

What's the best way to restrict users from executing applications on ubuntu? [closed]

I need to restrict the execution of anything to a specific user except for a Java application, Whats the best way to achieve this on Ubuntu?.
user avatar
  • 1
0 votes
0 answers
11 views

How to do "source-MAC based routing" with nftables

(This is a simplified version of this: Can Linux do "source MAC based routing?") I have an appliance that needs to route egress packets back to the MAC interface where the ingress packets ...
user avatar
1 vote
1 answer
18 views

How to provided a separate linking environment for a daemon

I have this piece of software I'm required to install on my workstation. Let's call it "Yeti repellent". It supports OpenSUSE 15.3, but I am running Tumbleweed. I install the Yeti repellent ...
user avatar
  • 113
0 votes
0 answers
33 views

Is my GPU broken?

I'm experiencing various problems with my PC and I'm wondering whether it might be because my GPU is broken. My PC will sometimes lock up, then the screen goes black, and then I get visuals back but ...
user avatar
  • 123
0 votes
0 answers
11 views

MySQL not allowing access via php mysqli?

I have just finished setting my VPS up, running on Debian 11 and equipped with the latest MySQL configured to be as safe as it gets via the installer and PHP v8.1.4 + mysqli. Upon trying to access my ...
user avatar
0 votes
2 answers
40 views

What does CVS stand for?

What does CVS stand for? What does it mean? In particular, I mean the --cvs-exclude option in rsync. -C, --cvs-exclude This is a useful shorthand for excluding a broad range of files that you ...
user avatar
  • 471
0 votes
1 answer
20 views

Automatically run a Linux executable with automatically updated Notepad++ file

I am currently working in WSL with a code that simulates something via an executable in the WSL window. To edit parameters (namely how long I want the simulation to run) for this executable I use ...
user avatar
  • 1
1 vote
0 answers
22 views

Web browsers unreliable in WSL2 + xfce4 + xrdp

I'm running an xfce4 desktop in WSL2 via xrdp from my local machine (I'm running Windows 10, so I can't use WSLg). This mostly works fine, except that web browsers (I've tried Firefox and Chromium) ...
user avatar
0 votes
0 answers
22 views

is it possible to lock rpm from any installing

we want to exclude rpm for any installing as reference in yum its should be like this vi /etc/yum.conf exclude=* in example above we avoid any yum installation about rpm , we need the same approach ...
user avatar
1 vote
1 answer
26 views

What’s the difference between mv-ing a file vs just writing to the same filename

I’m working on some ffmpeg+nginx projects and there is a behavior that almost makes sense but I still just don’t get it. ffmpeg is using a file, overlay.png to watermark a video stream. When I write a ...
user avatar
  • 43
0 votes
0 answers
34 views

Is Asahi Linux safe to use on daily driver? [closed]

I have been thinking about booting the alpha release of Asahi Linux on my M1 MacBook, however, I have major concerns regarding the safety of my disk data. I need Linux for university, since I am ...
user avatar
0 votes
0 answers
19 views

EFI variable OSIndications is missing

I am trying to enable UEFI capsule updates feature using fwupdtool on a buildroot based embedded OS. While building and testing fwupdtool, found that /sys/firmware/efi/efivars/ path misses ...
user avatar
0 votes
1 answer
21 views

"Command not found: complete" message appears every time I open the terminal

I was setting up my development environment on Ubuntu 20.04 following a video on Youtube and after running the command $ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc Every time I ...
user avatar
0 votes
0 answers
38 views

New WD 6TB drives shows as 0MB in BIOS

I have a Shuttle XPC SX58J3 which came with a WD 1TB HDD. I bought it in about 2010. I'm trying to replace the HDD with a 250GB SSD (for the OS and applications) plus a WD 6TB HDD (for the home ...
user avatar
1 vote
0 answers
18 views

Diagnosing a blank screen at drive decryption - garuda linux

I have a dual boot setup of windows and garuda Linux which have been working fine (efi). I've been working mainly in garuda and haven't done a reboot for a while. My system drive is luks encrypted and ...
user avatar
  • 489
0 votes
0 answers
9 views

How can I emulate a popup hint on KDE

When working with a computer, the mouse is often unnecessary. But there are actions that I don't know how to perform using only the keyboard. Specifically now I need to emulate a popup tooltip in the ...
user avatar
4 votes
1 answer
134 views

Disallow changing boot option and bash-like command line in grub

I'm using Arch Linux and in my home, I share my computer to others. They have physical access to my computer and I don't want them changing how GRUB boot into Linux by pressing e or have a command ...
user avatar
0 votes
0 answers
22 views

Achieving high DNS QPS throughput

I'm trying to find the maximum QPS (Query Per Second) of the DNS Resolver VM. We have our infrastructure hosted on Azure, having a VM (bind based) acting as a resolver querying Azure native DNS (168....
user avatar
  • 121
0 votes
0 answers
15 views

Samba recycle module is not moving deleted files as desired

Samba recycle module issue When I delete <share>/path/to/foo.txt, the folder <share>/.recycle/path/to is created, however, the folder is empty without foo.txt present. Environment ...
user avatar
  • 164
1 vote
0 answers
45 views

How to decapsulate tunnel and forward inner packets

I am trying to decapsulate tunneled packets arriving at port eth0 and forward them decapsulated to another port eth1 on a Ubuntu 20.04 machine like this: ____________ ...
user avatar
  • 11
0 votes
0 answers
36 views

When using su to switch to a non root user, su fails to launch the user's shell program despite seemingly good permissions on everything

The error always looks something like this, depending on which shell is configured in /etc/passwd. su: failed to execute /usr/sbin/jk_chrootsh: Permission denied OR su: failed to execute /bin/bash: ...
user avatar
  • 109
0 votes
0 answers
15 views

IBus cannot find lua files in Fedora

Whenever I try to switch languages on iBus it tells me in console that cannot open ../lua/base.lua: No such file or directory lua script loaded. cannot open /home/[User]/.config/ibus/libpinyin/user....
user avatar
0 votes
1 answer
60 views

Did I accidentally lock myself out of my PC forever?

I use Ubuntu 20.04 LTS for an exercise. I had to edit /etc/pam.d/common-auth to set a max 3 attempted logins for users. However instead of putting the commands in the start like I was supposed to, I ...
user avatar
0 votes
0 answers
16 views

SFTP Editing the file changes the file owner

I have installed VSFTPD. All the files are owned by the root user and siteadmin group. chown -R root:siteadmin * SFTP user: myuser This SFTP user is also part of siteadmin group. So, chmod -R 770 * ...
user avatar
0 votes
0 answers
8 views

Crostini XWayland does not work all the time

Sometimes, when I start up Crostini (the Linux feature in Chrome OS), XWayland does not work, and I get this error. It can vary across apps, but this is the tkinter version of the error. File "/...
user avatar
0 votes
0 answers
35 views

Swapping with Paging and Swappiness (Linux)

In Abraham Silberschatz's Book, Greg Gagne, Peter B. Galvin - Operating System Concepts (2018) says: Standard swapping was used in traditional UNIX systems, but it is generally no longer used in ...
user avatar
  • 1
0 votes
0 answers
16 views

Disable directory autocorrection in firefox

I was attempting to look for directory traversal vulnerabilities/local file includes manually via my browser, but I noticed that firefox is apparently autocorrecting ../ into meaning literally the ...
user avatar
0 votes
1 answer
12 views

Can stunnel use the OS's certifificate store?

I'm using stunnel in "client" mode to enable my non-SSL client to connect to an SSL server (it's using FIX protocol). My set up works fine if I disable verification but then of course I'm ...
user avatar
2 votes
0 answers
19 views

How to tell Minicom to translate CP437 characters to Unicode equivalents?

I am using a Raspberry Pi (running Raspbian [based on debian]) to act as a sort of adapter between UTF-8/SSH over TCP/IP and CP437/TTY over RS232/DB9. The RS232 side is a black box that we cannot ...
user avatar
  • 121
1 vote
0 answers
72 views

Can Linux do "source MAC based routing?"

I'm looking for a way in Linux to perform source-MAC based routing. My goal is to have a router with the following routing: echo 100 inbound >> /etc/iproute2/rt_tables ip rule add iif eth0 ...
user avatar
0 votes
1 answer
41 views

Linux (Manjaro, xfce) Ctrl-w is not working (user wide)

I have a very annoying issue: Ctrl-W (both: Left-Ctrl-W and Right-Ctrl-W) is not working in ALL applications (Chromium, Firefox, Mousepad etc). So it is not a application issue. Manjaro Linux Kernel ...
user avatar

1
2 3 4 5
1101