Recent Questions - Unix & Linux Stack Exchange |
- RDP client for Linux/Unix with remoteApp support
- disk quota exceeded but there is space
- How to examine `elf` file by hexdump?
- Firewalld Internal zone Rejected
- difference between perf v.s. gperftools(with pprof)
- Subprocess launched inside a chroot created on a codespace with debootstrap fail with /dev/fd/62: No such file or directory
- print or miss string based on the result of simple math between fields of current and previous lines with awk
- Ethernet not working after hardware upgrade
- Enable networkmanager after Arch installation
- HELP -- errors generated, when I, from /etc "source tmux.conf". How do I repair these errors? Which is right mode-mouse/mouse-mode
- "Invalid system disk" after "There are differences between boot sector and its backup"
- Using two event codes PMU events with perf
- Seemingly random performance drops on Pop!_OS
- why is the internal storage mmc and not sd?
- IP address string manipulation problem
- How to check the rules on iptables
- Cancel a cron job that runs the script when there is an error in the same script
- Old Linux rejects my ssh id_rsa key from newly installed windows
- How to open 'About Mozilla Firefox' (update) window with one command
- How to get list of Linux capabilities
- Touchpad (ELAN 04F3:3072) not working/detected after BIOS upgrade (Lenovo Ideapad Flex 3 11ADA05)
- Touchpad and mouse problems on Zorin OS 16
- Is it possible using an external hard drive to run Pop! Os with 200gb allocated, and the rest allocated to windows as a normal external drive?
- Bash: Regex for comparing file path
- Modify grub to dual boot fedora with windows 10
- When uname reports aarch64 instead of arm64v8. Willl docker-ce still pull arm64v8 images
- How to use Jailkit Jail Manager in Virtualmin to restrict users
- How do I find the ultimate CA cert in a 'valid' certificate
- How to start a custom service
- What's the difference between STDIN and arguments passed to command?
RDP client for Linux/Unix with remoteApp support Posted: 29 Jun 2022 08:13 PM PDT Is there a RDP client that is capable of working with published remote apps. Analogously to what MS Remote desktop for macOS is doing? The goal, when the program is launched, is to show the user the applications published for them. No downloading of rdp files etc. Remmina seems to be most recommended but it is just incapable of this. |
disk quota exceeded but there is space Posted: 29 Jun 2022 08:07 PM PDT I am getting erro 'disk quota exceeded' but the partition is not full and user has unlimited quota. What is wrong and how can I fix it? I am using Putty on Windows to access a Ubuntu 20.04 VPS with Webmin 1.994 and Usermin 1.840.
|
How to examine `elf` file by hexdump? Posted: 29 Jun 2022 07:44 PM PDT I'm learning elf file layout, so I'm reading Executable_and_Linkable_Format. In the beginning, I used readelf -a to exmine elf(.o file), but it provided is not my want, so I used hexdump -C to exmined it binaries form. I used I'm looking for program header, section header, .etc. But I'm not sure my search method is correct! Please connect with above picture. notice: |
Firewalld Internal zone Rejected Posted: 29 Jun 2022 07:37 PM PDT I'm trying a simple firewalld setup on ubuntu/jammy64 as follows with I tried various combinations of adding interfaces, and source addresses to the When I add both interfaces to the Internal zone connectivity works fine but not when one of the interfaces is not part of the zone. Could someone share pointers on where to look next? Thank you. |
difference between perf v.s. gperftools(with pprof) Posted: 29 Jun 2022 07:29 PM PDT my project needs performance analysis, just come to thnk for any advice |
Posted: 29 Jun 2022 07:21 PM PDT My goal is to standup a chroot with the basic Unix tool-set ( To reproduce,
This also reproduces outside of codespace so any Ubuntu environment will probably yield similar results. |
Posted: 29 Jun 2022 07:24 PM PDT I've got that type of csv file. What I need is to print every line of it if whole number in its second field is not equal to the same number in second field of previous line so on below two lines for an example: ... I would like to print only first line and skip that second line. Second field numbers increasing up to ~1300 and decreasing to 1 after. I tried awk using substr() function but it does not seem to be working as I just got stuck: |
Ethernet not working after hardware upgrade Posted: 29 Jun 2022 05:46 PM PDT I've recently upgraded my mobo & CPU (Asus Prime B560M-A + i3) in my Ubuntu 20.04 machine. Everything works well, except the network connection. The mobo is equipped with an Intel I219 chip, which is apparently served by the e1000e driver (a kernel driver now - not sure if it's present in my kernel though). During boot, I get a 'Failed to start Raise network interfaces' error. I have tried removing the eth0 line in /etc/udev/rules.d/70-persistent-net.rules and rebooting, but no joy. I tried using a USB network adapter to get around the issue temporarily to try installing the HWE kernel, but that isn't working either. It does show up in Any help greatly appreciated. |
Enable networkmanager after Arch installation Posted: 29 Jun 2022 05:04 PM PDT I'm new to arch and am trying to enable the networkmanager. I'm using a laptop without a ethernet port therefor trying to connect wirlessly. I looked on the wiki and seem to be stuck. I've just installed arch manually, rebooted and realised I couldn't install any packages. I used I've checked the driver status with I've used I've tried Does anyone have any suggestions? |
Posted: 29 Jun 2022 08:01 PM PDT |
"Invalid system disk" after "There are differences between boot sector and its backup" Posted: 29 Jun 2022 03:39 PM PDT I created a live LMDE5 system on a USB pen drive using Rufus and everything was working fine except for a large number of warnings and critical error messages I got from with roughly 30-40 lines of entries. If I remember correctly, Linux systems create a working boot sector at the beginning of a disk as well as a backup copy at the end of the disk. After reading the few discussions I could find on this somewhat elusive error, I decided to choose the option of replacing the original with its backup. Unfortunately, this appears to have been a grave mistake as I'm now getting a and the system won't boot. Question:
Note: I did not get any error referring to a "dirty bit" that appears to get set when a drive is not properly unmounted as discussed here. Also, the USB drive itself is virtually new. |
Using two event codes PMU events with perf Posted: 29 Jun 2022 03:09 PM PDT How to combine multiple event codes for PMU events in perf? E.g., the following event has two event codes:
But, the event field only supports values between 0-255. Is there a way to combine them when using with perf? |
Seemingly random performance drops on Pop!_OS Posted: 29 Jun 2022 06:07 PM PDT I am sure many PC users have experienced slow downs on their computers over time (mine is about a year old), but this scenario I find strange. The Problem At about 5:30PM yesterday I was browsing the web and running commands (mainly trying to change my background in a shell script). I had a few different web pages open when I noticed huge amounts of lag. I tried closing all windows and nothing changed. I could tell by moving my mouse across the screen that it would freeze for a small period of time every second. I assumed a restart would handle it, but the lag persisted. The next day I started my PC and everything seemed normal, but after opening a few windows the lag started again. I noticed it started and stopped randomly, sometimes happening right when I booted and it would even go away sometimes. This is when I started to try and find the problem. Possible causes
What I've tried
I doubt anyone will be able to give me an exact cause, but even just a suggestion on how to find the problem will mean a lot. |
why is the internal storage mmc and not sd? Posted: 29 Jun 2022 02:47 PM PDT I've been researching the difference bewteen sd and mmc after noticing that openwrt (and other distributions) name the internal storage that contains the system as mmcblk and other disks that live in external sd card readers as sd. The thing that is confusing me is that the internal memory is also an sd card. So why does the system say that it is mmc? Is it because the reader is an mmc reader or is it some kind of emulation to make it compatible with the rest of the system? |
IP address string manipulation problem Posted: 29 Jun 2022 02:52 PM PDT I am trying to build three octets 10.AB.C9 from a 5 digit number: 12ABC 12 = first octet AB = Second octet C = Third octet There are two scenarios with my existing code that can cause an in correct IP to generate. If C has a leading zero for example: 02 then the third octet will 027 and IPs can't have hardcoded leading zeros. The above code solves the leading zero problem in C The second scenario is where A is zero meaning the second octet will have a leading zero. I am not sure how to handle that scenario and hopefully make the script simpler. |
How to check the rules on iptables Posted: 29 Jun 2022 03:37 PM PDT I am new to the iptables completely. I wrote two rules : I want to test or check them and I do not know how ? Also, I am wondering about the meaning of some rules : Thanks, |
Cancel a cron job that runs the script when there is an error in the same script Posted: 29 Jun 2022 03:20 PM PDT I have a script running every 5 minutes by cron. In the script itself, I want to add that if I encouter XYZ error, stop the cron job permanently and exit the script. Currently if I just put an |
Old Linux rejects my ssh id_rsa key from newly installed windows Posted: 29 Jun 2022 06:27 PM PDT I have been maintaining an old Linux server (CentOS 6.5) for long term. I access that Linux server by ssh with 'pub key auth'. Now I just bought a new Windows (win10 or 11 not sure) laptop and installed 'Git for win 2.33', when I try to ssh from the new lap top as usual, I got: This is weird. I can still ssh to that linux from my old PC, and I can git clone via ssh (to famous git repo provider) from my new laptop. It seems that both sides are 'ssh OK', but why the CentOS6.6 rejects my id_ras key from 'Git for win 2.33' ? |
How to open 'About Mozilla Firefox' (update) window with one command Posted: 29 Jun 2022 06:49 PM PDT |
How to get list of Linux capabilities Posted: 29 Jun 2022 08:11 PM PDT I need to get a list of capabilities available to the version of linux on which the program is executed. Just in order to give user possibility to choose what capability to grant to the file. Is there any chance to do this using some standard libraries? The only way I managed to do this is to look at the bounding set of
|
Touchpad (ELAN 04F3:3072) not working/detected after BIOS upgrade (Lenovo Ideapad Flex 3 11ADA05) Posted: 29 Jun 2022 03:08 PM PDT Reposting this from ArchLinux BBS, because I suspect that it isn't distribution specific. After a BIOS update from FPCN18WW (2021-07-12) to FPCN24WW (2021-08-19) my touchpad is not recognized in the following distributions:
The touchpad works in Windows and in the BIOS setup menu. The changelog of the new BIOS firmware is: ... Fix win11 TPM 2.0 UEFI Preboot Interface Test fail issue. Optimize Boot Menu UI. ... I know the touchpad is not anymore recognized because of the following missing entries in dmesg: My BIOS settings remain unchanged: Secure Boot is disabled and the AMD PSP is enabled. I've already contacted Lenovo support, but (as I can fully understand), they are not reading my texts correctly and think the device is broken. Since a touchpad on a laptop is a nice feature, I decided to try continue troubleshooting on my own, though I'm now at a dead end. Just today I found out that some I2C device is added under Quick note: All the other touchpad troubleshooting hints were tried before. I've read through the main article about this issue, but as the touchpad is different, all suggested solutions failed. Is there any way I can troubleshoot and maybe resolve this issue? |
Touchpad and mouse problems on Zorin OS 16 Posted: 29 Jun 2022 07:47 PM PDT I had problems that originated in Windows 10, where an update was installed without my permission. After it was done, my Dell touchpad would not function correctly (could click on some things but not others) and my mouse plugin would exit out of folders/webpages with the left click while sometimes still working as normal. Now I thought this problem would be fixed by removing Windows entirely and installing Linux, but I guess that is not the case. |
Posted: 29 Jun 2022 06:03 PM PDT I've been wanting to run Pop! Os from an external hard drive, but I also want to be able to use the rest as a normal usb drive. Is this possible to do? If so, how? |
Bash: Regex for comparing file path Posted: 29 Jun 2022 03:52 PM PDT I want to check if an input string matches whitelisted file paths, then only I want to perform some operation. I am doing something like this Where, if paths are like These should pass. Above check is giving me an error |
Modify grub to dual boot fedora with windows 10 Posted: 29 Jun 2022 04:08 PM PDT I am trying to dual boot fedora with windows 10. I am new to linux. I have found this code to be written in 40_custom file in grub. But this does not seem to work. It says cannot find disk. I have my windows in EDIT: My laptop had windows 10 pre installed when I had bought it. I have installed fedora 29 workstation. I do see the grub screen but the windows 10 option there(Created due to the above code) tells disk not found. Windows boot entry was not created automatically when I had installed fedora |
When uname reports aarch64 instead of arm64v8. Willl docker-ce still pull arm64v8 images Posted: 29 Jun 2022 05:03 PM PDT docker-ce now supports multiple architecture base images but looks for the tag arm64v8 instead of aarch64 (which is labelled as deprecated). Unfortunately my new ubuntu 18.04 host os uname reports aarch64. So
|
How to use Jailkit Jail Manager in Virtualmin to restrict users Posted: 29 Jun 2022 03:04 PM PDT How to use Jailkit Jail Manager in Virtualmin (Webmin 1.892) to restrict users in their homes including virtual website and all services running under user? I am setting up small website hosting service and I must disable access to everything except user's home. I dont want to use FTP or FTPS! User's will have full SSH access to their system and they will be able to run for example NodeJS scripts, Teamspeak, etc... Is it possible? If yes, is it possible in Virtualmin or it needs more and deeper setup. EDIT: I am using Debian 9 |
How do I find the ultimate CA cert in a 'valid' certificate Posted: 29 Jun 2022 08:10 PM PDT So I look after 2 web servers, one old, one new. The old one uses our old url, the new, our new url, both are internally signed. The HTTPS certificate is about to expire on the old one, so I've checked and even though it has 1 month left on it, it's identifying as not valid, due to it's certificate authority, which is an internal machine. I'm struggling to figure out why the new cert is fine, but the old one is not. Either the new cert has some magic in it I'm not aware of (like the ultimate parent in the signing chain is one of the well known certs in my CA, but its not showing up when I interrogate the .crt), or the unfamiliar (internal) parent .crt in the signing chain, has been added to the ca-certificates on my ubuntu client. What are the cli commands on my ubuntu desktop, or the centos client, that I can use to find out? If the reason why the new .crt works, is because of a certificate that's been installed on my desktop, how do I find where that certificate is installed (and how do I copy it on to other centos machines)? I've tried The CN which is reporting as the ultimate authority in all cases isn't a DNS name, so I can't download that .crt from somewhere, all I've got is what's in the new url .crt, so can I use Edit: I think the master key has been added to my chrome (libnss3) certificates. What is needed to add the same master key so it's supported by something other than chrome (like php and openssl on cli) |
Posted: 29 Jun 2022 07:01 PM PDT I'm very new to Linux and the solution might be easy so excuse me for that. I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order to that, a "servlet" must be deployed on the remote machine. I don't care if the servlet started automatically or manually. Here is what the guide says: (P.S: the servlet name is
I have no idea what that means and as far as I know STARTX is something for GUI. I tried executing this:
I've done all these steps, however the servlet still not running.
I'm using Ubuntu. |
What's the difference between STDIN and arguments passed to command? Posted: 29 Jun 2022 05:35 PM PDT I could use the either form to execute the The result is the same Then I want to execute While But it pops up I want to know why |
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