Recent Questions - Unix & Linux Stack Exchange |
- EBUSY when trying to add process to cgroup v2
- A way to make virtual folders in Linux
- How do I find out if wifi card supports 4addr mode?
- Random "No space left on device" errors when creating btrfs snapshot from script running as a service
- Activate Linux GUI only for a specific application Lubuntu 21.10
- Debian Bullseye Docker package cannot be verified, pulic key is not available
- Makefile phony "clean" target executes the include directive
- Suckless surf crashes when interacting with specific websites
- Installing R from R project repo (Debian 10): key issue
- Conditionally extract sections from log file if keyword exists
- Why is clipboard cleared when close xfce4-terminal?
- Progress bar "dialog" to show progress based on command execution from function
- grep for multiple strings in speedtest output
- Problem mounting system partitions in rescue mode
- In Apache config all my attempts to redirect all requests to index.html fail
- How to toggle fullscreen on any app in Xmonad WM?
- OWASP Guide for web app penetration testing says use "nmap –PN –sT –sV –p0" but in my Kali OS it says failed to resolve
- What does the numeric prefix mean for the files located in `/etc/sudoers.d`?
- PipeWire not detecting devices and profiles
- How do I disable audio sink suspend on idle using WirePlumber in Fedora 35 so that audio isn't delayed when starting playback?
- Blink LED on different times on Linux
- Server crashes after ~20 minutes
- Copy paste from unix file to notepad
- Open file from history in Zathura
- How can I fix the no screen error on xserver startup on Linux?
- How to run docker inside android chroot
- Using Linux machine as a monitor for a Windows machine
- SVN connection refused (Ubuntu)
- IP rule table look up does not seem to work
EBUSY when trying to add process to cgroup v2 Posted: 04 Dec 2021 01:07 PM PST I'm playing with I was able to test
When I'm trying to firstly add process to cgroup and later enable controller same error occurs on last step. What I'm doing wrong? |
A way to make virtual folders in Linux Posted: 04 Dec 2021 12:47 PM PST Is there a file search engine like "Everything" in Linux? I came across this post from 9 years ago and I found there is something called Ferris. It appears to be a VFS layer that runs on top of the existing file system. The project has not had a new release in three-and-a-half years. Is there anything with that feature list that is current? |
How do I find out if wifi card supports 4addr mode? Posted: 04 Dec 2021 12:45 PM PST I want to setup a wireless network, with some wired devices plugged to wireless clients. All of them should have same IP pool / same subnet from DHCP server. One approach is probably the configuration of wireless DHCP server and wireless clients in 4addr mode, if available. How do I find out if my preferred wireless card (on both server and clients) supports this mode ? May Intel WiFi 6E ax210 NGFF, mixed vPro and non vPro versions. More details you'll find here on unix.stackexchange.com Thanks for your help. |
Posted: 04 Dec 2021 11:12 AM PST I am using Fedora 35, fully updated. I have script that creates snapshots on schedule and it is run as systemd service. When doing: sudo btrfs subvolume snapshot / /.snapshots/root-$(date +%d-%m-%Y) I get random messages like This never happens when I run the same bash script normally from the console. My disk has like 1% of the space filled up. |
Activate Linux GUI only for a specific application Lubuntu 21.10 Posted: 04 Dec 2021 12:07 PM PST I need to setup a linux client(OS:Lubuntu 21.10) witch launch only a web page on Chromium browser always fixed all the time 24/24. It's possibile for you to use the client in CLI mode and start LXDE/LXQT (Lubuntu GUI) only for chromium? All is ok with LXDE booted up, but because I want to optimize HW resources I've think about to a GUI "on-demand" ...It's possible? Too difficult? Thanks to all (sorry for my english) Alessandro |
Debian Bullseye Docker package cannot be verified, pulic key is not available Posted: 04 Dec 2021 11:10 AM PST I'm following this guide, but once I run apt update, I get this error: Any help is appreciated! |
Makefile phony "clean" target executes the include directive Posted: 04 Dec 2021 12:01 PM PST I highlight the relevant parts in of my Makefile here: when I run This generates errors if there are errors in the dependency files. Why is the
|
Suckless surf crashes when interacting with specific websites Posted: 04 Dec 2021 08:13 AM PST I'm trying to use discord and whatsapp web through suckless surf on nixos with i3. I start surf with (it complains about the style file earlier, in the moment of the crash just the last line gets added.) This happened to me everytime I tried to connect WA-web to my phone. The same thing also happens when I open discord.gg, as soon as i click on the "open discord in browser", button surf crashes. Any help is appreciated, as I'm totally new to suckless surf. |
Installing R from R project repo (Debian 10): key issue Posted: 04 Dec 2021 12:22 PM PST I wanted to install R from the R Project repository on Debian 10. The following packages are required: Then, if I follow e.g. https://www.digitalocean.com/community/tutorials/how-to-install-r-on-debian-10 and do I end up with the following error: |
Conditionally extract sections from log file if keyword exists Posted: 04 Dec 2021 09:18 AM PST I'm trying to figure out a way to extract specific sections from a log file. Each part is split by a fixed string "<-------------->". Could sed/grep be used to extract those sections containing the word SEVERE or WARNING within the section? Edit: An alternative approach could be to count line numbers. Sections having only 3 lines can be dropped. All other sections having more lines are the ones I'm looking to extract. |
Why is clipboard cleared when close xfce4-terminal? Posted: 04 Dec 2021 08:38 AM PST I'm using xfce4-terminal with the setting enabled: "Automatically copy selection to clipboard" It works fine when select something, the selection is copied to clipboard. But if I close the terminal window, the clipboard becomes empty. It doesn't matter how I close it, by menu or by hotkey. And the terminal only clears the content copied from itself. I tried copy some text from Chrome Browser, then close the terminal, the clipboard content is still there. Why is that? How to keep the clipboard content when close the terminal? Environment: Kali Linux, xfce Edit: Just learned from comments, it seems to be the syncing problem between PRIMARY and CLIPBOARD. I tried tools form other site that works for them, but not work for me:
Not work at all
The debug output is correct when selecting text in terminal, but not synced to
It works for syncing, the problem is that it syncs mouse selection from everywhere, not only from terminal, even with the option "Ignore mouse selections" checked. |
Progress bar "dialog" to show progress based on command execution from function Posted: 04 Dec 2021 12:00 PM PST How to make "dialog" progress bar increasing the counter, when each echo command is executed from function? I have this code below as example, but I'm having problem of catching when command from function is executed. I can count number of "echo" in function and set as "items", but how to know when echo is finished and how to then increase the bar? |
grep for multiple strings in speedtest output Posted: 04 Dec 2021 01:08 PM PST I'm using speedtest CLI in a BASH script and trying to grab the output by using only one line if possible. Typical output of Speedtest: I would like to grab Latency, Download speed, Upload speed, and jitter. My current test code is using 2 wasteful statements: |
Problem mounting system partitions in rescue mode Posted: 04 Dec 2021 12:43 PM PST I have a serious problem. Server crashed and not returned, disk problems. I'm trying to mount Until yesterday I was able to access it in read-only mode using the command below. But now not even this command works anymore because of the error. I tried to recover the corrupted block without success. The operating system know that all I need is access to the location -/dev/vg/root to remove our data. Doing some checks at least the files are still allocated on the disk; the problem is to access the location that is no longer visible for mounting. LVM used partition system System where the server was installed: CentOS 6.9. System I'm currently accessing in rescue mode. partition scheme (output from Tried solutions like recovering bad blocks Location I am trying to access, which is where CentOS 6.9 is installed: |
In Apache config all my attempts to redirect all requests to index.html fail Posted: 04 Dec 2021 11:42 AM PST I have an Angular SPA that should only request index.html. All other URL requests to this server are handled internally by the SPA. I want to redirect all 404 errs to index.html. I am new to Apache configuration. Every solution that I found online for this fails. I was able to successfully add a re-write to redirect http traffic to https. So I assume that mod_rewrite should be set up correctly. But all my other attempts at a re-write fail. I am probably making some obvious newbee mistake. I am runing: Server version: Apache/2.4.41 (Ubuntu) Server built: 2021-10-14T16:24:43 After editing the config file, I always run "sudo systemctl reload apache2. Here is my config file for my virtual host, govmeeting.org.conf: UPDATE: I set up logging with: I edited my config to only have this redirect: I then sent requests from the browser for "govmeeting.org/dashboard", ".../xxx.txt" and ".../home.html". Here is a tail of access.log: Here is a tail of error.log. I am not sure how to interpret these results. The contents of the folder for my site only contains an index.html and a group of javascript files. (no "robots.txt", etc). Is it attempting to do a rewrite for these requests? |
How to toggle fullscreen on any app in Xmonad WM? Posted: 04 Dec 2021 01:22 PM PST I'm new around Xmonad WM and haskell is completely new to me, so be patient.Running the almost stock ArcoLinux Xmonad.
This is my |
Posted: 04 Dec 2021 01:26 PM PST On page 35 of the Owasp testing guide, it says to use Nmap as: but running this on my machine with the How can I fix this? |
What does the numeric prefix mean for the files located in `/etc/sudoers.d`? Posted: 04 Dec 2021 12:11 PM PST I go to What are they used for? |
PipeWire not detecting devices and profiles Posted: 04 Dec 2021 12:07 PM PST I am having issues with This probably has a relation to my other question which seems to have resurfaced in this form with my system starting to use The logs are saying the following: And some version/system info: Thanks for any help! |
Posted: 04 Dec 2021 12:09 PM PST In Fedora 35, WirePlumber has replaced pipewire-media-session as the audio session manager. There is a highly annoying problem with audio on many built-in soundcards on Linux where the audio sink is suspended after nothing is played for 3 seconds. Upon resuming playback after 3 seconds have passed, audio is delayed or pops in. How do we fix this default behavior? |
Blink LED on different times on Linux Posted: 04 Dec 2021 01:31 PM PST I made a python program to blink LED on Ubuntu installed on Raspi3b. It's running and I could blink the LED. Next steps are to blink at different times: when I power on, after ssh is active, and the end of shutdown. I am very new to Linux and system programming. My problem is to trigger the LED blink right after SSH is active. I mean that when booting, I saw the line SSH and I want right the LED to blink right after that. I have created a Because I learn a lot from here, I would like to continue on this topic, once I can blink on different status.
My first script is the SSH; |
Server crashes after ~20 minutes Posted: 04 Dec 2021 12:09 PM PST My Ubuntu 20.04 server crashes around 20 minutes after boot. It is as if the server is turned off. There is nothing in the log files, and no kernel panic on screen when it crashes. RAM passes 24 hour RAM test with no errors. If I install another OS it does not crash. What could be the cause? |
Copy paste from unix file to notepad Posted: 04 Dec 2021 01:05 PM PST How can I copy content of large unix file (putty tool) to notepad? |
Open file from history in Zathura Posted: 04 Dec 2021 08:52 AM PST Is this possible using a built-in command? AFAIK, it is not, so I am trying to define a mapping that uses the does the job, but I haven't managed to get this command working when using the doesn't work either, even when I surround |
How can I fix the no screen error on xserver startup on Linux? Posted: 04 Dec 2021 12:00 PM PST When I try to start my Debian 9 xserver, it shows a black screen.
and outputs a non-working xorg.conf.
I have a |
How to run docker inside android chroot Posted: 04 Dec 2021 09:03 AM PST I have debian stretch installed in arm64 android phone in chrooted environment. I have installed docker-ce following these steps from here. On starting docker :: returns this error :: Checking using How can I run it inside chroot on my android phone ? |
Using Linux machine as a monitor for a Windows machine Posted: 04 Dec 2021 09:22 AM PST What software do I need if I want to use an old laptop running Linux as a second monitor for a Windows 10 PC? Both screens shoud be in one workspace. |
SVN connection refused (Ubuntu) Posted: 04 Dec 2021 10:04 AM PST I'm trying to check out my repository, but it can not connect to my project archive and refuses the connection. When I try to checkout in Uni it works, but not at home. I tried to change the ~/.subversion/servers file but it didn't work. I've been struggling with this issue for a long time, can anyone help me ? |
IP rule table look up does not seem to work Posted: 04 Dec 2021 11:05 AM PST I have a sytem with three network interfaces. Below is the configuration that I'm trying to set up. wlan0 (its actually an WiFi AP interface) - other devices connects via this interface. net1 - interface facing internet that has to be linked to wlan0 to provide internet services to devices connected via wlan0. net0 - interface facing restricted internet access to answer queries only for requests from within this subnet. The default interface is net0 and its gateway. The output of ip route show looks like this: Now I would like to system to look up table 7 for route rules for all requests to eth0 and 8.8.0.0 is for nameservers. Its listed as iTbl because I have defined 7 as iTbl in /etc/iproute2/rt_tables. ip route show for table 7 looks like this: And finally my iptables looks like this: When I connected a device to wlan0 interface and try to browse internet, tcpdump shows all the requests from wlan0 seem to go via net0, which actually has to go via net1 desirably. I read through many posts and forums. After trying different things I couldn't solve the issue. I am not able to understand where its going wrong. From the tcpdump and logically looking at it, seems like the ip rule lookup to table 7 is not working. Please help to check if any of the rules has to be corrected. |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment