Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
20 views

Java application not picking up app.properties on Widows 10

there is an application that needs certification to work fine, in Linux, there is no problem but I want to run this on a windows machine. I have Installed Java on my windows 10 system. then I ...
0
votes
0answers
3 views

Mosquitto broker socket error

After updating to mosquitto v1.5.5 from 1.4.x I have not been able to connect to the broker, I have tried using an esp module as well as raspberry pi and mosquitto_sub. However, when I run ...
0
votes
0answers
4 views

Parrot OS no Wifi Applet/Can't COnnect

So I've just installed Parrot Security OS On my Dell XPS 9370 Which is running the following wifi chipset 02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev ...
2
votes
0answers
13 views

Samsung 970 EVO has password I never made?

I used the "Secure Wipe SSD" tool in the UEFI of my ASROCK A320M-DGS motherboard on my Samsung 970 EVO and now whenever I boot my PC, it asks for a password that I never set?! Is there any way to ...
0
votes
0answers
5 views

How to do the shortcut `Alt + =` typing the identity char ≡?

I want to do the shortcut Alt + = which puts the identity char ≡. How to do it with Xbindkeys? Or you need a different method?
1
vote
1answer
26 views

Sshpass in a loop

Why when using sshpass in a loop the first sshpass executes commands, while the next does not? for element in "${a[@]}" do { echo "$element" sshpass -p "omg" ssh root@$element 'ls' } ...
1
vote
1answer
2k views

unable to make the 'protobuf-c' warns : No package 'protobuf' found

I am trying to build the protobuf-c from here https://github.com/protobuf-c but i ended up getting this error. checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static ...
0
votes
1answer
13 views

Having trouble downloading mysql

So I am downloading mysql for DVWA (https://medium.com/@sinxloud/setup-install-dvwa-into-your-linux-distribution-d76dc3b80357) and I get: root@kali:~# *sudo apt install mysql-server* Reading package ...
0
votes
1answer
6 views

Unable to run NVIDIA Docker image on Azure

I set up a Data Science Virtual Machine for Linux (Ubuntu) on Azure and want to check the installation of GPUs following these TensorFlow directions. The first command shows that a GPU is available ...
1
vote
1answer
3k views

Samba Network Path not found

I am trying to set up a Samba-Connection between my linux server and my home computer. However, when I try to add the Samba share as a network drive using net use k: \\ip.ip.ip.ip\shared password /...
0
votes
0answers
5 views

Can't debug package sh on Pycharm 2018.3.3

PY-183.5153.39, JRE 1.8.0_152-release-1343-b26x64 JetBrains s.r.o, OS Linux(amd64) v4.15.0-29deepin-generic, screens 1600x1200 I'm having issues while debugging (doesn't happen when a run it) a code ...
0
votes
1answer
13 views

Check if two paths are the same, even if their strings don't match exactly

I have a script that depends on some environment variables, some of which are paths The script checks if it's being run in the correct directory by checking $(pwd)/expected-subdir against $...
-1
votes
1answer
3k views

VMware Player / VMware Workstation installation in KALI

I have been trying to get VMWare Player/ VMWare workstation installed in KALI Linux for almost ages now. I might look a little exaggerating but I would like to quote it that way to bring about the ...
0
votes
0answers
12 views

Unable to connect guest to internet with KVM

I'm on Arch Linux, using firewalld set on drop and using Stubby for DNS queries. If i try to connect a guest to the internet using the default interface or a generic NATted interface or a bridged one ...
0
votes
0answers
17 views

org.gtk.vfs.Metadata - Timeout results into Nautilus freeze

when running Nautilus with a non-root user and browsing a folder outside of the own home directory (e.g. the root directory /), Nautilus freezes ~ 10-30 seconds before opening up the desired directory....
0
votes
0answers
11 views

XEN: map object has no attribute index error when installing a new virtual machine

I'm setting up a new server to run tests. I'm using Xen as virtualization Hypervisor and I've already successfully installed another server with Opensuse Leap 42.3. Now I'm trying to use Opensuse ...
1
vote
0answers
18 views

Spring boot failed to start

I have a error and I tried to figure out what was wrong for 2 hours and I can't fix it. I ran my spring boot app using java -jar command, it's a package and it couldn't start. I set the properties ...
1
vote
0answers
14 views

How to fix airodump-ng continuously changing channels on Kali Linux?

