All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Lutris terminates with code 256 on operation vc_redist.x86.exe /q

I want to install Escape From Tarkov via Lutris. Judging by the reviews, this is the only working option. Installing dependencies when starting the Escape From Tarkov installation (config from Lutris ...
Lev Romanov's user avatar
0 votes
1 answer
53 views

Why do I get different browser behaviour when attempting to reach bitcoin.stackexchange.com and the alias of its IP in /etc/hosts?

I haven't found any browser that supports aliases defined in /etc/hosts even when single terms (without having to prepend in the browser with http://) are not interpreted as search terms for the ...
John Smith's user avatar
0 votes
0 answers
18 views

Apache server crash by high load

My apache provides a nextcloud which is used by round about 1000 users. Once up to twice a week, the apache server crashes with the following log entry [Mon Feb 12 09:20:09.909665 2024] [mpm_prefork:...
Michael Konz's user avatar
0 votes
1 answer
30 views

How to run a PDF file with wine app (Foxit PDF Editor Pro)?

I want to create a Python function to open a PDF file with the Foxit PDF Editor Pro Application (wine app), my function is as follows: def open_with_foxit(output_path): command = ["wine"...
tungsondkh's user avatar
0 votes
0 answers
14 views

How to manually map a virtual address to a page in Linux kernel?

I am working on an embedded Linux system (kernel-5.10.24), and i am trying to do a test of mapping kernel memory. This test does similar things as vmalloc() does. It gets a virtual memory address and ...
wangt13's user avatar
  • 397
5 votes
1 answer
3k views

If I don't log in the desktop environments, does the desktop enviroment still cost RAM?

For linux (Ubuntu, Debian, etc), different desktop environments cost different amounts of resources (RAM). Gnome and KDE tend to cost more RAM than others like XFCE / LXDE / LXQT: https://unihost.com/...
CyberPlayerOne's user avatar
0 votes
0 answers
21 views

Scroll wheel not working properly on Fedora 39

I am running Fedora 39 on a Dell Laptop with external Microsoft Sculpt Ergonomic Keyboard and Mouse. The mouse has a scroller but on all programs--Firefox, Document Viewer, Eclipse IDE--the mouse ...
Niraj's user avatar
  • 1
3 votes
0 answers
58 views

How to boot Windows UEFI from Debian legacy Grub with two SSD drives?

I am using Debian 12, and I am trying to add a new line in the grub menu. This PC has two SSD drives, the first one has Windows 10 and the second one has Debian 12. How can I boot Windows from the ...
mabvmex's user avatar
  • 61
4 votes
1 answer
360 views

Can a subshell create a subprocess?

So if I input the command like below, a sub-process (PID 4920) is created by the subshell. linuxprobe@DESKTOP-TP0G72N:~$ (sleep 2;ps -f --forest;sleep 5) UID PID PPID C STIME TTY ...
joe's user avatar
  • 53
0 votes
1 answer
31 views

Debian file corruption bug possible without reboot after unattended kernel update?

Today I learned that there had been a faulty Debian kernel version which caused ext4 data corruption (bug 1057843) in December 2023. Searching through the /var/log/aptitude and /var/log/apt logs, I ...
Daniel Marschall's user avatar
0 votes
0 answers
64 views

how to stop execlp and execvp functions, when they encounter an executable which the kernel can’t run, try running it using a shell [duplicate]

Im two years on Linux and i'm still a newbie. after reading: (thx to steeldriver and Kamil Maciorowski) What types of executable files exist on Linux? Which shell interpreter runs a script with no ...
Schmaehgrunza's user avatar
0 votes
0 answers
10 views

OpenCL haning in clEnqueueReadBuffer

As follow up to this question where I my last code #include <stdio.h> #include <stdint.h> #include <stdlib.h> #define CL_TARGET_OPENCL_VERSION 210 #include "CL/cl.h" char* ...
Delfin's user avatar
  • 148
0 votes
1 answer
12 views

Kubernetes cannot join server cluster

I have two OpenSUSE Micro Leap 5.5 VMs in the same network called m0.k8b.intranet.domain and m1.k8b.intranet.domain. Both are clean Preconfigured images from https://get.opensuse.org/leapmicro/5.5/. ...
Delfin's user avatar
  • 148
-1 votes
0 answers
16 views

Unsupported key version 0 encountered while using aircrack-ng [closed]

Unsupported key version 0 encountered. May be WPA3 - not yet supported. zsh: IOT instruction aircrack-ng '/home/bkstorm/ananth-01.cap' -w '/home/bkstorm/Desktop/word.txt'
Roshan Melvin's user avatar
0 votes
1 answer
56 views

Symbolic link to application - working directory

Lets say i have a bash script in a folder called Programming, which reads data from files in a subfolder named data. The paths in the script to the files are all relative to this "Programming&...
Schmaehgrunza's user avatar
0 votes
0 answers
8 views

Why is ALSA often not reading the audio card state

I'm having a terrible time with ALSA on a PI5. It will play and record sound, but the control interface seems to only work sometimes. I cannot find a cause for this. I could use some help ...
knottied's user avatar
0 votes
1 answer
25 views

When does the CFS schedule a new task?

I am learning about operating systems by reading through "Three Easy Pieces", and I am stuck on the chapter about the Completely Fair Scheduler (Can be read here, p. 8-10). I understand that ...
Josef's user avatar
  • 101
0 votes
1 answer
33 views

Can I configure tmux to show seconds of current time upon Prefix t?

On Prefix t (by default Ctrl+b t), tmux displays the time, and it looks something like this: Is there any way to configure this, e.g. to show the seconds, too? I tried setting export LC_TIME="%H:...
Vince Varga's user avatar
-3 votes
0 answers
52 views

Problem with red color rendering in the terminal

Problems arise with the quality of the display of characters in the terminal when using red and magenta colors on a black background and vice versa. Here is a screenshot. Is there any solution to this?...
Raalgepis's user avatar
0 votes
0 answers
48 views

How to enable <Ctrl+Backspace> with Tmux, Neovim and Alacritty to delete the previous word?

I use the alacritty terminal, and neovim editor with tmux. At first Ctrl+Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to alacritty.yml: ...
an4s911's user avatar
  • 131
0 votes
1 answer
33 views

How to repair this problematic hard drive?

I have a WD 1.3 TB hard driver, it might have some bad sectors. I plug it in the Raspberry Pi and partition the disk with following commands sudo fdisk -l /dev/sdb, then g, n, w to create the new ...
Kejing Gu's user avatar
0 votes
1 answer
29 views

Some GTk3 applications aborting with BadAccess when DISPLAY=:0 but not DISPLAY=hnam.local:0 or even DISPLAY=unix:0

I've had some issues with my XQuartz environment not starting due to a bit of a freak reason that was a rather hard to figure out. It's (mostly) working again but I must have caused another regression ...
RJVB's user avatar
  • 254
0 votes
0 answers
129 views

nvidia-driver-515 throws error on kernel 5.15 inside Ubuntu 22.04

I am trying to install CUDA 11.7 on Ubuntu 22.04.4 LTS. Based on the official documentation, kernel 5.15 is supported for Ubuntu 22.04. However, when I tried installing cuda, the installer throws the ...
ravi's user avatar
  • 143
1 vote
1 answer
40 views

Which -newerXY option finds all files that are accessed after creating or modifying another file?

This question relates to Xubuntu 22.04 if that matters. Probably it is a general Unix question, however. In a shell script, I first want to create a reference file, e.g. by echo $(date) > ~/...
Adalbert Hanßen's user avatar
1 vote
0 answers
29 views

log output (stdout) from within make file

How do I send the output (stdout) to a log file from WITHIN the make file? I am NOT interested in a command line solution such as "make > build.log". Listed below is my generic make file. ...
jwzumwalt's user avatar
  • 259
0 votes
1 answer
57 views
+500

Using thermald for cpu to stop overheating

Sometimes, my laptop with Intel Core i3 is overheating. For example today. $ sensors radeon-pci-0300 Adapter: PCI adapter temp1: +59.0°C (crit = +120.0°C, hyst = +90.0°C) coretemp-isa-0000 ...
xralf's user avatar
  • 15.7k
0 votes
0 answers
20 views

Is there any AI program to auto adjust brightness, contrast, gamma values of camera according to environment lighting? like smartphones do

In smartphones, one can see how quickly it identifies faces and adjusts brightness, colour saturation and all other settings. Similarly, I am looking for some applications for Linux. Till now, I found ...
Amit's user avatar
  • 1
0 votes
0 answers
32 views

How can root get access to SSH_TTY

I think that SSH_TTY is an environment variable set by ssh that holds the device node of the current virtual terminal; e.g. /dev/pts/0, /dev/pts/1 , etc. I know that when I'm logged in to an SSH ...
Seamus's user avatar
  • 2,885
0 votes
0 answers
9 views

SAN GPFS for db2 hadr share archive log

Did any one use SAN GPFS for db2 hadr shared archive log. Or any other solution for shared archive log between 2 different Sites. Primary site has 2 databasea and DR site has 2 AUX databases
Khattak's user avatar
0 votes
1 answer
32 views

Can’t use ethernet after removing kde-plasma on debian 12

Here are my system’ and interface’s details: After connecting ethernet cable to the laptop, running ping gives me ping: connect: Network is unreachable and with sudo apt update, I het could not ...
Naveen Reddy Marthala's user avatar
0 votes
1 answer
18 views

systemd-logind sees power button press but does not handle it

I am using Ubuntu Server 20.04.6 LTS over ssh. My packages are updated. If there is any other config info that would help, let me know. I have been trying for hours to get my power button to shut off ...
taurous's user avatar
  • 11
3 votes
1 answer
192 views

How to code defensively in Bash for unhandled runtime errors within logical expressions?

I just encountered an error where a function was missing in my script. I already trap and raise these exceptions to stop the script early, but I noticed that did not occur. Investigating this further, ...
Zhro's user avatar
  • 2,659
0 votes
0 answers
9 views

list btrfs subvolumes within a specific qgroup (quota0

I need to determine what data would be lost by deleting a specific qgroup. X-Y is that I have a qgroup taking up 50GB of exclusive/unique space that I am suspicious is stale/unreferenced, but don't ...
some bits flipped's user avatar
0 votes
1 answer
20 views

Will Disabling a Discrete Graphics Card Improve GUI Performance on Linux (XWindow/Wayland)?

I'm considering disabling the discrete GPU in my laptop to potentially improve GUI performance on Linux, specifically using XWindow or Wayland. Given the power efficiency of integrated graphics, I'm ...
1729 trace's user avatar
-1 votes
0 answers
31 views

How to use "sudo -S" commnd in C++ to bypass terminal for password? [closed]

I need to run the following command as root without going thru any "sudo" on Linux terminal. . ( Please refrain from "security " comments...) " hcitool cc address " ...
anne's user avatar
  • 45
0 votes
0 answers
9 views

How to use "sudo -S" commnd in C++ to bypass terminal for password? [duplicate]

I need to run the following command as root without going thru any "sudo" on Linux terminal. . ( Please refrain from "security " comments...) " hcitool cc address " ...
anne's user avatar
  • 45
-3 votes
4 answers
166 views

Why does grep ignore the leading '.'?

I am trying to find a string in a web page downloaded w/ curl. I am using grep to find the string matching a regular expression pattern. Following is the string I am trying to find: ./download/file....
Seamus's user avatar
  • 2,885
0 votes
3 answers
84 views

How can my terminal accept input when it's processing a previous command?

I use Ubuntu Linux on both my personal laptop and my school's computers. On my personal laptop, I'm looking to replicate the behavior of the school's computers where the terminal accepts user input ...
imranbout's user avatar
0 votes
0 answers
15 views

iperf3 doesn't find network bandwidth difference but curl does

I have 1 client (A) and 2 servers (B & C). Servers were using different amounts of CPU with load balancing and i wanted to root cause it. I suspected it could be a network speed issue so I ran an ...
Erich Shan's user avatar
0 votes
0 answers
19 views

Distrobox: emacs: Could not open file: /dev/tty

Am currently trying to automate running emacs on a Distrobox container (the Docker container is silex/emacs:29.2-alpine, although I've also tried silex/emacs:29.2 which uses a Debian image), and am ...
shintuku's user avatar
  • 133
0 votes
0 answers
15 views

How to allocate huge pages forcibly and synchronously?

On Linux, (non-transparent) huge pages may be allocated by writing into the vm.nr_hugepages sysctl, or, equivalently, into the /sys/kernel/mm/hugepages/hugepages-<SIZE>kB/nr_hugepages sysfs file:...
intelfx's user avatar
  • 5,333
0 votes
0 answers
10 views

Gstreamer issues when playing from USB Stick

I use MPV and Parole as my media players. I have a NAS Drive on my network with a few old videos on. I have a USB Stick with the very same videos on. Some of the videos are .MKV, some are .MP4. All of ...
Lee's user avatar
  • 85
0 votes
1 answer
51 views

find with execdir, pipe redirection evaluated too early (quote issue?)

I use multiple GitHub accounts at work, so I need to modify the remote url to add my work account. I have figured out the recursive find -execdir, and how to get/sed/set the remote url, but I cannot ...
Robert Altman's user avatar
0 votes
1 answer
11 views

Why doesn't grub-emu launch on a separate window?

When I run grub-emu it launches within the terminal, and not as a separate window, which doesn't allow to inspect theming. I have checked it is compiled with SDL2, but it doesn't seem to work. It ...
Alberto Salvia Novella's user avatar
0 votes
0 answers
11 views

Dual boot caused problem with FIRST monitor (not second) on Linux Mint Cinnamon, need to recover files from the partition

I need to recover some files from an office computer where I installed Windows 10 + Linux Mint, but the only monitor I have access to isn't recognized by the OS. Back around 2018/2019, I had two ...
Emilio Kolomenski's user avatar
2 votes
1 answer
34 views

Why doesn't this executable load a relatively-pathed module library even though RPATH is set?

I migrated this question from Stack Overflow; although there is a programming aspect to it, the more I've tried to understand what's going on, the more I think this may have more to do with RPATH and $...
StoneThrow's user avatar
  • 1,687
0 votes
1 answer
23 views

Bridges on A Virtual Host

Years ago, I set up a virtual host on RHEL 7 with 2 NICs talking to 2 different LANs. I used some combination of brctl, ifconfig, etc. The host has guests on both LANs. The guests and external ...
Garnet's user avatar
  • 398
3 votes
2 answers
81 views

How do I verify ssl / tls connection with openssl non-interactively (from a script)?

When I execute: openssl s_client -connect google.com:443 openssl s_client -connect government.ru:443 This gives me valuable output, but I would like openssl to close the connection and exit returning ...
John Smith's user avatar
1 vote
1 answer
40 views

Parallel / multiple audio output with alsa and USB audio mixer

I have a new docking station for my laptop and have a hard time configuring audio/alsa. After checking cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA ...
grrr's user avatar
  • 43
0 votes
0 answers
22 views

Ctrl-= in terminal mode

In Emacs, I have bound Ctrl-= to a custom function. What is strange is that when I run Emacs in a terminal, hitting Ctrl-= just enters an equal sign and does not execute this custom function. In a GUI ...
user52366's user avatar
  • 201

15 30 50 per page
1
3 4
5
6 7
4751