Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
-1 votes
0 answers
15 views

Multiple machines serving HTTP via one IP? [closed]

So I have one linux machine (machine one) with apache serving multiple domains (five+ virtuals.) One is getting particularly busy, and I want to move that one to a new "machine two" with ...
fyngyrz's user avatar
  • 2,674
0 votes
0 answers
46 views

Difference in pipeline output behavior of zsh vs bash [duplicate]

I am confused by a difference in the behavior of bash and zsh when running the same simple piped command in both of them. When I run sleep 4 | wc < text.txt in bash, I get 0 0 0 as output instantly ...
Anili's user avatar
  • 138
2 votes
0 answers
71 views

Linux: Low-level management of virtual memory - collaboration between processes

If I were to mmap() a very large file (for read-only access) pages would be read-in, by the kernel, after a page fault indicates that the page is not already cached in RAM. Pages will remain cached ...
aSteve's user avatar
  • 2,056
-3 votes
0 answers
30 views

Can not find systemd or openrc to use as a process supervisor for k3s [closed]

I'm trying to install K3s on my Macbook M4 to install a cluster on the server and configure it to communicate with kubernetes with this command: sudo curl -sfL https://get.k3s.io | sh - But I get ...
NAMORY CHARLES TIMITE's user avatar
0 votes
0 answers
42 views

CMake in MacOS fails to compile a test program with both cc and clang

I have installed Clang++ and CMake on MacOS (via HomeBrew, all up to date) and I'm now trying to install some C++ image I/O libraries: CImg and bmpmini. In Linux the lines below clone and compile both ...
alle_meije's user avatar
  • 2,500
1 vote
1 answer
33 views

Failed to run netlink API in docker

Can anyone help me address the problem why Connection Refused happen when I run the program in docker container? If I set --net=host --privileged when running docker container, it works, otherwise ...
Kevin Mai's user avatar
0 votes
0 answers
16 views

How to let pkgconfig find the cross compiling library?

I'm cross compiling my project from Debian x86_64 host to arm64, using the cross compilers and multiarch libraries installed from Debian's official repo. My project is built with CMake. My problem is: ...
jiandingzhe's user avatar
  • 2,153
0 votes
0 answers
57 views

C++ SFML window created from X11 handle says "not responding" despite running fine, and polling for events on Linux

so my problem is that when I create a X11 window and then create a SFML window from the X window handle, the os says the window is "not responding" even though I am polling for events and ...
Martin Pavelka's user avatar
0 votes
0 answers
42 views

What is the best way to listen to battery events (charger plugged in, percentage change) in linux? [closed]

I want to blockingly listen to battery events. Why not poll the sysfs? Firstly, sysfs doesn't notify of any events; only some specific types of interfaces, if any at all, have the ability to be ...
dqvid's user avatar
  • 59
1 vote
0 answers
61 views

JComboBox rendering larger than enclosing Frame on Linux/GTK

I encounter an issue with JComboBoxes on Linux (verified on Ubuntu with GTK LF but probably applies to other combos as well). When I create a list of JComboBox components within a JInternalFrame the ...
Candlejack's user avatar
-1 votes
1 answer
42 views

How do I clear the cache in Pentaho Data Integration? [closed]

How do you clear the cache for Pentaho in a Linux environment? Is there a particular file I need to delete somewhere?
Chicken Sandwich No Pickles's user avatar
3 votes
2 answers
91 views

Different results from iconv utility and iconv function in my application

I'm trying to write a C++ application that needs to output to the text terminal data comes from an LDAP database. The data in that database may contain accented characters, using UTF-8 chracter ...
Paulo1205's user avatar
  • 986
0 votes
0 answers
30 views

How can one use all 256 single character named registers in 'dc'? [closed]

So I'm reading the man page for desktop calculator (dc) https://linux.die.net/man/1/dc and I am confused about the register section Registers dc provides at least 256 memory registers, each named by a ...
Chuck's user avatar
  • 1
0 votes
1 answer
62 views

How can I disable middle-click paste in a Java Swing application?

I am using the middle mouse button for an autoscroller in a Java Swing application. However, when I middle-click on a text component, on Linux it pastes the last selected text, which is unwanted. How ...
Boann's user avatar
  • 50.2k
0 votes
0 answers
131 views

Permission denied error even though programm should have access

I am writing a controller daemon in C++ for home automation which finally will run on an raspberry pi with Raspberry Pi OS. It is started with root permissions as after start it should read an SSL ...
Holger's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
15192