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,797
questions
-1
votes
0
answers
86
views
Machine is not in committed state in boot. How to fix?
I have HP ProBook laptop OS windows it worked correctly before I install an Linux ubuntu with dual boot. After that when my system boot show the this:
error: warning machine is not in committed state!...
0
votes
1
answer
10
views
How do application menus detect subcategories from .desktop files?
GNOME Flashback's Application Menu, KDE Plasma Application Menu, etc. categorize apps into folders and subfolders like the traditional Windows Start menu. An app like MenuLibre can be used to edit ...
0
votes
1
answer
34
views
grub-mkconfig doesn't populate /etc/grub.d/10_linux menu entries (Void Linux)
I have been writing a script to install Void Linux (I need something more granular that void-installer). I am able to install grub without issue on UEFI but the BIOS install doesn't work.
I do grub-...
0
votes
0
answers
22
views
How to config Chrome policies per profile on Linux?
Some Chrome policies, like this, is listed as "Per Profile : Yes".
However, Chrome linux policy help [A]: https://support.google.com/chrome/a/answer/9027408
does tell how to config policy at ...
0
votes
0
answers
51
views
How to sync filesystem and wait until it's done
On my embedded device, I want to let user export logs on plugged USB disk. USB disk is normally used only to read, so I don't care much about safe unmounting. But when logs are stored to it, I need to ...
0
votes
0
answers
23
views
Samba can't access to directory created by local user
I have samba share
[Attachments]
acl_xattr:ignore system acls = Yes
acl_xattr:default acl style = windows
dos filemode = true
acl allow execute always = Yes
acl ...
0
votes
1
answer
42
views
The state of the guest machines mismatched in virtualbox
Running guest machines show as powered off in Virtualbox
Questions:
I have many VMs in virtualbox, some VMs were created by Vagrant, others created manually via GUI. But whenever I start VMs using ...
0
votes
0
answers
21
views
Validating Changes to pam.d (like visudo)
I'm working on an Ansible task for setting fingerprint sudo usage in MacOS. This is done through a custom rule in /etc/pam.d/sudo_local.
Is there a method to pre-validate edits to PAM for safer ...
0
votes
0
answers
23
views
Can I autoconfigure both interfaces as slaac (accept_ra 1) on a non-router device?
Need clarification to the following statement
Also, due to restrictions in the IPv6 specification, it is not recommended to autoconfigure a host with multiple external interfaces (like 2 ethernet ...
0
votes
0
answers
28
views
I want to make a file edit and a program start stop from browser on a Ubuntu VPS - Is it possible
I have this file called names.txt and its location is in home folder of Ubuntu /home/abc/names.txt, I want to be able to edit it using browser by going to http://IP and edit the names.txt file from ...
0
votes
1
answer
47
views
How to rsync to a server that does not have rsync but has the SCP tool
The remote server is a FreeBSD like system from which rsync is not installed :
$ ssh [email protected] which rsync scp
Password:
rsync not found
/usr/local/bin/scp
$ rsync -a /ring/0/share/...
0
votes
0
answers
36
views
How to add a new SSK key to a remote server and make it works? (with Hetzner)
Problem
I've lost an ssh key and thus cannot connect anymore into my Hetzner server.
I've read a lot of answers but couldn't make it work...
I've also tried to reset my root password, but even with ...
-1
votes
1
answer
45
views
oracle vm instance, no matches found
I am trying to launch chromium on Oracle-Linux-8.9-2024.01.26-0 it is a vm i got from oracle, yet I get the following error
root/.cache/puppeteer/chrome/linux-121.0.6167.85/chrome-linux64/chrome: ...
0
votes
1
answer
61
views
Inconsistent du output on /usr
First here is the size of /usr :
$ sudo du -sh /usr
6.2G /usr
$
When doing a du on the directories at the / and selecting /usr, I get this :
$ sudo du -sh /*/ | grep /usr
du: cannot access '/proc/...
1
vote
1
answer
77
views
How do I create a pty without a shell?
Backstory: I have a CLI Python application. I want to be able to debug it without interfering with the CLI of the main application. The Python debugger allows you to specify an alternative stdin/...
0
votes
2
answers
135
views
How to make the activation of function keys permanent in Arch
Searching I found THIS question that explains how to activate function keys, only the changes don't seem to be permanent.
at each startup the content of the file /sys/module/hid_apple/parameters/...
0
votes
1
answer
115
views
Inconsistent free space
Dolphin and df both say my root partition has 52GB free
$ df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme1n1p2 729661224 638789260 53760636 93% /
$ df -h /
Filesystem ...
0
votes
1
answer
75
views
HDD makes a noise occasionally, and I get this error
I've tried changing the SATA Cables, and SATA Power Cables from the working HDD's to this HDD but I still get this error, and the other drives work fine. I've tried adding the libata.force=noncq ...
0
votes
0
answers
97
views
Can't boot without acpi=off
First: this might gonna get a long one, but I‘m desperately looking for help!
Second: I‘m a total newb on Linux, so I have really limited Linux know-how.
Specs:
Asus ROG Strix G15DS-R7700X088W
AMD ...
0
votes
0
answers
46
views
Network speed is dropping while downloading
We’ve got a local network consisting of around 200 PCs located at 2 addresses. All of these PCs are connected to the network via 8 routers, around 30 PCs for each one. All of these PCs are running on ...
0
votes
0
answers
40
views
Recover Linux Mint HDD
I have an HDD that doesn't work anymore. It was working fine, but the OS was lagged and the user turned off the computer using the power button, after that the bios doesn't recognize the HD anymore.
...
3
votes
1
answer
161
views
Why does DD'ing a raw image change the image when read back
I have a .RAW image. The image contains a single partition.
I have created a loopback based device. I created a single partition on that device.
I'm writing my .RAW to the partition.
sudo dd if=/tmp/...
-3
votes
1
answer
173
views
How to put Windows 10 on a thumb drive with Ventoy to install?
As suggested, I've downloaded Ventoy and did run the shell script. It's not clear to me what "install ventoy" does, but I did install it to a USB stick. How would I then get Windows 10 ...
-1
votes
1
answer
392
views
cant install gnome on parrot os because of unmet dependency
I have been trying to install parrot-desktop-gnome on parrot os.
running sudo apt install parrot-desktop-gnome gives me this output:
Here
I tried update and upgrade commands
this is my source.list:
...
1
vote
1
answer
30
views
change language for pdf export in libreoffice calc
This must surely be obscure but I'd really like to fix it for an important document.
My system language is in one European language. Still, I managed to change all the languages for a Libreoffice Calc ...
0
votes
0
answers
47
views
Failed to enable unit: Invalid argument systemctl enable .service
I have made a startup_test.sh with the following contents
cd /home/xyz/Desktop/
gnome-terminal -e "bash -c ./efg"
#desktop folder contains an executable named efg.
If I run gnome-terminal -...
1
vote
1
answer
48
views
How to "find" while following specific symlinks on Linux?
I would like to find files (with similar feature to find), but follow and only follow specific symlinks (by pattern matching).
Apparently find itself cannot handle it: There is no option to setup ...
0
votes
0
answers
78
views
How do I install glusterfs-server using rpm on Oracle Linux 9?
I have to install glusterfs-server using rpm on oracle linux 9.
I just found how to install glusterfs-server on other linux distributions.
But, I can not found any solution for oracle linux 9.
Oracle ...
0
votes
0
answers
86
views
How to get minimal vendor information about the TPM chip installed in my laptop
How do I get some minimal information about the TPM chip in my Linux laptop?
Information such as the manufacturer, manufacturer id, manufacturer version.
So far I have tried the tpm2_getcap command to ...
0
votes
1
answer
79
views
What path to write a Windows ISO to create a bootable thumb drive?
Was looking to use PXE, but now just directly downloading the Windows 10 ISO as:
nicholas@mordor:~$
nicholas@mordor:~$ ll /media/nicholas/
total 18
drwxr-x---+ 5 root root 5 Feb 19 18:23 ....
0
votes
1
answer
61
views
Where to download a Microsoft PXE image?
When I look for a Microsoft PXE image to download I can only find different tools which will build a PXE image.
Is it still possible to simply download a Microsoft PXE image directly?
Looking to make ...
0
votes
0
answers
21
views
How to stop messages like zenpower_read, get_core_current, etc. flooding dmesg output every second?
My dmesg output is full of messages like these:
[105096.565468] zenpower_read
[105096.565472] get_ctl_temp
[105096.565474] kernel_smn_read
[105096.565530] zenpower_read
[105096.565531] get_ctl_temp
[...
0
votes
1
answer
32
views
shell helper function wrapping `find` and ignoring some dirs
I have a bunch of scripts which follow the pattern of:
find files which match a pattern
do something
The problem is that there are several "hazard" directories which are large and slow, ...
-1
votes
1
answer
87
views
"Duplicate" serial device - read/write from 2 processes
I have a serial/rs485 converter to read/write from a Modbus device.
I have the need to be able to read and write from 2 process.
How can i "copy" the real device /dev/ttyUSB0 to specify in ...
0
votes
1
answer
389
views
Constructing encoding statements using ffmpeg QSV and Intel ARC card
I purchased an Intel ARC A770 with the intent to test hardware encoding with AV1 and HEVC under Linux. Being newer to ffmpeg, I need help constructing ffmpeg statements to engage the Intel QSV ...
0
votes
0
answers
52
views
Connect to VPN working inside WSL from Windows environment
I have a remote VPN set up, to which I can only connect to via Linux machines. As of now, I do have access from WSL to this VPN, meaning I can ping and interact with the hardware that is only visible ...
0
votes
1
answer
71
views
Automatically booting from SSD not working as expected?
I bought a Lenovo ThinkCentre machine, used.
I've installed Ubuntu from an USB flash drive. When I start the machine, it says, no bootable device found. I went into BIOS and set the primary boot ...
1
vote
0
answers
66
views
Firefox started to forget usernames
I have Firefox 115.7.0esr (64-bit) on Linux. In some recent update (approx a few months ago) something changed.
Old behavior: User names were saved and I always opted to not save passwords. When I ...
-1
votes
1
answer
395
views
How do you use Windows Remote Desktop to connect to Remmina?
I have a Chromebook with a Linux Virtual Environment that is a Debian 12 Bookworm.
I installed Remmina after looking to RDP to my Windows XP OS. I know that I can connect to my Windows OS from Linux ...
0
votes
1
answer
45
views
Linux Find directories that don’t containing a specific type of file? [duplicate]
I'm new to Linux and I want to find directories which doesn't contain a type of file, like *.jpg.
Is there a parameter of the find command to do that?
1
vote
1
answer
86
views
How to force a linux binary to use only its own provided shared libraries?
I'm using an application, PowerISO, that comes with no source code, only its binary and the required shared libraries.
I've used it for a number of years on Debian 10, but now I'm on Debian 12, it no ...
0
votes
0
answers
61
views
How to proxy all traffic received by Windows using Linux and redsocks?
I have a Windows machine where all of it's traffic is routed through a Linux machine simply by doing changing the Windows route :
route add 0.0.0.0 mask 0.0.0.0 192.168.1.48 where 192.168.1.48 is the ...
0
votes
1
answer
38
views
routing traffic using iptables and l2tp
Internet restrictions in my country have essentially made it impossible for VPNs to work.
As such, I wanted to circumvent this issue by using the following method.
Although "residential" ...
2
votes
1
answer
66
views
Unable to install MariaDB after deleting /var/lib/mysql, because mysql.user exists
I tried to install MariaDB on my system (Manjaro) and after install with mariadb-install-db I couldn't get the service running. I figured this was because I run the command without root (I was ...
0
votes
0
answers
24
views
No completly encrypt and mount LVM during boot after update to bookworm
few day ago I update system and then problems begin to happen.
During boot I were thrown to initramfs (no drive found), so only option to continue is to do command below:
cryptsetup luksOpen /dev/...
0
votes
1
answer
75
views
What are the differences between mountpoint=legacy and mountpoint=none for ZFS datasets?
I have noted that some tutorials (ex.: Arch Linux Root on ZFS) use mountpoint=legacy while others (ex.: Install Arch Linux on ZFS) use mountpoint=none for what the datasets used as a containers for ...
0
votes
0
answers
294
views
Debian 12 install failed to install grub boot loader and now will only boot into grub and won't dpkg
Hardware:
Mini PC
Intel 12th Gen Alder Lake- N95
8GB DDR4 RAM
256GB PCIe 1X SSD
Tried to install Debian 12 on whole system from flash but failed to install boot loader and now only boots into grub. ...
0
votes
0
answers
137
views
Having DDC/CI detection issues with different USB-C adapters on Linux
I'm experiencing a challenging issue with DDC/CI communication between my laptop running Ubuntu Linux and two external monitors connected via a USB-C to HDMI adapter (hub).
While DDC/CI functions ...
0
votes
0
answers
27
views
No internet connection after setuping OpenConnect server on ArchLinux
ip tuntap add mode tun dev vpn0
ip addr add 192.168.2.2/24 dev vpn0
# systemctl restart ocserv
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 8443 -j ACCEPT
iptables -...
1
vote
1
answer
148
views
Can transfer files using WinSCP but scp or rsync fail with errors like "Connection closed"
I get errors when trying to transfer files using scp or rsync, but I can transfer files using WinSCP, and it's using SCP protocol.
I'm running WinSCP on Windows 11 and scp rsync on WSL2, and when I'm ...