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
8 views

Ubuntu transformed into Debian 8 after I messed around with Python and Orca

When I could boot and still see the screen, in terminal I did: sudo update-alternatives --config python3, and got There is only one alternative in link group python3 (providing /usr/bin/python3): /...
35
votes
6answers
37k views

How do I physically find a wifi device using a laptop or mobile phone

Okay, so I have lost my tablet somewhere in my flat and have been searching for hours already. It is an Android device, which seems to have wifi enabled (responds to pings), but doesn't seem to react ...
0
votes
1answer
17 views

KDE on Fedora 30 doesn't keep resolution

I've installed KDE Plasma on Fedora 30 Workstation. The resolution was at the lowest but attempting to change the value in System Settings does not work. The monitor supports the resolution. Upon ...
0
votes
0answers
7 views

External drive SSD input/output error in networking [on hold]

Setup: external SSD (samsung T5) raspberry pi 4 with raspbian OS External disk works fine for regular read/write operations. But the following error: Error starting protocol stack: listen unix /...
0
votes
0answers
11 views

Running dnsmasq with runit

Here's my run script for dnsmasq: #!/bin/ash COMMAND="dnsmasq -k -C /etc/dnsmasq.conf" DIR="$( cd "$( dirname -- "$0" )" >/dev/null 2>&1 && pwd )" SERVICE_NAME=$(basename ${DIR}) ...
0
votes
0answers
6 views

Negative ram on conky

I've installed conky on arch linux with xfce as desktop. Ram used is not working properly. I'm getting negative ram used. screenshot Below is my config conky.config = { use_xft = true, ...
0
votes
0answers
6 views

PowerShell modules installation behaves strangely

Installing modules in PowerShell on Linux behaves in a way I don't understand. Sometimes Import-Module fails with the below error, and sometimes it's OK a second time, and sometimes I need to run ...
0
votes
1answer
13 views

Could not extract X509 subject string from certificate

I am trying to connect OpenVPN server and client. I get the following error on client end: Thu Aug 15 12:40:02 2019 daemon.err openvpn(default)[11009]: VERIFY ERROR: depth=1, could not extract X509 ...
4
votes
5answers
6k views

How can I know if a given file has finished uploading from another location?

Let's say we have machine 1 and machine 2. Machine 2, which is linux based, is receiving a file (let's say cat.jpg sent via SCP from machine 1 (doesn't really matter which operating system..). How ...
1
vote
0answers
7 views

opnecv4.pc missing file and gocv

I am trying to make this code to work: package main import ( "gocv.io/x/gocv" ) func main() { webcam, _ := gocv.VideoCaptureDevice(0) window := gocv.NewWindow("Hello") img := gocv....
0
votes
0answers
5 views

ansible yum install command

ansible all -m yum -a "name=java-openjdk state=present install_root=/opt/" I am getting following error 127.0.0.1 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host ...
0
votes
0answers
38 views

Why fdisk adds half kibibyte sometimes?

I'm trying to partition a 1440 KiB floppy disk image using fdisk (util-linux, v2.31.1). However, the tool is seemingly adding a 512-byte sector, no matter what units I use, and I can't tell why. ...
0
votes
1answer
29 views

Thunderbird constantly requires 'allow this installation' confirmation

I use Thunderbird 60.7.1 (debian 9) and add-on MinimizeToTray-reanimated. The problem is every time when I start Thunderbird I have the following message. I mark allow this installation after which I ...
0
votes
1answer
33 views

Cannot install guest additions (unknown filesystem type 'iso9660')

I want to install the guest additions on my Linux Ubuntu VM (host is windows 10). When I go to devices -> Insert guest additions in the VM I get the following error: The guest additions .iso is in my ...
0
votes
1answer
4k views

Can't launch Kodi - No display found + few simple questions

I installed kodi on my bananian, a variation of debian, on banana pro via apt-get. I can't launch it tough. As the title states, in the error log file it says: ERROR: GLX Error: No Display found. ...
0
votes
0answers
8 views

Get congestion window values after running the transmission Linux

Right now I'm using emulab to emulate a network, which has a client transfer packets to a server. Both nodes used Linux server. I can get some information about packets, RTT, throughput with Wireshark....
3
votes
1answer
482 views

How to get Mac's Cmd key working on a Linux

I want to be able to, like on Mac, get my Linux to be able to send an additional key event on top of Ctrl, that is, the Cmd key event. And then easily map keybindings on Linux to listen for that Cmd ...
0
votes
0answers
14 views

Nohup + Top + Pipe not working as intended?

I am writing a bash function which monitors a process' memory usage. top -b -n 1 | grep "THEPROCESS" | awk '{Output Formatting}' > /dev/udp/IP/PORT Being a monitoring solution, I want to spawn ...
1
vote
1answer
4k views

Setting User Password Policy as per their group Linux?

I wanted to set a password restriction policy , like minlen , maxage , minage etc . I know the way to do it system wide , Can we do it for a particular group of users . I mean only users under ...
0
votes
1answer
15 views

Exclude hidden folders using rsync, but Include specific hidden folders and include all hidden files

There are a lot of posts about rsync exclude being particular, I know, and I've spent some time digging myself for a solution, but thought it more expedient to defer to community mind power, which I'm ...
1
vote
2answers
11k views

The virt-manager displays “Gtk couldn't be initialized”

I am running the virt-manager on RHEL 7.0, but it always display "Gtk couldn't be initialized": [root@dhb5 ~]# virt-manager --debug --nofork 2015-08-17 03:21:09,895 (cliutils:75): virt-manager ...
0
votes
1answer
16 views

What are my best option(s) if desiring to tunnel/reverse-proxy to-and-from a telnet server?

I have a quite small VPS abroad, and a BBS telnet server software that i wish to run locally. What are my options, If i wish to only use the VPS as a relay for connections, effectively and ...
0
votes
0answers
8 views

Can a JVM PID change?

Say I'm running a simple Java application on a linux server and I want to get information about the JVM system properties rather frequently. For this purpose, I was thinking of making an API I could ...
14
votes
4answers
22k views

Mounting ext4 drive with specified user permission

I want to mount a supplementary ext4 data disk drive with specified rwx permission for a certain user. The mount point is inside the home of such a user and it's owned by the user. I added the new ...
0
votes
0answers
18 views

get process id in shell without saving to a temporary file

Hi linux/bash experts, I would like a universal way to get the process id of the previously run process. I know that I can do this: # child_script myprocess & pid=$! && echo $pid ...
3
votes
1answer
12k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
1
vote
1answer
21 views

Linux network random hang Intel NUC

Any version of current Linux; Intel NUC with built in R8169 network, plus tried external USB network adaptor; The interface will randomly stop sending/receiving with no errors in any logs. ifconfig ...
0
votes
0answers
4 views

Use iptables to DSCP tag traffic from a particular docker container

Without docker, this command would allow me to tag traffic from a particular application that I wanted to (via openwrt split tunnel plugin) route out my VPN: sudo iptables -t mangle -A OUTPUT -p tcp -...
2
votes
2answers
31 views

Disabling RAID for home PC

I inherited decommissioned server HDDs from work. I plugged both into my PC at home, but it looks like they're both enabled for RAID, as I can't unlink them in GParted to use as separate storages. ...
1
vote
1answer
31 views

Multiple pipes on a tailed log - last pipe never receives stdin

I've gotten into an interesting state on Ubuntu. The steps below describe it the best. With a single pipe, I'm seeing what I expect # In shell A tail -f foo.log | grep aaa # In shell B echo aaa >...
4
votes
1answer
1k views

Chromium: No microphone devices

I am using chromium on ArchLinux, and I have tested that with ffmpeg the microphone works and I can record a wav file. But when it comes to using online flash recorder, it shows that "Microphone ...
4
votes
5answers
1k views

How will single-bit memory error affect Linux?

I'm rebuilding a three-year-old AMD Athlon 5000 system which has an "ASRock NF7G-FullHD" motherboard with 4 memory slots, labeled "DDR2 800", said to have RAM capacity 8GB total. Besides 550W PS and ...
0
votes
0answers
181 views

Fingerprint device not found in Ubuntu

Recently I bought hp probook 450 g6 and installed ubuntu 18.04. The problem is happened with me that I can't found the fingerprint device using lsusb . I contact with hp website and confirmed about ...
0
votes
1answer
15 views

Java Runtime Environment (JRE) not found (linux ubuntu)

I just install java following the easy to follow guide: https://www.java.com/en/download/help/linux_x64_install.xml. So by step I: 1) Downloaded jre-8u221-linux-x64(1).tar.gz from my browser (...
2
votes
2answers
550 views

Kali linux failed after upgrade

My Kali stopped working after upgrade. I run it in recovery mode, and it seems that basic communication (http) packages have some problem. When I try wget or curl I get: relocation error /usr/lib/...
0
votes
3answers
4k views

Unable to get Samba server to work in Linux Mint 17.1

There are two folders AFolder and .AFolder which I want to share through a Samba server. I am not able to get it to work. shivanand@Pattanshetti-home /etc/samba $ cat smb.conf [global] server string ...
0
votes
3answers
7k views

Linux install monitor out of range

I just built my computer and I tried to install Xubuntu, but shortly after I start the install my monitor gives me the message out of range, and it doesn't allow me to finish installing it. I've seen ...
0
votes
0answers
18 views

ssh server on VM does not accept connection from outside host

I have a setup like below: qemu as hypervisor. ubuntu running as a virtual machine with two network adapters: eth0: connected to a user network. ssh port is forwarded to a port from host OS. eth1: ...
1
vote
0answers
8 views

Can I install the python3 version of packages without having to specify python3 in their names?

I am contributing to an open source project and I am currently migrating it from python2 to python3 and I have a list of required_packages which includes: python-mysqldb and python-dev. Because of the ...
0
votes
1answer
18 views

How can I get a list of installed centos packages by only reading from the filesystem?

I am writing a tool for analyzing images and have full access to an image's filesystem. I want to produce a list of all installed packages with name and version info. However, I do not want to ...
0
votes
1answer
5k views

How to copy a file from Windows Subsystem for Linux to Windows drive C?

So I wrote a small program that calculates the Fibonacci sequence in the C programming language and wanted to move the fibo.c file to my regular C drive. The thing is I wrote it using Nano in Ubuntu ...
0
votes
0answers
4 views

Captive portal (nodogsplash) stops working if iptables - hashlimit rules entered (OpenWRT)

I have setup a hotspot device with openwrt. It has nodogsplash installed for hotspot functions and iptables for limit bandwith. When i was testing speed limit script, hotspot was disabled for testing ...
7
votes
3answers
16k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
7
votes
2answers
24k views

Change default DNS server in Arch Linux

I'm in Viet Nam and most social websites (Facebook, Twitter and the likes - even reddit) are blocked by the ISP DNS server. I tried to change the DNS server of my Arch box using the resolv.conf file, ...
1
vote
0answers
4 views

Setting OneDrive location in Windows 10 Guest to host shared folder in VirtualBox

My only solution so far to really have OneDrive running on my Fedora workstation is to have Windows 10 in a VirtualBox VM. I've set up a shared machine folder between the two, and I can access the ...
0
votes
1answer
13 views

how to login to mongodb in bigbluebutton html5

How do I connect to the installed mongodb? How many users are defined for mongodb when bbb is installed? root@srv53607:~# mongo mongo MongoDB shell version v3.4.22 connecting to: mongodb://127.0.0....
6
votes
2answers
6k views

How can I access media on my OnePlus 5 with a Ubuntu OS?

So I want to move the photos on my OnePlus5 to my pc. My OS is Ubuntu 16.04. My PC recognises the device and also pops something up to install the drivers but none of them work for me. . I've tried ...
0
votes
0answers
22 views

Sound card only detected with logged in user

So when I ssh into my Pi and try alsamixer / aplay -l or similiar no Soundcard is detected. but when I log in on the Pi directly everything behaves "normal". How can I get the sound working with no ...
0
votes
0answers
11 views

Node down error on linux

i installed Erlang and RabittMQ on linux Rhel7 when i starting rabittmq it showing # /sbin/service rabbitmq-server start Starting rabbitmq-server (via systemctl): [ OK ] but when ...
0
votes
1answer
623 views

Linux very slow and uresponsive - linux swapper process high usage

My laptop with archlinux kde5 is slow and unresposive, to do all task, open chrome or dolphin, etc. and sometimes freezing for 10-30 seconds like if i have a lot cpu usage, i try with different ...