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

How can I, Zerofree or otherwise, reclaim space from deleted files on a Linux VM under VMware?

I have a VMware Player Linux Mint VM under Windows 10, and I want to free up space from files that I deleted but are still part of the disk file. Existing discussion suggests that Zerofree, followed ...
0
votes
0answers
13 views

Tried to run pulseaudio

When I was trying to do this It got me an error on running pactl list | grep Name command. I'm running Ubuntu 18.04 LTS with linux deploy and LXDE desktop. Error: shared memfd open() failed: Function ...
0
votes
0answers
24 views

Adding to the PATH environment variable / editing the .bashrc file

I'm very much a newbie with Linux (coding in general really) but I've have taken the plunge and installed Mint for my coding projects. I've installed Julia, which I use to run numerical simulations ...
0
votes
1answer
23 views

Cordova Electron Builder Icon Packaged Wrong on Linux

When building a Cordova app for Electron on Linux, the icon file in platforms/electron/build-res has the improper name installer.png. (The Linux configuration page says The icon filename must contain ...
0
votes
0answers
10 views

Hybrid GPU External Monitor not working(Lenovo + Nvidia)

This is a cross post from Parrot OS Community forum. I've had this problem for about 2 weeks now and sofar I've been unable to figure it out, so I come to this community. I'm using a Lenovo S540 ...
0
votes
0answers
19 views

Boot linux kernel 5.8.6-1 with manjaro x64 gets stuck at bios screen

I dual boot windows and manjaro. Last night I suddenly could not log in to manjaro kernel 5.8.6-1 anymore (the boot got stuck at the MSI-logo) but had to go to advanced options and choose 5.7.19-2 and ...
0
votes
0answers
14 views

Shortcut to automatically boot into another os

Installed on the same drive and using the grub bootloader. I want to have a script to boot into other os and boot for both systems. Couldn't find anything working. Windows 10 + Kubuntu
0
votes
0answers
12 views

passwd_tries and passwd_timeout in visudo doesn't affect lockout

My root password is a little tricky to type, so I sometimes make three consecutive mistakes, and I get locked out from using sudo for 10 minutes. I added the following entries to sudoers using visudo ...
0
votes
0answers
12 views

Accessing virtualbox shared folder from an SSH cygwin session

I'm using the Shared Folder feature of Virtual box. When I double click on the Share in My Computer it gets mounted to letter E and I can then access it from a GUI terminal Window inside the guest ...
0
votes
0answers
7 views

Gentoo Linux. Cannot configure NVIDIA graphics

I'm new to Gentoo Linux. I was trying to install Xorg on Gentoo in order to install KDE Plasma as desktop environment. In accordance with the Xorg/Guide article from Gentoo Wiki I prepared the kernel ...
0
votes
0answers
42 views

Unable to run a script through crontab in linux

When I try to run a script through crontab, it doesn't work. I don't see my script running when I run `ps aux. But it works perfectly when I run it manually. Any reason why it's not working? My script ...
0
votes
0answers
18 views

Multiple ffmpeg processes and multiple RTMP outputs

Debian user here. Desperately looking not even a solution but at least a hint about how to debug this situation. I need to run multiple ffmpeg processes simultaneously: ffmpeg -loglevel error -f ...
0
votes
0answers
18 views

Can't disable auto login on Kali USB

I am stomped. I have a Kali Linux USB live with persistent encrypted volume, with the latest update. Everything is fine, except when I try to disable auto login, I can't seem to get it work. I ...
0
votes
1answer
9 views

Migrating from strongswan to libreswan

I have this working strongswan config for IKEv2 with PSK and USER_FQDNs connections { IKEv2PSK { remote_addrs = 81.81.81.81 vips = 0.0.0.0 version = 2 dpd_delay = ...
1
vote
0answers
103 views

ngrok kex_exchange_identification: read: Connection reset by peer

I've got a raspi (in my robot boat project) connected to the internet over a 3G connection using a dongle with a simcard. I then use ngrok to expose ssh to a static address so that I can always ssh ...
0
votes
0answers
9 views

Windows 2016 Server is slow when running many (~2000) processes [migrated]

We have software that runs many processes: multiple headless Chrome instances, each with a Selenium controlling process (webdriver) and a Python process (because Python is no good at multithreading, ...
0
votes
0answers
14 views

Acer Nitro 5 an515-42 boot with external pendrive

I have bought this Acer Nitro 5 an515-42 gaming laptop. I want to run Linux in it. I have a Hard drive where I have installed Kali Linux( UEFI ). I am using that HDD with a SATA to USB connector. but ...
0
votes
0answers
43 views

Issues with installing linux based OS on my laptop

Hello there fellow users, as of late i have been facing a rather weird issue. I have been trying to install linus os, as of late. I have tried mint and ubuntu but they both fail to install as a ...
0
votes
1answer
20 views

How to get rsync to print stats when interrupted

I ran rsync with the --stats option, because the sync is being done over the metered connection. However, after some time I wanted to get some idea of how much had been transferred and then (...
0
votes
1answer
34 views

Why an external USB SSD drive light is blinking after ejecting it in Linux?

I am running MX Linux 19.2 (Debian 10) with KDE desktop manager. Normally, after I eject this SSD drive, the light will be off. But today, I noticed that the light keeps blinking after I ejected ...
0
votes
0answers
17 views

How do I prevent C-j from exiting copy-mode in tmux?

I like to use C-j to navigate down in tmux without a prefix, as I find it easier to navigate this way: bind -n C-k selectp -U # switch to panel Up bind -n C-j selectp -D # switch to panel Down bind -n ...
0
votes
1answer
24 views

How can I fuzzy search a pdf file

I'd like to look for textual information in pdf files where words are not necessarily linked together. For example, I'd like to input "Super" and "question" and have the following ...
0
votes
1answer
29 views

Linux shell backslash-newline for long JSON string

I am using curl with a really long -d, --data <data> field containing JSON. I would like to use backslash-newline to wrap around the JSON in the middle of the JSON string. Here's an example: (...
0
votes
0answers
13 views

Can't connect to a specific wifi network

I'm new to ubuntu. I have Ubuntu 20.04 in my machine. I tried to connect to my Home wifi network(2.4ghz), but it doesn't connect. There is also a 5ghz band on the same connection. I can connect to the ...
1
vote
1answer
46 views

How to keep audio and subtitle stream descriptive names while converting a video with ffmpeg?

I use ffmpeg to convert existing movies to H.265 format to reduce their occupied size in HDD. They're encoded mostly in H.264. For this, I use the following command: ffmpeg -i 1.mkv -c:v libx265 -c:a ...
0
votes
0answers
4 views

What are the configs to change after you decrypt a LUKS encrypted partition?

I just decrypted my root partition encrypted with LUKS2. But the fstab still shows the root with the /dev/mapper/secret entry with a different UUID than the partition. Do I have to generate the fstab ...
0
votes
0answers
18 views

install C++ compiler (gcc) in SLES (SUSE Linux Enterprise Server)

I need to build a c++ project in SLES (SUSE Linux Enterprise Server) environment. While trying to installing build tools I am facing issue (add repo is failing) in installing c++ (gcc) compiler. ...
0
votes
1answer
21 views

How secure is allowing an untrusted third party to forward one of their ports via OpenSSH?

I'd like to SSH into a machine of an untrusted third party. Their machine is behind a firewall. I'm thinking I should allow them to forward their SSH port to my publicly addressed server, via ssh -R. ...
0
votes
1answer
16 views

priority of the Linux group & user

My current user & group is baohua-baohua.If I create a file belonging to baohua-test, the priority of the user is higher than that of the group (if the user's permission is rw-, the file is rw).If ...
0
votes
0answers
16 views

arc_ network interfaces in ChromeOS

I have a Chromebook and if I open chrome://system/ in the Chromebrowser and expand the part ifconfig, then I see some trivial interfaces like eth0 or wlan0 and some mysterious interfaces like arc_eth0 ...
0
votes
1answer
31 views

How to keep Midnight Commander running after you open a file?

mc (Midnight Commander) is an excellent CLI file manager, but I have really struggled with this problem: How to get mc to keep running after you choose to open a file? For example, when I navigate to ...
0
votes
0answers
11 views

Linux screen has rough textures/patches

Just to be clear my screen is okay. I have a dual booted laptop and sometimes when I log into Linux(Pop_OS 19.10) I get such a display [ I don't know what the problem is and sometimes it just fixes ...
0
votes
1answer
39 views

Preventing Windows from accessing Linux drives

I currently have two hard disks connected to my computer, one internal and one external(via USB3). The internal one has Windows 10 installed while the external one has Debian. All my important data is ...
0
votes
1answer
83 views

How to connect to Windows 10 from Linux using RSA key

I need to SSH from Ubuntu server into Windows 10 (OpenSSH). Everything is fine when I connect using username and password, but I have trouble if I introduce RSA key On Linux I ran ssh-keygen and ...
1
vote
0answers
25 views

Undervolting in Windows VM on Linux?

I have a Lenovo Legion Y540 with an i5 9300h and A GTX 1650 running Linux, specifically Pop OS. It seems to be running a bit hot on idle at about 48° C. So, I was wondering if I undervolted my CPU in ...
0
votes
1answer
13 views

Is there a way to determine what the rpm file permissions should be?

I am working on hardening an instance of Fedora CoreOS and I am using OpenSCAP to perform a security scan to enumerate issues that need to be fixed. One of the issues is that some of the permissions ...
0
votes
0answers
17 views

Ubuntu Dropbox downloading

Does anyone here have experience with linux/dopbox? I have a 10min delay in my files between the sync and what appears on dropbox I'm super new to both ubuntu and dropbox Syncing and Uploading are ...
-1
votes
1answer
27 views

Do networking storage protocols like NFS and SMB have protection of data against corruption during wire transmition?

According to what I read briefly about NFS today - it has no such protection. I mean something like CRC for blocks,packets and so on. And I wonder - what is the possibility of data corruption when NFS ...
0
votes
2answers
93 views

How to rsync that excludes .git/ folder but still keep the .git/config file?

In brief TLDR To rsync a folder that has .git/ excluded but still keeping the .git/config file, how to do that? My google search is not helpful so I asked here. Full details I want to take snapshot of ...
0
votes
0answers
17 views

Iptables rule does not apply to the packets

I'm setting up the architecture below. Essentially my goal is to do mitm between my iot device and its server. iot device <--> ethernet to usb conv(eth1) <--> laptop(eth0, bridge between ...
0
votes
0answers
16 views

Username in home directory path

I have a requirement to create new user home directories in a sub-directory of the username in a different base directory to the norm. The required location is /users/{user}/home. Currently, when a ...
0
votes
0answers
8 views

Auditd rule doesn't work as expected

I have the following auditd rule configured: -a always,exit -F dir=/home/ -F uid=0 -F auid>=1000 -F auid!=4294967295 -F obj_uid!=0 -C obj_uid!=auid -k power-abuse And I think that it triggers when ...
0
votes
1answer
31 views

linux - issues running java applications / issues launching flashtool

i'm trying to use the unzipped http://www.flashtool.net/downloads.php folder for rooting phones, but when I sudo ~/FlashTool/FlashTool & the console outputs Error: dl failure on line 604 Error: ...
0
votes
0answers
9 views

How to configure linux usb xhci support full-speed?

I connected my ethernet over usb device to my arm board which run Linux. And from "lsusb -t": root@dra7xx-evm:~# ./lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, ...
0
votes
0answers
20 views

How ubuntu in virtual box with network as internal adapter can access internet

In virtual box I have second FREEBSD OS pfSense , I have setted its network as bridge adapter and second adapter as internal adapter. So how anathor vm can access internet. where can I find the theory ...
0
votes
0answers
33 views

How to load the TIPC Kernel module in Centos7 - 3.10 kernel

I have a problem with a server that it is running Centos7 with the kernel 3.10.0-1127.18.2.el7.x86_64. I was installing a POD of the k8s that we had in this Bare Metal, but one of the PODs says: ...
0
votes
0answers
59 views

Failure after updating to Ubuntu 20.04 LTS from 18.04

After the system was booted, it goes right into a blank screen with a underscore cursor flashing. I am able to change into other ttys (anything but 7) A common error I got is that libpango-1.0.so.0 ...
0
votes
2answers
136 views

Execute commands from a remote path

When we execute i.e. ls command the terminal application search for that ls on our PATH variable. The PATH usually contains a number of system directories plus some user specific directories. So a ...
0
votes
0answers
43 views

rm Can't remove file /var/lib/os-prober/labels

If I run sudo os-prober I get rm: cannot remove '/var/lib/os-prober/labels': Bad message I get the same message if I run either 'sudo update-grub' or try to manually remove it. Even ls gives me a ...
0
votes
0answers
27 views

Rename batch directory (files) to barcode contained in file image with Zbar (linux)

Hi I have Zbar working, I did read Can a picture file be renamed based on a unique barcode contained within the picture? but it was abandoned about 10 years ago. Basically the script works, in --...