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,933
questions
-1
votes
0
answers
10
views
Yocto and ARM documentation and suggestions [closed]
I'm trying to build a Yocto release on Docker for ARM but need some help figuring out the ARM side of things.
I saw in a post that adding IMAGE_INSTALL += "python3-dev" to the local.conf ...
0
votes
0
answers
14
views
RHEL + can't resize the partition sda2 on RHEL 7.2 machines while it's passed on higher RHEL version
We have old Linux machines with RHEL7.2 and others with RHEL7.6
We want to resize the partition sda2 and then grow the filesystem. ( as /var or root filesystem )
The thing is that we succeeded to do ...
0
votes
0
answers
14
views
Display new prompt after tty redirect on second terminal
I'll try to explain the title better :)
I have two terminals tty1 and tty2, let's call them that.
From tty1 I redirect the output from echo to the tty2 terminal with:
echo hello > $(tty2)
This ...
0
votes
0
answers
5
views
How could I set to macOS shortkeys on Linux desktop distros?
I am looking for a solution to keep using macOS styled shortkeys on linux. Any distro or GUI environments that may achieve this would be acceptable.
What I mean by macOS styled shortkeys is about ...
0
votes
0
answers
14
views
Sharing an alsa sound device between moode audio and ledfx
I have a Raspberry Pi with a Hifiberry Amp4 that runs Moode Audio. It plays fine sounding music from Moode through my Sonance ceiling speakers. I would like to integrate reactive leds with LedFX but ...
0
votes
0
answers
17
views
How to prevent iptables NAT caused network jitter?
Background is as follows:
Currently, we have an OpenVPN tunnel that connecting from Point A to Point B (Point B has a public IP address), but if the internet route is suboptimal, the latency is quite ...
0
votes
0
answers
21
views
Why can I see many traffic forwarding on my machine
I'm working in a LAN, which is a cloud product. I have many Linux machines in this LAN. I deployed my whole web-service backend in this LAN.
Today, I executed tcpdump -i eth0 -nne -p on a machine, ...
1
vote
0
answers
31
views
How can I programatically start a new session as another user in the same seat
Within a running session (KDE6, wayland) that is locked, from a daemon (KDE Connect), I want to start a session (Gamescope/Steam) as another user and run a streaming software (Sunshine), which needs ...
0
votes
0
answers
20
views
Btrfs snapshots are empty
I am using btrbk to make snapshots of my @home subvolume, but the snapshots are empty, zero bytes.
I think I need to automount home, somehow.
I see in the Btrfs Assistant File Viewer that the root ...
0
votes
0
answers
40
views
Running soft AP and bridge mode on laptop for legacy connections, connection fails
Recently, I’ve resumed playing Mario Kart DS, an old (2005) Nintendo game available on the Nintendo DS console, including playing online. The online service has been closed by Nintendo for a long time ...
0
votes
0
answers
34
views
How to redirect requests to remote machine to localhost using nftables?
I have the following nftables configuration:
[root@localhost andrew]# nft list ruleset
table ip nat {
chain prerouting {
type nat hook prerouting priority dstnat; policy accept;
ip ...
0
votes
2
answers
39
views
Run GUI terminal from crontab
I have been trying to open a terminal in GUI via crontab. This question describes it can't be done as desktop and crontab runs separately. Is there a way where I can trigger script from crontab but ...
12
votes
2
answers
2k
views
How does ls know how to output its results?
While creating a bash script, I found that this code ls puts all files on one line:
pi@raspberrypi:~/ptlrestinterface$ ls
update.sh web.config MyApp.runtimeconfig.json
still ls | head -n1 ...
0
votes
0
answers
14
views
VLC: Split Video onto Two Displays with Command
I need to display a video on two screens with VLC by command, in a non-manual way on my Raspberry PI.
The two screens are each connected by a HDMI cable. The video files have the 3840 * 1080 ...
0
votes
2
answers
18
views
glib2 gio operation not supported trash
I would like to empty the system trash the proper way (ie not just rm -rf) and for this I wanted to use glib2, which provides a command called gio trash which can be used to interact with the trash. ...
0
votes
2
answers
46
views
Decryption a token which is encrypted in lower OpenSSL version
We are currently using OpenSSL 1.0.1 to encrypt a token as below:
Encryption:
echo $TOKEN | openssl enc -aes-256-cbc -e -kfile <path of kfile> -md sha256 | base64 -w 0
Decryption:
echo $TOKEN ...
0
votes
1
answer
22
views
Communication between 2 internal NICs when using ip tables to route internrt
My Setup:
In my home setup, I have 3 NICs one that is connected to the internet (enp1s0),
The other two forward internet access to local devices (enp2s0 & enp3s0).
PC1 is connected to enp2s0 with ...
0
votes
2
answers
31
views
Crontab task execution
I am trying to run a simple script through a crontab task but nothing is run. Any error is displayed. I make the following:
Create a simple script with the following code: echo "Hola mundo"....
0
votes
0
answers
18
views
How can I execute a command whenever I change the PowerDevil power profile?
I have a laptop with a variable refresh rate (up to 120Hz) monitor. I want to change the refresh rate to 60 whenever I switch the power profile to "Power Save" in Powerdevil, and change it ...
0
votes
0
answers
23
views
Error trying to install S.u.S.E. Linux 5.2 in VirtualBox 7.0.16
Trying to install S.u.S.E. Linux 5.2 under VirtualBox 7.0.16 I get an error when installing the selected packages: "package aaa_base-98.5.20-0 is for a different architecture... ABORTED":
...
1
vote
0
answers
23
views
Why does git checkout -f not revert my modified changes?
I always use git checkout -f to revert changes to the last commit and never had any problems. Rarely though do I get into this weird state where it doesn't work and I have no idea what is going on.
...
1
vote
0
answers
16
views
WSL2: Graceful shutdown of MDADM and/or p9 subsystem
I am running MDADM under WSL2 (Ubuntu, kernel: Linux home 6.1.21.2-microsoft-standard-WSL2), and access files from windows applications via standard p9 interface.
Unfortunately, I cannot gracefully ...
0
votes
0
answers
21
views
Touchpad Right-Click on Debian
I am running Linux Mint Debian Edition on my Chromebook laptop. ChromeOS has an amazing feature where if you hold ALT, then click, a right click will register. I did some quick searches online and I ...
-1
votes
0
answers
48
views
Wrong Time-zone in WSL2
Windows 10 19045.4291
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-...
0
votes
0
answers
42
views
Split-tunnel VPN with openconnect-sso
I was happily using the OpenConnect plugin for NetworkManager on Linux (Kubuntu), restricting the VPN use to a particular subnet. I did that in the GUI, by specifying an IPv4 route (x.y.z.w, mask 255....
0
votes
1
answer
41
views
Can't access internet after changing the router
I have a desktop running proxmox that I can ssh into. After moving houses and changing the router, I stopped being able to ssh into it. After connecting it to a monitor and keyboard to troubleshoot ...
1
vote
0
answers
14
views
Not able to access VM from host
I have kali linux in Virtual box and windows 10 as my main OS but when I try to access Kali linux from any external host through IP address of Kali linux then Kali linux cannot respond and when I used ...
0
votes
0
answers
6
views
Why do I observe an ICMP Destination Port Unreachable (Type 3, Code 3) when GRE tunneling with iproute2?
I am testing the native GRE tunneling functionality of iproute2 in linux network namespaces. The simulated setup involves 3 different namespaces with 2 bridges and 4 veth pairs.
One network namespace ...
0
votes
0
answers
27
views
SSH key works for FileZilla and Windows CMD, but not PuTTY
I upgraded Raspbian on my 6 Raspberry Pi units from Bullseye to Bookworm by:
Updating /etc/apt/sources.list.
sudo apt update
sudo apt full-upgrade
I didn't change anything in the upgrade. The ...
0
votes
0
answers
49
views
My USB flash drive is corrupt and I can't format or mount it
The USB flash drive is a DataTraveler 104 32GB. I used to use it, but it has stopped working.
If you plug it in on Windows, it freezes the disk management and the file explorer.
On Debian, disks show ...
0
votes
0
answers
14
views
Trying to understand output of p-states (amdgpu)
Currently i'm trying to understand how GPU Overclocking (RX6600) works under linux. I read the Arch Wiki about amdgpu and made some "discoveries" i don't really understand.
For example if i ...
0
votes
0
answers
11
views
Unable to Connect to VirtualBox Guest OS (Rocky Linux 8) from Host (Windows 11) Terminal and No Internet Connectivity
I am currently using Oracle VirtualBox
7 with Windows 11 as the host OS. Within VirtualBox, I have Rocky Linux 8 installed as a guest OS. Initially, I had configured the network settings to bridge ...
0
votes
0
answers
7
views
How to specific dark colour (color) scheme for all LibreOffice applications except LibreOffice Draw? (Linux)
I find dark mode most suitable for all the LibreOffice applications except LibreOffice Draw.
How can one specify to use a dark application colour (color) scheme for all LibreOffice applications, ...
-1
votes
0
answers
19
views
Kali linux bluetooth not working
im running dual boot(window 11pro and kali linux) on my laptop HP ZBook Firefly 16 G10 with i5 1340p.
i tried seting the bluetooth up by i ran it to this problem:screanshot of my terminal.
Does anyone ...
0
votes
0
answers
23
views
Create a tar.gz file without parent folder "."
I try to archive a logfile folder.
The problem im having with this, is that tar creates a archive that has a folder with a dot in it, and only when i open this folder, i see the files.
How can i ...
1
vote
1
answer
27
views
Dual boot | Dual drives: Linux over Windows
Preface: This is/was an attempt at creating a dual boot laptop (Asus), primary drive is housed on the motherboard sda has Linux Mint installed, secondary drive sdb has Windows 10 installed and plugs ...
0
votes
0
answers
11
views
Install unstable fingerprint sensor EgisTec-EH575 Fedora
I recently installed Fedora on my Acer Swift 3 (SF314-511) and everything is working fine, except the fingerprint sensor. It seems there is no stable driver for it, but I managed to find an ...
1
vote
1
answer
46
views
Complete overview of Bash and Zsh startup files sourcing order
I was confused in what order my shells source which files. When researching this for myself, I came across several sources online and even read some parts of the manuals for both shells. But still, ...
0
votes
0
answers
8
views
Extract option missing from Files (Nautilus) after upgrade/conversion to AlmaLinux
I recently upgraded and converted my server from Centos 7 to AlmaLinux 8 via leapp, and after upgrading, I noticed that in the default Gnome3 file manager (nautilus), under Centos 7 I could right lick ...
1
vote
1
answer
17
views
linux last status change time / last modification time
When I modify the content of a file, for example by date > f.txt then I execute stat f.txt
I see that both last status change time and last modification time are both are changed.
I am looking for ...
0
votes
0
answers
11
views
Why does traefik only work if containers are placed into the network traefik_default?
I've inherited some Docker host being used as reverse proxy for a public HTTPS entry-point, so that multiple different webapps can be hosted underneath the same HTTPS entry-point.
https://foo.example....
0
votes
1
answer
102
views
give <user> the same permissions as root using sudo [duplicate]
To do this, I seem to have two options:
add (user) to the sudo Group:
# usermod -aG sudo <user>
add (user) to /etc/sudoers
# visudo /etc/sudoers
.........
<user> ALL=(ALL:ALL) ALL
....
...
0
votes
1
answer
36
views
Does Kernel Driver backports from the later version to the older version still works?
I am looking about Kernel Driver Backports.
https://developer-archives.toradex.com/knowledge-base/kernel-backports-integration/
There is a comment in the link saying backports allows the use of ...
-1
votes
1
answer
53
views
is there a way to do something like a KVM but between OS on the same computer?
I need Windows to play games and modify them. Simply using Linux compatibility isn't enough.
However I'm starting to hate Windows because I cannot know or control all the information it sends, and who ...
0
votes
0
answers
24
views
Keyboard shortcut to open Edge with different profiles
On Windows, I could press Win+2 to open Edge with my Work profile, and Win+3 to open Edge with my Personal profile (2 and 3 were just the positions the launchers took in the application bar at the ...
-2
votes
1
answer
45
views
Fix EFI/Microsoft in Windows 11 using Linux
I destroyed EFI/Microsoft. and Recovery Media doesn't work either. Are there any suggestions for fixing EFI/Microsoft in Linux based OS. My Windows version 11. I was going to install refind but ...
0
votes
1
answer
33
views
sed does not consume rest of the line
I have one line of different words stored in a txt file
N/A 9.0 Yes Yes N/A N/A N/A N/A 8.8 Yes Yes N/A N/A N/A N/A 8.7 Yes Yes N/A N/A N/A N/A 9.2 Yes Yes Yes Yes Yes Yes 9.1 Yes Yes Yes Yes Yes Yes ...
1
vote
0
answers
21
views
802.11 frames gets resent by my linux
My program is sending custom 802.11 frames for WPA handshake, like authentication, association or acknowledgement. Yet the operating resend the same packet with modifying its radiotapheader and ...
0
votes
0
answers
27
views
Installing NVIDIA RTX A5000 GPU hangs on Windows 10 on Proxmox using GPU pass-through
I’m installing an NVIDIA RTX A5000 GPU in a Proxmox virtual environment using GPU pass-through. The virtual is Windows 10 Pro. GPU card is plugged on HP Z640 Tower Server - Intel Xeon E5-2670 V3. I'm ...
0
votes
0
answers
65
views
Windows found problems with the file system that could not be corrected?
I have a NTFS formatted USB drive that I use both with Linux and Windows 11 and it normally works OK. Recently Linux gave me a rather dire sounding error:
zog@kb:~$ sudo mount /dev/sdc2 ~/Templates/
[...