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
0answers
12 views

Using FFMPEG as a hls server with transcoding, configuring

I am working on a small app that takes an rtmp feed with ffmpeg (not with nginx module)and transcodes it then I distribute it with a cdn. I'm struggling a little bit with the settings I need to make ...
0
votes
0answers
41 views

Chrome OS Version 94.0.4606.124 (Official Build) (64-bit)

[Error/main.rs:181] ERROR: unknown command: shell I have this problem for a couple of days I am in developer by turning off my chrome:power-esc-refresh and Ctrl d and you know the rest if you help ...
0
votes
0answers
33 views

SSH reverse tunneling alternative?

I have a Minecraft server running on my local Windows PC and a remote Debian server that I use to bypass my ports using SSH reverse tunneling. My problem is that the ping is somewhat high, and I ...
0
votes
0answers
83 views

Weirds characters all over the screen Arch Linux

Given that I have already searched everywhere without finding my same problem: I was watching a video from the browser, when unexpectedly some dots appeared on the screen and the characters of my ...
0
votes
1answer
20 views

Kill Linux of Chromebook installed via Linux

Some aplications I need (like VLC player, Office, etc) I instaled via linux beta on my Chromebooks. It works fine most of the time but when one of those processes crashes I can't kill it or restart it ...
0
votes
0answers
16 views

Linux cannot find disk after I replaced hard drive in a usb hard drive closure

I have 4-slot hard drive closure attached to my Linux host. After I replaced the hard drive in this enclosure, the Linux host cannot find all 4 disks by lsblk and lsusb commands. However, the four ...
0
votes
2answers
17 views

How to track down process in auth log

I have a server running ubuntu 14.04. In /var/log/auth.log there is some kind of automated process which runs every hour and I want to find out what the process is. I've already determined there are ...
0
votes
0answers
6 views

When to turn on flex_bg and packed_meta_blocks=1 options on AU6477 Card Reader Controller and others?

While creating ext4 file systems on USB thumb drives, I always wonder whether I should turn the flex_bg and packed_meta_blocks=1 options on or leave them off. In particular, I have the following ...
-1
votes
0answers
19 views

Install apt-get on openSUSE [closed]

On my system, openSUSE (15.1) is installed, as is zypper packet manager, which I'm not used to. Specifically, I think it lacks a huge amount of software, that I would like to use. I did already manage ...
0
votes
0answers
14 views

WinRM File copier plugin : only appends, never overwrites?

I am unable to change the behavior of the WinRM File Copier in Rundeck, it is a Python based plugin, launched from a Linux Rundeck server that is connected to an Active Directory server. When it ...
0
votes
0answers
11 views

LightDM: Auto Login with specifitc user when connecting from specific terminal (as done with KDM and kdmrc file)