I am running a Wifi adapter with the chipset AR8812AU on Kali Linux 2019.1. I am trying to run airmon-ng, targeted o a specific AP using command: airmon-ng --bssid $APmac -c $APchannel wlan0 The ...
0
votes
1answer
11 views

Is there any way to delete logs of a specific systemd service in linux?

After searching a bit, all I got is journalctl --vacuum-time.... However, this command doesn't delete service logs. So, how can I safely delete logs of a specific service from linux?
0
votes
0answers
12 views

Forwarding linux traffic via windows machine

I have two machines: Linux (10.10.10.101) Windows (10.10.10.100) And I want Linux machine traffic to pass through windows machine, so Linux uses windows IP for all outgoing traffic; instead of it's ...
0
votes
0answers
46 views

mpirun tcp_peer_send_blocking: send() to socket X failed: Broken pipe (32)

I am using a HPC composed by 4 machines (master, slave1, slave2, slave3 and slave4) I try to run a script on a HPC structure : mpirun -report-uri - -host master,slave1,slave2,slave3,slave4 --map-by ...
1
vote
2answers
39 views

Is it possible to encrypt all files in a folder including their file names but totally without compression using 7zip?

I have a folder with several files: file1 file2 file3 I want to encrypt them all with AES including the file names so the output should be something like this: kjk437fjk437 3k4jn34jk j34nkj34 But ...
2
votes
3answers
3k views

zcat | head : write error from large gz file

I was trying zcat to get only the first 1M lines of a compressed .gzip file into a new one. However, I get the following error: $ zcat path/to/R2.fq.gz | head -100 >R2.fqtest head: write error: ...
-2
votes
1answer
33 views

Remove Ubuntu from Laptop and Install Windows 10, NOT Dual Boot

I have a Dell Inspiron 15 5000 Series Laptop. I removed Windows 6 Months ago and install Ubuntu. I am currently running Ubuntu 18.10 Jelly-fish. I have downloaded woeusb and installed my desired ...
0
votes
1answer
22 views

Linux Disk Write-Speed varies with dd command

Why there is so much of disk-write difference while checking with dd command without bs and with bs dd if=/dev/zero of=/tmp/test.log count=100000000 100000000+0 records in 100000000+0 records out ...
2
votes
2answers
36 views

Finding the physical sector size of USB / SOLID STATE DRIVE fdisk & stat

Currently trying to find a BULLET proof way to find the sector size of a FLASH based device (testing with USB thumb drive), not getting a convincing reply anywhere else using stat gives me the size = ...
0
votes
0answers
8 views

How to fix MC33926 Dual Motor Driver for Raspberry Pi?

I recently purchased my MC33926 Dual Motor Driver for Raspberry Pi, wired it up to some motors, completed the code and found nothing to happen. I've consulted the schematics to ensure my wiring isn't ...
0
votes
0answers
7 views

I get ValueError: zero length field name in format while i start prometheus-couchbase-exporter with Python 2.6

