All Questions
235,896
questions
0
votes
0
answers
2
views
Virtualisation vs Partitioning - Rephrased Question
I've been using Linux Mint (MATE 21.2) via Oracle Virtualbox and I've actually taken to it more than my host system (Windows 11). I would switch to Mint as my host system since all my important files ...
0
votes
0
answers
9
views
Virtualisation vs Partitioning
I've been using Linux Mint (MATE 21.2) via Oracle Virtualbox and I've actually taken to it more than my host system (Windows 11). I would switch to Mint as my host system since all my important files ...
0
votes
0
answers
11
views
What is this square icon in Network Manager gui?
Within the last year I noticed that when I connect to my wifi network, the network manager gui looks normal but then after a few hours and more often at night it changes and I see two of the same ...
0
votes
1
answer
11
views
CentOS Kernel panic - not syncing: Attempted to kill int during bootup
Building has a annual power shutdown for maintenance for 2 days.
As such, prior to it, I have shut down the CentOS 6 server.
After the power is back on (2 days later), when I boot back up, I ...
0
votes
0
answers
8
views
mouse freeze - SYN_DROPPED event when using graphical applications
I first noticed the issue when using Davinci Resolve (video editor) : I get random mouse freezes logged by the X server as "SYN_DROPPED event"
$ tail -f /var/log/Xorg.0.log
[...]
[ 12781.613]...
3
votes
1
answer
15
views
ssh `ClearAllForwardings=yes` causes -L on the command line to be ignored
Consider the following command (which is part of a script I'm writing):
ssh -oClearAllForwardings=yes -NL 5555:localhost:5555 foo
I want ClearAllForwardings=yes because I might have LocalForward ...
0
votes
0
answers
8
views
How to can I access the GPIO pins on Raspberry Pi from Docker container and how to avoid conflicts?
How can I configure a docker container so I can access and manipulate a pin of the GPIO and how can I acoid a conflict between more than one container, ex. if two Containers try to turn on/off a led, ...
2
votes
0
answers
37
views
diff -s command says text files are identical when they are not, in zsh on macOS [duplicate]
I've observed unexpected behavior (that seems to be a bug) in diff in recent versions of zsh on macOS, the problem is specifically with the -s directive. diff -s lists difference, but it always adds ...
0
votes
0
answers
22
views
How to check how much space is available on block device disk (e.g not used on partition)
I have multiple block devices: e.g sda (sda1, sda2 & sda3).
sda3 is further divided into LVMs which all has a X amount of space on them. However, I want to be able to list how much space is ...
-1
votes
3
answers
67
views
Need help regarding making multiple columns
I need to convert my data into multiple columns. Input data:
a1 n1
a2 n2
a3 n3
. .
. .
. .
an nn
a1 m1
a2 m2
a3 m3
. .
. .
. .
an mn
a1 x1
a2 x2
a3 x3
. .
. .
. .
an xn
a1 y1
a2 y2
a3 y3
. .
...
1
vote
1
answer
31
views
How to save the ssh commands history to a file
I'm going to allow a server administrator freelancer to access my server to do some tasks for me, so I want to save all the SSH commands that will be used in a file so I can access this file later and ...
0
votes
0
answers
7
views
No audio on startup until I pull the headphone plug out
Linux Mint 21.2 Victoria
No audio on startup until I pull the headphone plug out and plug it back in. It also seems to happen when waking up from suspend mode (doesn't seem to happen every time, but I ...
0
votes
0
answers
9
views
Qlogic HBA Performance Monitoring Issuse
I used QConvergeConsoleCLI Version 2.7.0 (Build 6) and "qaucli -gs 1" command in CentOS 7 for monitoring FC port performance. Despite having a load on FC, it showed zero as IOPS.
I tested ...
3
votes
6
answers
202
views
Rearrange file content
Anyone have idea how to turn this:
FX_AM140_EML AM140
Backend/aa.java
Backend/bb.java
Backend/cc.java
Backend/dd.java
Backend/ee.java
FX_AM172_EML AM172
Backend/aa.java
Backend/bb.java
Into this?
...
0
votes
0
answers
9
views
Bluetoothctl stops advertising after quit
I'm trying to create a BLE-server. For this I use bluetoothctl with these commands:
menu advertise
name MyDevice
back
advertise on
menu gatt
register-service 8733587e-8f8a-11ee-b9d1-0242ac120002
yes
...
1
vote
1
answer
27
views
Search and replace content
PIN A
1 1:3 0:8
0 0:0
PIN B
1 1:0
0 0:0
Z Z:0
PIN C
1 1:3 0:8
0 0:0
Z Z:0
I would like to change the content on PIN A & PIN C only without affecting PIN B to
0 0:3
Z 0:3
Can't seem to find a ...
0
votes
1
answer
33
views
Retrieve the Following Occurrence of the String 'PWD' Once the Given String is Located
Below is my sample test.log file
export SQRDIR=/v/orahome/Middleware/Oracle/bin64
export OID=ap0092
export PWD=pass1
export FDPWD=pass1
export AP0085_PWD=pass1
export SVR=AFFPROD
export ...
0
votes
0
answers
13
views
Modules have been signed but still prompt "insmod: ERROR: could not insert module ptusys.ko: Key was rejected by service"
My test environment:
--OS: RHEL 9.2
I sign the kernel 6.2.0 what i build, it can be boot with secure boot enable.
Then I try to sign a mod for secure boot, it apply fail.
[root@localhost ptusys]# ...
1
vote
0
answers
26
views
Fedora 39 - removed bluez & bluez-cups now have no internet access at all
I was rushing and not paying attention and used $dnf remove instead of $dnf downgrade while attempting to downgrade bluez and bluez-cups from 5.70 due to the error connecting certain devices.
After ...
1
vote
0
answers
15
views
How do I interact with a program that requires clicking on its system tray icon if my GUI doesn't have a dynamic system tray?
In the installation process for Talon, I need to install the Conformer voice engine by right-clicking the Talon system tray icon. I'm currently running Mabox and a couple of ricing decisions I've ...
0
votes
1
answer
23
views
Deleted LUKS Disk
I had a dual-boot laptop setup with an encrypted BIOS. I then removed my Manjaro installation and deleted all of the partitions, including the Manjaro partition, which included my LUKS disk. When I ...
0
votes
0
answers
7
views
XDP generic transmit packets to loopback interface dropped
I'm trying to transmit udp packets via xdp (receives work just fine) but the packets are dropped before udp processing.
Kernel: Linux fedora 6.5.12-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 20 22:...
0
votes
0
answers
13
views
Low-latency realtime sound filtering with Pulseaudio and Sox
I'm using Linux for audio experimentation, so PulseAudio and ALSA. I'm having trouble achieving a consistent low latency.
I had an idea that I could cover up unwanted environmental noises (such as ...
-1
votes
0
answers
17
views
Texmacs on Devuan
I will install Crowz Openbox (Devuan Dedalus) but I like to know if some applications that run on Debian (11 and 12) will run on Dedalus. In my case I need the Texmacs Editor. Texmacs have a Debian ...
0
votes
0
answers
7
views
cv2 not showing display through remote desktop
I am currently trying to implement a live feed function to my project. I have a function that is supposed to show a live feed of the camera using opencv. When I run the code locally on a intel NUC ...
0
votes
1
answer
30
views
Postfix TLS error message
I have a strange message in my Postfix server (on Debian 12) and only when receiving a message from Outlook:
postfix/smtpd[1621610]: connect from
mail-vi1eur02olkn2098.outbound.protection.outlook.com[...
1
vote
1
answer
30
views
How to use unix `mv` to rename files with unicode spaces(not U+20)?
$ ls cn*
cn blah blah.txt
$ ls cn\ *
ls: cannot access 'cn *': No such file or directory
$ ls cn*|hexdump -C
00000000 63 6e e2 80 85 62 6c 61 68 c2 a0 62 6c 61 68 2e |cn...blah..blah.|
00000010 74 ...
0
votes
0
answers
8
views
Traffic control - bandwidth and jitter colidation for Quic
I am currently experimenting with the Quic and TCP protocols, aiming to simulate real network conditions using TC. However, I encountered an issue when attempting to set the bandwidth to 32mbit, with ...
0
votes
1
answer
23
views
FISH CLI What do the error numbers at the prompt mean?
I am just trying out the FISH - (the FriendlyInteractiveSHell) - CLI & whenever I type in an erroneous Command, a new Prompt appears under the faulty Command prompt with a number in square ...
2
votes
1
answer
29
views
Why is it necessary to run 'dpkg-reconfigure' on bodged installs?
I recently became acquainted with the restorative power of dpkg-reconfigure following a bodged installation of the GNU mailutils package. At the end of the installation process a dialog (ncurses?) ...
0
votes
0
answers
15
views
Blocked packages problem in gentoo
I want to install xfce on gentoo but after running root #emerge --ask xfce-base/xfce4-meta there is error that the packages are blocked and i tried many things but none of them work. Please help me ...
0
votes
1
answer
57
views
Bash - Check if the standard input contains anything
I know this question has been asked several times but it seems ineffective in my case.
[[ ! -t 0 ]] = Does standard input contains anything?
This command:
echo 'Hello world' | [[ ! -t 0 ]]
echo $?
...
2
votes
1
answer
268
views
How to parse strace recvfrom syscall?
I strace a curl command:
strace -s 2000 -f curl google.com
and see 2 DNS queries
recvfrom(3, "\302\325\201\200\0\1\0\1\0\0\0\0\6google\3com\0\0\34\0\1\6google\3com\0\0\34\0\1\0\0\0\362\0\20*\0\...
3
votes
0
answers
46
views
Compiling external kernel module fails on Debian bookworm due to missing resolve_btfids
I am new to linux and I am trying to compile an external kernel module on a Debian bookworm virtualization (UTM).
Makefile
obj-m += hello_world.o
PWD := $(CURDIR)
all:
make -C /lib/modules/`...
0
votes
2
answers
85
views
Sed - How to replace two strings, but preserving what is in between them?
I am writing a shell script to convert some DokuWiki pages to MediaWiki format and vice versa. I'm having some troubles with footnotes.
There is a plugin for DokuWiki that adds extended features to ...
0
votes
0
answers
20
views
DHCP server can not receive my client in virtual interface
I'm writing a DHCP server and my own client using socket in Python3.
My client:
def client(self):
print("DHCP client is starting...\n")
dest = ('<broadcast>', ...
0
votes
1
answer
17
views
is it possible to capture the traffic of websocket using wireshark
I have a websocket connection to wss://ws.example.com, is it possible to capture the websocket traffic using wireshark? I have already tried to using websocket filter in wireshark Version 4.2.0 (v4.2....
0
votes
0
answers
9
views
linux record audio (arecord or similair) and seperate left/right channel
I want to record (line in) from an audio device and seperate the left and right channel each to a different process. or record them seperately of course.
what I want is something like that (play ...
0
votes
2
answers
41
views
im new to linux and learning how to add a new user
I'm trying to create a user with first and last name and home directory in Users/username, with an expiration date, inactive, with a default UID and GID in the DKEL_dir /etc/skel2. This is what I ran ...
-2
votes
0
answers
10
views
How offline zypper update works?
For offline package update using zypper where do we load the package binaries?
1
vote
1
answer
28
views
How to use self signed certificate with curl
I've generated SSL certs using following commands:
C=PL
ST=Mazovia
L=Warsaw
O="PHP-HTTP"
CN="192.168.56.10"
openssl req -out ca.pem -new -x509 -subj "/C=$C/ST=$ST/L=$L/O=$O/...
3
votes
1
answer
67
views
is stat(2) read-after-write consistent with write(2)?
man 2 write states:
POSIX requires that a read(2) that can be proved to occur after a write() has returned will return the new data. Note that not all filesystems are POSIX conforming.
In Linux, is ...
0
votes
0
answers
13
views
Can we install xcode on low resource macbook?
I have a MacBook air probably an old one. When I try to install they say the requirement is not enough. Is there a way to install XCode in any other way. I am new to MacBook.
0
votes
0
answers
15
views
Why VLC couldn't play .mp4 properly?
Parole Media Player can play .mp4 properly on openSUSE 15.5, perhaps openSUSE 15.5 has enough codes. While VLC only can play sound, and a few seconds of .mp4 video, how to set VLC to get over this ...
1
vote
0
answers
31
views
How to run a task running during sleep mode (modern standby/S0ix/S2Idle)
The modern standby exists so Windows can keep network connectivity even when the laptop is in sleep mode, but Linux doesn't seem to do anything similar. How can I make use of such feature and run some ...
-1
votes
0
answers
22
views
Im trying to install steam on Debian but it wont let me activate multiverse
I want to install steam on my Debian and every YouTube video says to enable multiverse but every time I do it says multiverse is an invalid repository. I believe I am using Debian 12, how do I fix ...
2
votes
0
answers
40
views
Spotify won't open again after minimizing
When I first launch Spotify it's fine. The GUI window comes up and I can play music. But if I close Spotify, so it's running in the background, I can't open the GUI window back up. It does continue ...
3
votes
5
answers
654
views
How can I reformat blocks of data until the end of the file is reached?
I have a file that looks like this:
# Time-averaged data for fix avetimeall
# TimeStep Number-of-rows
# Row c_gyrationchunkall
1000 3
1 2.09024e-14
2 4.88628
3 5.69321
2000 3
1 2.10518e-14
2 8.33702
3 ...
3
votes
1
answer
70
views
"mount" works in terminal; mounting through interface does not
Since yesterday I've been unable to mount an external hard drive using either the taskbar, or the file manager (Dolphin) which shows me the following error:
Error mounting /dev/sdf2 at /run/media/...
-2
votes
0
answers
37
views
How to extract the digital signature from signed PDF
How to extract the digital signature from signed PDF (certificate which was used to sign the PDF and key), and use it to create another signed PDF? Preferably, using python or shell scripting. As far ...