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.
19,757
questions with no upvoted or accepted answers
1
vote
1
answer
957
views
Replace a line containing special characters in all files recursively using SED MAC
I was trying to replace a line with another using SED on MAC OS X Terminal
I have a scenario where I need to replace a line in all files present in a directory with another line.
Both lines are ...
1
vote
0
answers
254
views
My keyboard is set to US but using UK (@ and " switched)
I installed Debian recently and the keyboard setup was set to UK. So I tried to reset it with # dpkg-reconfigure keyboard-configuration and then did # service keyboard-setup restart.
After that did ...
1
vote
0
answers
886
views
Disbale nouveau driver in Centos 8
I have windows 10 preinstalled in my msi ge62 apache laptop. I am trying to dual boot it with CentOS 8 workstation.
The problems I face are:
1. I have to go and install centos in basic graphic mode ...
1
vote
1
answer
182
views
Grub does not find windows10
so yesterday I changed from Linux Mint to Manjaro with Gnome and wanted to just remake my grub config. Sadly grub does not find my Windows Boot.
Output from lsblk:
sdb ...
1
vote
1
answer
4k
views
Nano displays spaces instead of some symbols
I have a feeling that I have this bug, however I've just installed new Nano 4.7 from sources
When I open files, a lot of symbols (even non-unicode) as not displayed properly, but displayed as spaces. ...
1
vote
0
answers
1k
views
How to change copy/paste shortcut on linux system (GNOME)
I would like to change shortcuts of copy, past, cut, etc.. on kali linux. Trying to set it more like OSX.
I found some shortcut options in settings and by command "gsettings" in terminal. But these ...
1
vote
1
answer
2k
views
Is there a way to see all output in PuTTy using screen?
I have a linux server that is connected to my ec2 instance and I'm trying to do some debugging when I'm in screen. The issue I'm facing is that sometimes I get big long error messages that fill up ...
1
vote
2
answers
779
views
I cannot create more than 6 Jack Pulseaudio Sinks/Sources, is there a maximum? Only in Manjaro Linux, fine in Ubuntu
I have an audio setup (carried over from Windows) which involves numerous virtual audio sinks/sources, all routed through a DAW, for ducking and filtering, mostly for streams.
To do this on Linux, I'...
1
vote
1
answer
1k
views
linux dual monitor setup each connected to intel and nvidia gpus
My computer is intel 9600k + vertical monitor + z390 chipset + nvidia rtx 2060 + horizontal monitor + Gentoo linux + Xorg server 1.20.6 + gnome 3.32.2
In the UEFI i've set intel iGPU as primary GPU.
...
1
vote
1
answer
75
views
Purpose of setting GID to -1?
On a CentOS 6 server, I'm seeing the following in the first line of /etc/group:
root:x:-1:
It looks like an error to me. But then again: Could there be a valid and/or clever reason for setting root'...
1
vote
1
answer
644
views
Find process using outbound port
I have a server listening on port 7060, and something else local is connecting to it. How can I find the PID of the other process?
$ sudo netstat -plant |grep 7060
tcp6 0 0 :::7060 ...
1
vote
0
answers
1k
views
Linux broadcast message about a scheduled reboot and how to disable them repeating over and over
If I'm logged into a server for an extended period of time I get a broadcast setting ever hour about the server going to reboot at 2.00am. Is there a way to disable these messages or at least only ...
1
vote
0
answers
236
views
Launch multiple RStudio sessions from Docker on EC2
I managed to install RStudio through Docker, running on port 8787 on my EC2 instance.
I wanted to add another RStudio session (not necessarily sharing the same volumes), so I tried the following:
...
1
vote
0
answers
511
views
Dual Booting Linux: error IOAPIC[4] not in IVRS table
I'm trying to dual boot Ubuntu on my Dell Inspiron 7375 with the latest BIOS firmware and with the latest version of Windows.
I have a USB stick that was flashed with the 18.04.3 Ubuntu disk image ...
1
vote
0
answers
3k
views
How can I convert a HEIC file to a JPEG file, in Debian?
This question appears to address this https://askubuntu.com/questions/958355/any-app-on-ubuntu-to-open-and-or-convert-heif-pictures-heic-high-efficiency-i
However, on Debian, adding the required ...
1
vote
0
answers
712
views
How to a access nvme ssd with raid mode in bios settings?
I know the real answer is to set ahci in uefi settings, but in my case, the uefi is password protected (the problem is not removing the password but actually keeping it).
I can also add that the ...
1
vote
0
answers
35
views
Screen going black and OS not booting
Using Manjaro KDE.
In an attempt to install nvidia drivers, i blacklisted the nouveau drivers typing "blacklist nouveau" in /etc/modprobe.d/nouveau_blacklist.conf and then rebooted. *Didn't reboot
...
1
vote
0
answers
45
views
I can't use the window manager of my choice, nor the display manager
I'm stuck with xfce and a text-only login screen. I've tried to run
startkde
instead of
startx
to see GUI and I got this
$DISPLAY is not set or cannot connect to the X server.
I tried to fix it ...
1
vote
0
answers
377
views
Messed up ACPI tables on HP Envy x360/Arch Linux
I recently installed Arch Linux on my laptop, an HP Envy x360. For the better part of a year, I hadn't been able to get my install flash drive to boot, but yesterday I managed to get it up and running....
1
vote
0
answers
447
views
Why would Linux use swap space when there is so much buffer/cache available?
When would Linux choose to swap out instead of using the free memory or buff/cache space?
Here is my data on my computer:
$ free
total used free shared buff/cache available
...
1
vote
0
answers
416
views
NetworkManager not listing wifi
A few days ago my computer(Arch Linux + Gnome) suddenly couldn't connect to the network, NetworkManager couldn't scan any wifi connection. systemctl status wpa_supplicant output ioctl[SIOCSIWENCODEEXT]...
1
vote
0
answers
1k
views
Wifi network interface disappeared in iwconfig and ifconfig (Ubuntu 18.04)
When my laptop with Ubuntu 18.04 turns on or reboots it doesn't connect to wifi because wlp1s0 interface that was responsible for wifi adapter disappeared in iwconfig and ifconfig. However, when i ...
1
vote
0
answers
83
views
Timestamp overlay added video has some frames which have the same PTS
I added timestamp overlay to an mp4 video by this command
ffmpeg -nostdin -i input.mp4 -c:v libx264 -profile:v baseline -vf "drawtext=x=(w-(max_glyph_w*13))/2: y=H-h/10:fontcolor=white:fontsize=h/14:...
1
vote
1
answer
4k
views
Installing libssl-dev 1.0.2a on Ubuntu 18.4
I'm trying to get installed libssl-dev 1.0.2a on Ubuntu 18.04 but to no avail. This version is recommended to install a version a software.
i tried
sudo apt-get install libssl-dev=1.0.2g-1ubuntu4.10
...
1
vote
0
answers
716
views
How to force the installation of a local extension with a Chrome policy?
I use the Google Chrome policies on a couple of Linux workstations to force some settings. I need to force each browser to have a local extension (not from the Google Chrome store).
...
1
vote
0
answers
336
views
netsh interface ipv6 show prefixpolicies equivalent for Linux?
I'm hoping to identify the IPv4/IPv6 preference order configured on a host. As per the title, is there an equivalent of the following Windows command on a Linux host?
netsh interface ipv6 show ...
1
vote
1
answer
568
views
Can user privilege of docker container impact permission of host machine on mounted volume in docker-compose.yml?
I have docker-compose.yml as below,
version: '2'
services:
mysql:
image: centos/mysql-56-centos7:latest
restart: always
container_name: mysql
environment:
- ...
1
vote
0
answers
689
views
Laptop doesn't boot nor enter bios
Model: samsung np300e5x
Short story:
The laptop doesn’t boot from anywhere (usb sticks nor cd) and I can’t enter bios (by pressing buttons nor via app menu).
Long story:
On the hdd I had Xubuntu ...
1
vote
1
answer
2k
views
Setting up bridged networking between Linux host and Windows guest
I have a locked down version of Linux where tools like virt-manager, virt-install are not available.
qemu-kvm, bridge, ip, brctl commands are available though, and I have managed to run aVM running ...
1
vote
0
answers
211
views
OpenWRT: Redirect traffic for single clients to different gateway
I am currently reversing a wifi toy. To analyse the devices protocol I would like to redirect its traffic to a linux machine (kali). Then I am using sslsplit to peek into the ssl traffic (CA.cert is ...
1
vote
0
answers
40
views
Can't connect to server after changing location / ip
I am trying to connect to my debian server from my workplace. However, it always gives me a timeout in Putty / WinSCP on Port 22. I have tried accessing the server through the web via Xterm.js and ...
1
vote
0
answers
1k
views
Proper way to move a pool with virsh to another partition?
The root partition is running out of space so i'd like to move the machines to another directory. They are currently on /var/lib/libvirt/images/, the pool is called images. The VMs are spun up with ...
1
vote
1
answer
897
views
How to determine the actual capabilities of my SD card reader?
I have an Intel Compute Stick STCK1A8LFC which I use as a media player running Linux. I'm using a 128 GB Micro SD Card for storage and would like to upgrade to a larger one if possible.
The Intel ...
1
vote
0
answers
1k
views
How to auto connect PPPoE on Linux Mint?
So, I have Linux Mint 19.3 with PPPoE connection through Network Manager and after i restart my pc this connection is lost, so I have to re-enter my user and password every time I turn on my pc.How to ...
1
vote
0
answers
166
views
Run a new application every time VNC remote session is created by a user
VNC is basically share the remote desktop of the host. I want to open a specific application whenever the VNC session is created to a remote host .There is xstartup script which is used to achieve ...
1
vote
0
answers
166
views
Recover files with broken inode on NTFS
I already saved a broken hard drive using ddrescue to copy the entire drive to a save location. Now I got a lot of files recovered, but some video files are showing like this when doing ls on the ...
1
vote
1
answer
3k
views
KDE Connect not working. (Shows error of cannot be paired because it is running an old version of KDE Connect while I'm using latest version
I'm running Arch Linux in my desktop with 4.19.91-1-lts kernel and packages are up to date.
I've first installed KDE Connect from pacman repository by using pacman -S kdeconnect and latest version of ...
1
vote
0
answers
531
views
Can't connect to virtualbox postgreSQL from host using navicat
I am currently trying to set up some databases using PostgreSQL 9.4 on a guest VM using VirtualBox running centos 6.5. I'm trying to connect to the database using navicat from the host but all it's ...
1
vote
1
answer
50
views
How to print numbered variables
I have the following variables:
display1 display2 display3 display4
and I want to print their containings in one line. I use the following command but I cannot understand why it is not working:
for(...
1
vote
0
answers
338
views
Microphone port on motherboard produces noise even when nothing is connected
I am facing really weird problem. I have a studio microphone with external power that is working perfectly fine on other computers.
My home PC has an issue. It does produce a static noise with any ...
1
vote
2
answers
20k
views
sudo: PAM account management error: Permission denied
I'm trying connect a Linux machine to AD and I made some changes in some files below:
/etc/krb5.conf
/etc/pam.d/system-auth
/etc/samba/smb.conf
After these changes I connected the server to AD with ...
1
vote
0
answers
533
views
Create a live video stream using images
I am looking for a way to generate a live video stream from a single image that is updated constantly. The live stream would display the last generated image repeatedly until a new image arrives.
...
1
vote
3
answers
151
views
how to awk from n to n elelment
grep -i 'search' var/log/sample.log | less -S | awk '{print $1,$2,$3,$31,$32,$33,$34,$35,$36,$37}'
I want to print from 31 to the end or from 31 to the 34 element only, and I don't want to list them ...
1
vote
0
answers
305
views
Access Data on a Harvested GPT Protected SSD
I have an SSD drive that was in a Windows PC, the drive was GPT protected,
I connected the drive via a dongle to an USB port.
My Linux machine is seeing the drive , but it appears empty with no ...
1
vote
0
answers
305
views
How do I send my command history to two different history files?
Is there any way to have my commands sent to a secondary history file besides the default history location? I know that setting HISTFILE will send my commands to a custom locations, but I still want ...
1
vote
1
answer
460
views
Suspend/Hibernate works only a couple of times
Usually, after restarting, I can run
systemctl suspend
once or twice, after which, it gives me an error:
Failed to suspend system via logind: There's already a shutdown or sleep operation in ...
1
vote
0
answers
632
views
Default ownership and permissions on root directory Synology DSM
I was trying to setup the Git server for Synology DSM 6.2 and to do so, I logged in via SSH using the root user (switching from the admin account during the SSH session).
While setting up the folder ...
1
vote
2
answers
2k
views
VGA and Audio assigned to VFIO but not USB and Serial Controller of RTX 2080
Summary
I'm trying to set-up GPU-passthrough on a linux host with KVM so that I might run a Windows guest for gaming. I've been having a problem where some IOMMU entries (all belonging to the GPU I ...
1
vote
0
answers
196
views
How can I determine my QNAP BIOS version without root account?
I would like to determine the BIOS version of a QNAP NAS, using console (SSH) without using a root account.
That means I can't go through:
dmidecode -s bios-version
I have this solution for now:
...
1
vote
0
answers
298
views
Exiting the GRUB pager
I have turned on pager and debug for GRUB in grub.cfg:
set pager=1
set debug=all
Now I'm stuck with long output that GRUB produces. How can I quit that?
I tried using Ctrl + D, Ctrl + C, Esc, Q, but ...