I get an error thrown while i start/restart prometheus-couchbase-exporter on my CentOS release 6.8 (Final) with Python 2.6. Below is the error. Exception happened during processing of request from ('...
0
votes
0answers
9 views

Access secondary EBS volume and change permission of /.ssh directory - AWS

I have attached an EBS Volume(Centos based) with a new EC2 instance(Amazon Linux) as a secondary volume. The purpose of attaching it as a secondary volume is- I want to fix permission of /.ssh ...
1
vote
0answers
13 views

CentOS doesn’t show my USB drive

When I attached a US drive to my computer with CentOS, the indicator lamp of the USB drive is lights. But when I type fdisk -l in the terminal, there is no information on the USB drive. It is as ...
1
vote
0answers
15 views

Trying to format a sandisk pendrive using bash

My sandisk pendrive is write protected and i have tried everything to repair it but nothing worked. Now finally i am trying to format it using bash in my windows machine. But commands like fdisk -l ...
5
votes
1answer
3k views

How can a process in “interruptible sleep” state use 100% CPU?

According to this reference, a process has the following states R running or runnable (on run queue) D uninterruptible sleep (usually IO) S interruptible sleep (waiting for an event to complete) Z ...
2
votes
1answer
3k views

Can I move Linux from running on a USB to a hard drive partition?

I'm working on helping my brother with a project. He has been running Lubuntu Linux from a USB drive while he was setting up some server and web projects (proof of concept). Now that he has the ...
1
vote
0answers
42 views

Linux Manjaro XFCE New Install Hangs After Login

I recently decided to give Manjaro a go and decided to go with the LXCE edition (though I have the same problem with the Gnome edition as well) and so as I usually do install Linux, made a bootable of ...
1
vote
0answers
10 views

Why the device “/dev/video1” not shows?

I'm trying to share my desktop via virtual webcam, but unfortunately the app cheese and google chrome and any app can't have access to this device "/dev/video1", the "/dev/video0" is the integrated ...
0
votes
1answer
37 views

Set GTK theme by launch a program by $GTK_THEME env

There are https://wiki.archlinux.org/index.php/GTK+ talk about that I can set GTK Theme manually for individual launched program so: $ GTK_THEME=Adwaita:dark gnome-calculator It's work. But how ...
-1
votes
0answers
10 views

Altai SSH not connecting

I have recently bought a Wifi router model Altai C1n i have read the manual from top to bottom but there is no info about ssh connection. ssh port 22 is open by default even after hard reset i have ...
2
votes
1answer
3k views

iptables-restore failed at COMMIT line, no detailed description

I'm trying to setup iptables (using iptables-restore) for a new server and was looking at the security docs from Linode, so basically used their templates for IPv4 and IPv6. These are both failing at ...
-1
votes
0answers
18 views

How to install x32 ᴀʙɪ basic runtime libraries support on fedora for x86_64?

Linking C executable cmTC_65714 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65714.dir/link.txt --verbose=1 /usr/bin/gcc -Ofast -mx32 -malign-data=cacheline -mtune-ctrl=reassoc_int_to_parallel,...
0
votes
1answer
13 views

Sane stopped detecting USB scanner

My scanner (scanner function of the MX860 multifunction printer) was being recognized using the sane-find-scanner command or using scanimage -L. It was working with Simple Scan, the scanimage utility, ...
1
vote
1answer
82 views

yum install php dependency errors

I'm trying to install php 5.4 or 5.6 on an Amazon Linux 2 server using this command: yum install php54 This is the output: Loaded plugins: extras_suggestions, langpacks, priorities, update-motd ...
5
votes
1answer
16k views

What does a sequence of retransmissions with PSH,ACK flags mean (and a spurious retransmission back)?

I am on server 192.168.0.2 and want to make an HTTP call to 192.168.0.1(both servers are RPis and run Linux (raspbian)). curl -XGET http://192.168.0.1:8081/api The API on 192.168.0.1 (which I am ...
-1
votes
0answers
11 views

How to find out characteristics of video captured from a webcam in linux

I'd like to see from command line all informations pertaining to a given video file, including length, quality, bitrate, resolution, audio and video formats, number and language of audio streams and ...
2
votes
2answers
370 views

Cannot delete folder or files inside

I have a rather strange problem. I have encountered a folder with a file in it, that I can neither see or delete. This is, I believe, a rootkit and I am desperate to get it off my machine. I am logged ...
0
votes
0answers
26 views

GuestAdditions seems to be installed (6.0.2) correctly, but not running

after upgrading VirtualBox to V.6.0.2, Vagrant V2.2.3 and homestead to release 8.0.0 each time I run vagrant up I get: GuestAdditions seems to be installed (6.0.2) correctly, but not running I ...
23
votes
1answer
19k views

lp vs lpr. What to use in case of CUPS and what historical difference?

My Debian distro provide the lp and lpr commands for printing from CUPS. I am a noob to printing in UNIX but have other tech skills. I tried to find a difference in man lp and man lpr. It seems that ...
0
votes
1answer
16 views

How can I create an apt repository mirror on a network that is isolated from the internet?

I have a network that has no internet connectivity from any of the devices. The only way I can get data on it from the outside world is via a USB mass storage device (USB stick, external hard drive, ...
5
votes
2answers
3k views

automatically encrypt and decrypt emails using gnupg (gpgrelay for unix)

My point of view related to email security is: whenever possible emails should be protected with PGP/GPG while transporting, but it doesn't have sense to store encrypted emails in local mailbox (this ...
0
votes
1answer
3k views

CentOS 7/VMware Hang on Boot ([sda] Assuming drive cache: write through)

I am new in Linux. i use CentOS 7 (CentOS-7-x86_64-DVD-1503-01.iso) in VMware workstation 9. Host system is windows 8. i was trying to install the update. when i restart it hang during boot. it show ...
1
vote
0answers
19 views

How can I force my pci card usb bus numbers to stay the same after reboot?

I have a few identical usb sound cards and wrote a udev rule so they each get a persistent name matching the specific port they are attached to. Now I added a pci usb 3.0 card and that is playing ...