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.
58,250
questions
0
votes
0
answers
17
views
Some keys not working after booting Linux
Sometimes when I boot Linux (any distro), Space and B keys on my laptop keyboard don't work. Booting into any Linux liveCD doesn't fix the issue, but booting into Windows installer does. It happens ...
0
votes
0
answers
20
views
How to solve The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
I am trying to install SQL server on Linex using Ubuntu from this link: https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver16&tabs=ubuntu2204
And, in ...
0
votes
1
answer
29
views
Print "incorrect login" only after password step + change "root" username
I'm on Centos 7, and I need to do 2 things:
By default, "incorrent login" prints right after login step, for example, when I enter non-existent login, but I need full authentification: ...
0
votes
1
answer
16
views
list of /proc/fd/ path
I am using Ubuntu 22.04.3 LTS
When I execute ls /proc/$$/fd I got the following result
0 1 2 255
But when I execute ls /proc/$$/fd/* I got the following result
ls: cannot access '/proc/126708/fd/...
0
votes
1
answer
45
views
USB drive detected as a char device (not block device) on Linux?
I have a Kingston's DataTraveler SE9 (8G, SerialNumber: 0014785448B4BCA13728002A), and I myself am running Pop!_OS, and I can't seem to figure out why it's not being detected. Not in a Windows system ...
0
votes
0
answers
19
views
How to get pre compiled binaries for lp and lpstat?
I want to be able to get all of the printing binaries I need on a machine (lp, lpstat...). I can only SSH to it and I'm not root or have sudo rights. I was thinking I could just import the compiled ...
0
votes
0
answers
12
views
How to copy keyboard layout from one computer to another in Debian?
I need “Russian (US, phonetic)” keyboard layout on Debian 12 bookworm. Where it's not currently available. But I have it on a different computer that's running Debian Trixie/sid.
Can I somehow copy it ...
0
votes
0
answers
17
views
Debian can't wake up after suspend on debian
After some time my systm suspending. After that I can't wake up the computer. I use debian 12 and KDE.
How to fix that?
-1
votes
0
answers
18
views
How can I resize my partition of my Linux LiveCD on my USB stick
I created a bootable Linux LiveCD with Ubuntu Startup Disk Creator.
After creation it created a partition on USB stick with a maximum size on the USB Stick.
How I can resize this partition, because I ...
6
votes
1
answer
923
views
how to remove holes in sparse file on Linux?
How do I remove all holes in a sparse file on Linux? On Windows, I believe the procedure is
fsutil sparse setflag <file> 0
What is the Linux equivalent?
(I know cp <file> <file>.cp; ...
0
votes
1
answer
8
views
Apache load balancer unable to distinguish between different subdomains
I am trying to configure an Apache load balancer to route requests to a number of backend servers but for some reason it seems that the main domain's content is always being loaded, regardless of the ...
-1
votes
0
answers
21
views
Lubuntu 16.04 - Windows 10 doesn't show up in my GRUB menu
Today I install Lubuntu 16.04 to dualboot with my windows 10, I selected the “Install Lubuntu alongside Windows 10” option in the installation menu.
But after rebooting, Windows 10 doesn’t appear in ...
0
votes
1
answer
9
views
How to remove Ubuntu entry from EFI and/or reinstall OpenBSD boot loader?
I have a ThinkPad E15 gen 2 AMD laptop. It has the stock Toshiba NVMe SSD and an Intel Optane NVMe SSD. NVMe0 is a spare drive and NVMe1 is the OpenBSD drive.
I had to do something with a disk ...
0
votes
1
answer
19
views
How can I use dynamic shell+tmux configuration files?
I would like to generate a bashrc configuration file each time I start a particular tmux session, and I want to use my user's default tmux configuration file ${XDG_CONFIG_HOME}/tmux/tmux.conf as well. ...
0
votes
1
answer
21
views
Can reach VPN peer only after ping from this peer
Problem
I have two linux PCs connected to a local network and to a WireGuard VPN network. (let's say VPN subnet = 10.66.66.0/24 and PC A=10.66.66.9 and PC B=10.66.66.10).
The problem is that I can't ...
1
vote
0
answers
24
views
I accidentally delete UEFI partition and now I can't boot Linux Mint
I wanted to add more space for my disk partition, however, I didn't read carefully, and I accidentally deleted the UEFI partition. I still didn't notice how seriously it cause and after I rebooted, ...
2
votes
1
answer
125
views
about special permissions
if I use stat command I see this "0" appearing in "Access" : for example Access: (0644/-rw-r--r--). After some research, I think this value is linked to what is known as "...
0
votes
1
answer
37
views
Make server not to use VPN as a default gateway
I have a local server connected to a remote WireGuard VPN. The server routes all its traffic through the VPN (wg0 interface), but I need it to use the VPN only to communicate with other members of the ...
1
vote
0
answers
45
views
Moving Windows from dual-boot to a separate disk
I have a Windows/Linux dual-boot system on a 1TB SSD.
I want to move my Windows to a separate (256 GB) SSD and keep Linux on the 1TB SSD.
I've found several articles explaining how to move entire ...
0
votes
0
answers
26
views
What things can be done to not get errors at running sdkmanager and other utilities of Android SDK (a version for command line)? [closed]
I try to compile an application written on Python 3.10.12 in Linux Mint 21.2 for Android. According to instructions, for example, this one, Android SDK must be installed. There is a possibility to ...
0
votes
0
answers
13
views
Centos 7 yum update issue
I am getting the below error while doing the "yum update" in centos7. I tried all other ways to fix but nothing is working. Please find the below full error for your information.
Please find ...
0
votes
0
answers
12
views
Can't extend volume in Windows after deleting Ubuntu dual boot, and Ubuntu still shows up in boot options?
I installed Ubuntu to my second SSD (500 GB not main) as dual boot. I have now deleted it as I don't need it but whenever I try to extend the volume to the unallocated space it says there isn't enough ...
0
votes
0
answers
45
views
How to X11 forward after multi hopping in SSH?
I have the following SSH flow: root@HostA -> root@HostB -> root@HostC -> user@HostD
I want to do X11 forwarding for Firefox on HostD all the way back to HostA, since A, B and C don't have ...
1
vote
1
answer
40
views
Linux: how to suppress listing loop devices when using mount command?
Is there a way to prevent including loop devices when using mount command on its own in order to list existing mounts?
When there are dozens of loopback devices it's tedious having to sift through the ...
0
votes
0
answers
11
views
Nested QEMU-KVM hanging with `watchdog: BUG: soft lockup - CPU#3 stuck for 134s!` kernel messages
I have an issue with QEMU-KVM on Ubuntu Server 22.04 running another QEMU-KVM virtual machine.
First VM is launched via libvirt-based Virtual Machine Manager in privileged mode via following command ...
0
votes
0
answers
23
views
Google authenticator MFA codes aren't working in Linux
I want to enable MFA to use sudo commands on my laptop running Debian. I followed steps to enable this, and had the verification codes working for the desktop log in. But in terminal it keeps saying &...
-1
votes
0
answers
27
views
Bios boot option what’s this?
I’m trying to boot from usb in my bios. I’ve come across different options one being
[UEFI: KingstonDataT…]
What is it used for? I’m think of deleting it running mint and trying to reinstall using ...
2
votes
0
answers
79
views
Partitions on a TF card are not working as expected; third partition is not seen
I want to create three partition in a new brand TF card (not micro SD), but I can't sort it out! What I did up to now:
create a disk partition table
fdisk -l /dev/sdd
Disco /dev/sdd: 250 GiB, ...
0
votes
0
answers
24
views
Windows 11, running in qemu (ubuntu host) can't see Windows domain controller on VPN (openfortivpn)
Details:
Windows 11 Pro (guest)
Ubuntu 22.04 (host)
qemu 6.2 (as provided by Ubuntu repos)
openfortivpn 1.17.1
I'm WFH, primarily in Linux, and when I need work resources I start openfortivpn to ...
0
votes
2
answers
148
views
How to test for ext4 Partition? Not ext4 Filesystem
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
Start Update Question due to someone deleted information:
No interest in testing for ext4 Filesystem.
lsblk -n -o FSTYPE /dev/sdb1 ...
0
votes
1
answer
24
views
How to convert ext4 partition on raid 1 to btrfs?
I'm trying to convert two ext4 partitions that are on raid 1 with mdadm to btrfs.
When i try to run
fsck.ext4 /dev/md0p2
fsck.ext4 /dev/md0p3
They return with
e2fsck 1.46.5 (30-Dec-2021)
/dev/md0p3 ...
-1
votes
1
answer
48
views
My wireless adapter is seen in terminal but I cannot connect to wifi in VirtualBox Linux
I have a problem where my VirtualBox does not scan wifi through my wireless adapter but is connected to the ethernet of host machine.
When I do ifconfig then my wireless adapter is shown.
ifconfig ...
0
votes
2
answers
52
views
WAN on router's client device
I have:
OpenWRT router with one Ethernet WAN port, two Gbps LAN ports (one connected to a dumb 8-port Ethernet switch) and WiFi 5GHz onboard, yet no USB port.
Arch Linux ARM powered Pine64 ROCK64 ...
0
votes
0
answers
14
views
Error vsftpd ftp user could download file in any folder of linux server. How to restrict to only home/default folder?
In CentOS Linux server we have ftp software vsftpd, with this config in /etc/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
...
1
vote
0
answers
20
views
Parameter sysctl fs.quota.syncs
I can't find a clear answer about the fs.quota.syncs parameter
What is it responsible for and is it a configuration parameter or a counter?
The value is different on different servers. After reboot - ...
0
votes
1
answer
19
views
How make MIDI editors play MIDI on Linux (without external musical device)
How to make MIDI-files play on Linux in editor like Qtractor or MidiEditor?
Why it is not working when vlc can play these MIDI files
Details:
I was able to make vlc play .mid files on Ubuntu 22.04 ...
0
votes
1
answer
68
views
yum/dnf update fails: The operation would result in removing the following protected packages: nobara-amdgpu-config
Tried running sudo dnf update
but it gave an output:
Error: Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config (try to add '--skip-broken' to skip ...
1
vote
1
answer
78
views
How to Block a Wifi-Router by MAC adress via terminal
I Need a Little help.
Explain : i got in my Home a homespot/hotspot with „ Ssid: Vodafone homespot“.
This is a Service run by every Router from Vodafone where homespot sharing is active. There are 5 ...
1
vote
0
answers
40
views
Do not redraw screen on Linux boot with black, keep splash screen from uboot until HDMI is fully initialized
I'm working on embedded device with raspberry pi and HDMI screen. I want to have splash image displayed during boot, but HDMI in my Linux image is initialized after 13-14 second. I can display splash ...
0
votes
0
answers
59
views
Computer Dell precision on Linux Ubuntu 22.04 LTS UEFI
I have a big problem wich my Linux Ubuntu : when i go to turn it off, my computer remains frozen with Dell splash screen and I will force by pressing the interrupt button. I trying to upgrade my ...
0
votes
1
answer
18
views
Ubuntu not booting properly at all
Today i tried booting my Ubuntu, but it seems like its not able to finish the boot process properly. In GRUB, when i select my kernel version it starts booting as usual but after a few seconds it ...
1
vote
0
answers
35
views
Using rsync to mirror the contents of a directory on a NAS
I have two network attached storages (NAS). I am trying to mirror a directory on nasA (IP ending .69) to nasB (IP ending .11) using a Windows Subsystem for Linux.
On my laptop I SSH to nasA and try ...
1
vote
1
answer
38
views
How to force Chrome to sync bookmarks without re-starting?
I'm doing a small project where I need to programmatically edit Chrome bookmarks in Python preferably.
Default Chrome bookmarks are stored in a Bookmarks file. The regular app settings live under ~/....
0
votes
1
answer
42
views
Recover RAID5 volume after temporary failure of controller
I have an LVM RAID5 configuration, where two LVs are currently not active because one SATA controller did not properly resume from suspend, consequently leading to two devices, i.e. two PVs, failing. ...
1
vote
1
answer
87
views
Is it possible to install Linux OS on a computer with SSH with no monitor?
I have an old computer I want to use as a Minecraft server. It has no working display ports and has Windows 10 installed on it.
The computer is an HP Pavilion m9047c and I want to install Ubuntu ...
0
votes
1
answer
20
views
Where are input events from non-mouse/keyboard USB peripherals (e.g. the buttons on a scanner) sent in Linux?
When I plug in a device like a mouse or a keyboard it shows up as an entry in /dev/input/by-id and I can read bytes from that entry to see what input events have occurred, such as keystrokes and ...
0
votes
1
answer
51
views
Two ULA addresses on one interface
I have a raspberry connected to an OpenWrt IPv4/IPv6 router. As you can see below, on the eth1 interface I get two ULA addresses: fd00::1f0/128 and fd00::27d5:6387:c8e5:3b1a/64
On the router, the fd00:...
0
votes
2
answers
56
views
why is so hard in linux to change permantly hostname?
Suddenly, my machine changed its hostname for unknown reason. I want to set the previous hostname. I can change hostname, very easily temporarily but not permantly!
when I say hostname I mean the word ...
0
votes
1
answer
23
views
Linux Mint: Network connection only several seconds after boot
I have the following problem:
After the boot process, it takes a few seconds until a network is available. This means, for example, that network drives cannot be mounted or certain websites are only ...
0
votes
1
answer
20
views
Is there a way to prevent typing lowercase with both capslock engaged and shift depressed?
We all know the drill: we forget that Capslock is on, then start a new sENTECE. Is there a way, in Linux (either console or X) to actually prevent the combination of Caps Lock and Shift from producing ...