I got the following setup: We use a building management system (BMS), which is based on SLES 12.3 and uses LightDM (I don't know if this is SLES standard or just set up by the vendor of the BMS, ...
1
vote
1answer
12 views

How to detect in Bash when Curl fails downloading non-existent file?

I'm using curl to download a zip file. curl is called from a bash script: curl --user joedoe http://1.2.3.4/files/joedoe.zip -o /tmp/downloaded.zip I'd like to detect when the target zip file does ...
0
votes
1answer
12 views

How to test DST when using NTP

We have long-running processes on a server. The server clock is synced with NTP. And RTC is set to UTC. Localtime is set to current DST timezone: $ timedatectl Local time: Thu ...
0
votes
2answers
22 views

How to fix WSL(Windows Subsystem for Linux) font on Windows 10

My WSL font keep change to default font(not even mono fonts!) when I launch another utilities(man,vi,nano,etc...) I checked the "Defaults" and "Properties" of WSL and set the fonts ...
0
votes
1answer
22 views

How to create symbolic links to each file in all subdirectories?

i had the follow structure of Folder/File, for example ./3DO Company, The - 3DO/goldstar.bin ./3DO Company, The - 3DO/panafz10e-anvil.bin ./Arcade/pgm.zip ./Arcade/skns.zip ./Atari - 400-800/ATARIBAS....
1
vote
1answer
31 views

How to best use SED to comment out a config value while adding a new config value right after it?

I want to edit some config files on in the CLI without a wysiwyg editor but instead using sed. Is there a best practice for doing that? Here are a few examples of what I mean: Config file example 1 A ...
0
votes
0answers
10 views

Change one .json key value with an already existing one using jq

My test.json file contains the 2 keys: { "id": "123", "name": "John" } And I want to achieve something like this: { "id": "John"...
0
votes
0answers
20 views

Can't access WSL files without starting manually starting WSL before

I'm trying to access Ubuntu WSL (2) files from Windows. Until recently, I was able to do so by accessing \\wsl$\Ubuntu, but now, I need to manually start Ubuntu WSL by launching the Ubuntu WSL app or ...
1
vote
1answer
15 views

How to see which package depends on the lib?

I come with a question - how to check which package depends on a given lib? I don't mean apt show [lib] because that shows what dependencies are responsible for a particular lib. And I have a lib (...
0
votes
1answer
13 views

raid 4 3 disks + 2 parity disks

I have a raid 0 with 3 disks and I want to be able to lose some disks without losing data. I'm using mdadm and I already started to grow my config Current config: Personalities : [raid0] [linear] [...
0
votes
0answers
26 views

Cannot log in as user on OpenBSD

I have an OpenBSD 7.0 installation that has been running for a couple of days. I left it overnight and the computer was off in the morning: apparently there was a power problem. I solved that problem, ...
0
votes
1answer
9 views

systemd's SupplementaryGroups also applicable to worker processes spawned by the main process of the service?

I have to set up a systemd service for an application that is not allowed to run as root, but must access a private key file and elevated ports. Usually the private keys are protected in a way that ...
0
votes
1answer
24 views

How do I prevent orphaned `sshd` processes on the server end?

I have a number of processes on client machines that ssh to server machines and do things. Sometimes those client processes end unexpectedly for whatever reason. This always leaves an sshd process ...
0
votes
1answer
30 views

How to separate mixed Home directory files and User created files - Ubuntu 20.04

I have download android source code in /home/username/ directory, without creating separate folder(/home/username/folder). Now my home directory files and downloaded files are mixed. How to find and ...
0
votes
1answer
23 views

ffmpeg make fate --make: *** [fate-filter-fps-cfr] crc Error 1 - I haven't changed any code

ENV:Linux SZV1000266228 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linux ffmpeg version N-104708-g8a18db3 Copyright (c) 2000-2021 the FFmpeg developers ...
0
votes
1answer
26 views

Is it possible to add system wide client certificates on Linux? (OpenSSL)

Is it possible to add a system wide client certificates on Linux so that all applications that use OpenSSL (or something equivalent) will automatically use them? The only solution I found was to add ...
1
vote
1answer
40 views

Permanently disabling Touchscreen in Fedora 35 (Weyland)

The Touchscreen on my computer hasn't been working properly for years, and since I never use it I simply used to have it disabled permanently. But since the upgrade from Fedora 32 to Fedora 35, all ...
0
votes
0answers
38 views

I can't change file permission

I have a interesting situation. I have Windows Fileshare Server and I want to connect with Linux and I connected but I cant change any permission. I want to give a stikcy bit but it's not working. I ...
1
vote
3answers
68 views

What does the "cyg" prefix mean?

I've seen so many cyg prefixed things like cygstart, cygpath, cygwin etc., but what exactly does this prefix mean?
1
vote
0answers
16 views

How to limit sshd/sftp connections or memory use in Linux?

I'm working on an embedded Linux system, and I found it will report 'page allocation stall' while I'm downloading file via sftp. Please refer to this video for detail. I've tried the following ways to ...
12
votes
1answer
2k views

How do OS installers work? [closed]

I am learning how Linux OS installation works, but searching the Internet for this doesn't provide any information for my questions. Note: This question has been marked as off-topic on Server Fault so ...
1
vote
1answer
33 views

How to chroot into a WSL installation form another WSL installation?

I want to chroot into my Kali Linux WSL from my Ubuntu WSL. I'm running WSL2. In Windows, I mapped my Kali Linux WSL installation (\\wsl$\kali-linux) to the drive K:. In Ubuntu WSL, I mounted the K: ...
0
votes
0answers
13 views

Defragment BTRFS to change the compression level

I can do: btrfs filesystem defragment -rvf -czstd ./ But not: btrfs filesystem defragment -rvf -czstd:1 ./ I get the error: ERROR: unknown compression type zstd:1 Is there any way to change the ...
1
vote
1answer
27 views

Why does my external hard drive mount as /media/TB1 instead of /media/TB?

I just added a new external USB hard drive and it's showing up in the system as TB1 when it is labeled both in the partition and in the /etc/fstab as TB. Why is this happening? I suspect it may be ...
0
votes
0answers
14 views

dhcpcd.conf for both static and dynamic ip address

Long story short: I need to configure two interfaces for one physical interface, one with a static and one with a dynamic ip address. I know how to do it in /etc/network/interfaces but my box uses ...
0
votes
0answers
23 views

Ubuntu virtual machine shows black screen before login

I have recently started fiddling with virtual machines. I have set up one with Ubuntu 64bit and it unexpectedly stopped working. I used VirtualBox to create it. I can no longer turn it on as I ...
0
votes
1answer
41 views

Excluding current folder when using du

I'm trying to read the size of the files in a folder using du -ah, but the output keeps showing me the current directory information( . ). I was wondering if there's some flag I can use with du to ...
0
votes
0answers
22 views

Setup access to external network

I have a Raspberry PI in my local network (given by someone to do work on). I can login via SSH at ip 192.168.138.1, it does however not have access to the internet (eg. ping google.com does not work)....
0
votes
0answers
17 views

How to resolve x11vnc tearing issue on Linux Mint 20?

I've been having this problem using x11vnc server on Linux Mint 20.x There's a video of the issue here: https://streamja.com/nX6MM Tearing may not be the right word here. It happens in any window ...
0
votes
0answers
17 views

Browser not loading images In Windows 10/Linux (all os)

This morning when I opened chrome and started browsing , I noticed that some of the images in websites is not loading .Then I cleared the chrome browsing data and cache but not worked .Then I used ...
0
votes
0answers
9 views

How to figure out why meld takes a long time to start?

I use a machine remotely on which several people have remote access. One of them messed around with the Python versions, installed a newer version maybe, not exactly sure. Assume I have no access to ...
0
votes
0answers
6 views

e2fsck to external drive, possible harm?

My 3 year old external drive that contain backup of my project recently started behaving strange, upon investigating— I found one offending directory that caused this problem. $ ls -lr ls: cannot ...
1
vote
1answer
27 views

Can you copy public ssh id to authorized keys upon login without ssh-copy-id?

Besides using ssh-copy-id client side or manually pasting your key into authorized keys server side, is there a way once you have already logged into ssh with your password to automatically add your ...
0
votes
0answers
16 views

Extending disk space for HyperV Linux guest

The guest Debian-VM shows a storage in use close to 30GB, which was the amount of disk space I defined when creating the VM. :~$ df -h Filesystem Size Used Avail Use% Mounted on udev ...
0
votes
1answer
36 views

Grep command inaccurate or bad command? Windows WSL

I am using grep command in Windows WSL and it seems to be inaccurate. The command is to remove matching lines from file1 from file2 and output of those lines in file3 (text files) grep -v -f file2.txt ...
0
votes
0answers
29 views

How to check who has access to my ubuntu 20.04 system?

I suspect that someone might have access to my Ubuntu system, because whenever I am doing something important such as typing a lot of unsaved text or training a deep learning model(in the cloud using ...
0
votes
0answers
4 views

openssl suppress progress display

When generating a private key, OpenSSL prints progress dots to the console as dots. In my automated build pipeline, this results in a single dot being printed on each line, which clutters up the ...
0
votes
1answer
50 views

After reinstalling linux on the framwork laptop the fingerprint reader in not behaving properly

I installed Fedora 35 on the framework laptop and set up fingerprint reader for login and sudo. The for some reason I formatted the laptop and installed Fedora 35 again. Then strange behavior started: ...
-2
votes
0answers
25 views

Hydra Kali Linux [closed]

I am trying to "hack" the web interface from my home. This is the command "hydra (IP) http-form-post "/sqli_test/login.php? a=dologin :user=^USER^&pass=^PASS^:failed" -L ...
-1
votes
0answers
22 views

Linux clipboard on Windows [closed]

Is there somewhere a software to get the select/middle-click clipboard of Linux, on Windows? (without losing the capacity to close a tab with a middle-click, without having focus on mouse, without ...