All Questions

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

Firewalld blocking NFS, works when stopping firewalld

Followed the Arch wiki to setup nfs shares. I have opened for 111, 2049 and 20048 all TCP and UDP. One the client machine I get: $ showmount -e 192.168.4.52 clnt_create: RPC: Unable to receive If I ...
user avatar
0 votes
0 answers
8 views

Mounting Entire Container into a Directory

I am trying to mount my entire docker debian container into /home/admin/main directory of my vps as a backup and migration solution but I get an error. Command Used sudo docker run -ditv /home/admin/...
user avatar
0 votes
1 answer
12 views

How to configure the trap command to make it run after a process ends that is started with nohup?

I'm using a tmpfile and pass it to my_exe in my shell script. I need to remove the tmpfile after my_exe is terminated, so I use trap "rm $tmpfile" exit. I also need to prevent my_exe from ...
user avatar
  • 1,967
1 vote
0 answers
6 views

Error opening browser in VNC session: cannot open display: :1.0

Setup My goal is to use a web browser in a VNC session. I followed this page to install tightvncserver with xfce4. The session works fine, i.e. I am able to open all other GUI programs. I ran apt ...
user avatar
  • 41
0 votes
0 answers
12 views

collect 2: error: ld returned 1 exit status when compling

I'm trying to install xschem on a remote computer (centos 7). I ran ./configure and it was successful (i.e. no missing packages) However when I'm trying to run make in the same directory I get: /cs/...
user avatar
0 votes
2 answers
16 views

How to add rule to nftables.conf

In my terminal, I write : sudo nft add table inet f2b-table systemctl reload nftables.service then : sudo nft list ruleset result in the terminal (ok) : table inet f2b-table { } But when i open ...
user avatar
1 vote
1 answer
16 views

Fish shell reports "math: Error: Missing operator" on tab completion

I noticed the error this morning, but I don't think I have changed anything last night, so I am very confused right now. Perhaps I updated some utilities on my system and it somehow broke the back ...
user avatar
  • 327
0 votes
0 answers
9 views

Setting EPSON XP-342 printer on Arch linux

I am running Arch Linux with Gnome and I am unable to set up my EPSON XP-342 printer. I have cups installed and enabled. I installed epson-inkjet-printer-escpr from the AUR. I also installed foomatic-...
user avatar
1 vote
1 answer
15 views

Is there a simple way to see which PCI device my NVME is?

I have a U.2 SSD, which shows up as nvme1n1 in lsblk: root@eris:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 3.6T 0 disk ├─nvme0n1p1 259:1 0 476M 0 part /...
user avatar
  • 347
0 votes
0 answers
10 views

Crouton no longer works on Chrome OS. Is there another way to install Ubuntu on it?

thanks for taking the time to look this over. It used to be that one could use Crouton to help install Ubuntu on Chrome OS. I did this years ago. It seems the newer versions of Chrome don't allow ...
user avatar
2 votes
1 answer
36 views

How to start a bash script on Oracle Linux

What is the right way to start a bash script on Oracle Linux? on a normal Linux server I use ./script.sh But here is what I got when I do the same on Oracle Linux [user@server ~]$ ./script.sh bash: ./...
user avatar
  • 201
0 votes
0 answers
24 views

Blacklist /dev/sdo

I have a computer with an SD card slot without any card in it which by default linked to the /dev/sdo name. Since no SD card was inserted no block device is shown while viewing lsblk output, therefore ...
user avatar
0 votes
0 answers
15 views

U.2 hotswapping in linux?

I have a Debian 11 and a U.2 SSD which is supposed to be hot-swappable; this is my kernel: root@eris:~# uname -a Linux eris 5.18.0-0.bpo.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.2-1~bpo11+1 (2022-06-...
user avatar
  • 347
0 votes
1 answer
5 views

Log rotate is not working when set 2 jobs in the same time

Hi i have directory where i keep logrotate configs. Let's say /directory1/scripts/logrotate/logrotate_1.conf All of them are similar. logrotate_1.conf su root root /zzz/env/yyy/tomcat/logs/catalina....
user avatar
0 votes
0 answers
9 views

Auto load kbd file on keyboard connect

I have created a keyboard layout file (my_keyboard.kbd) specific for my keyboard. I load it manually using xkbcomp my_keyboard.kbd $DISPLAY which works fine. Currently, some other (the default/...
user avatar
  • 261
0 votes
0 answers
18 views

Is Logrotate missing from my Cron?

I just discovered that my Raspberry Pi has been running out of memory. Checking the contents of /var reveals that I had rather large log files in it (cd /var; du -h | sort -h): 1.3G ./log/journal/...
user avatar
  • 1,431
0 votes
1 answer
6 views

Ansible ansible.builtin.package variable substitution

Following the example here; https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_module.html#examples # This uses a variable as this changes per distribution. - name: Remove the ...
user avatar
  • 623
-2 votes
0 answers
11 views

Intel Dual-Band Wireless AC-3165 is not working in kali linux 2021.4

I dual-boot kali linux 2021.4 Lenovo Ideapad V110 and my wifi is not working as well as When I have to restart my PC then Everytime, I have restart the bluetooth using the service bluetooth restart I ...
user avatar
  • 1
2 votes
1 answer
31 views

trap is ignored when dialog is running with custom BASH_XTRACEFD

I have following script #!/bin/bash exec 5> >(logger -t $0) BASH_XTRACEFD="5" set -x trap _reboot INT DIALOG_TITLE="This is fancy dialog title" _reboot() { echo ...
user avatar
0 votes
1 answer
7 views

How to modify Cinnamon desktop drag-drop window size guide

As shown in the video above, you can see when I drag a window to the left edge of the desktop, it suggests a window resize up to half of the screen by an overlaying translucent box. And if I drop the ...
user avatar
  • 101
0 votes
0 answers
15 views

Postfix not logging authentication failures

I have a postfix server running on Ubuntu 18.04lts with authentication enabled. (from main.cf) smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination ...
user avatar
  • 4,295
1 vote
1 answer
16 views

How to print logs in color with repetitive call to a function which configs the color?

I want to print logs with some keywords in another color. Previously I use: cd ~/Code/Docker/somerepo && docker-compose logs -f my_service | grep -v "Successfully connected" | ...
user avatar
0 votes
2 answers
39 views

Bash - How to make a function "delete only non-matching array from user inputs"

Suppose, I have 1 file in a folder named B.py Using this script, I make 3 files within that folder. The files are A.py B.py C.py. read -r -p "Enter the filenames: " -a arr for filenames in &...
user avatar
0 votes
1 answer
8 views

Moquery & Grep - Returning results for classes without a specific attribute

Good afternoon! I'm looking to execute a query on a number of classes and return only those classes that lack a specific attribute. For example, In the program I am using, assume that I have a class ...
user avatar
1 vote
1 answer
27 views

SSH with multi-factor authentication

The customer requires us to setup MFA for SSH sessions. I have successfully tested MFA using Google Authenticator by following this article: https://www.linode.com/docs/guides/how-to-use-one-time-...
user avatar
0 votes
1 answer
15 views

fish shell: universal variables and alias not shared between "contexts"

I use fish shell mainly from Rider IDE and iTerm2. I've noticed that every task that implies saving something for future sessions will not operate transparently between the two aforementioned contexts....
user avatar
0 votes
0 answers
16 views

Why does "w" still show ttyS1 when it was disconnected and the getty process was killed?

I connected a serial console with the command: sudo /sbin/gettey -L 115200 ttyS1 vt102 and it worked. Then I unplugged the cable on the port. Then I ran w and ttyS1 still showed: minipc ttyS1 - ...
user avatar
0 votes
0 answers
5 views

How to deactivate specific hot corner in gnome shell?

I've installed "Custom Hot Corners - Extended" (link). Ok it's great. Now I would like to "deactivate" (erase, remove) specific one. How can I do that? I have this right now, but ...
user avatar
0 votes
0 answers
22 views

Bash script that automatically renames all files from a certain DIR

I'm working on a bash script that automatically compress to zip and renames all backup files from a certain DIR to a specified naming convention Convention name : "SYSTEM1_%CURRENT_DATE%_" ...
user avatar
0 votes
0 answers
6 views

AMD GPU Hardware acceleration possible for FFMPEG encoding H.265 on FreeBSD 13.0?

I am trying to record my live webcam video using FFMPEG to encode and record it in H.265 using my AMD Radeon RX 580 GPU. Are there any AMD AMF drivers which works for FreeBSD? Have no idea how to get ...
user avatar
1 vote
0 answers
25 views

Trouble updating Linux Mint [closed]

Addendum2- added to respond to the followup comment/question of terdon. Addendum added to respond to the comment/question of terdon. I am having trouble updating / upgrading Linux Mint. 7 days ago, ...
user avatar
0 votes
0 answers
15 views

Backup KeePassXC DB on Git LFS - I get "Error while reading the database: Not a KeePass database"

On my local filesystem there is a Git repository with Git LFS enabled: cat .gitattributes *.kdbx filter=lfs diff=lfs merge=lfs -text *.kdbx filter=lfs diff=lfs merge=lfs -text I just commit the ...
user avatar
  • 1,497
0 votes
0 answers
11 views

Openvpn not connecting

How can I install the older version or resolve the problem? openvpn --config imavi_saab. Lemon.ovpn 2022-07-04 09:59:59 Note: Treating option --ncp-ciphers' as '--data-ciphers' (renamed in OpenVPN 2....
user avatar
  • 1
0 votes
0 answers
33 views

scp multiple files with single command

I have seen this question: https://stackoverflow.com/questions/16886179/scp-or-sftp-copy-multiple-files-with-single-command But for some reason it does not work for me. If I run: scp me@remote:/path/...
user avatar
0 votes
0 answers
10 views

How to Mount freebsd-ufs USB Correctly to Transfer Files from One FreeBSD 12.1 computer to Another with 13.1

My Second Post. The First One Led to This Present One. I am moving from FreeBSD 12.1 on one computer to FreeBSD 13.1 on another computer. All of my desired files are placed in one directory. This is a ...
user avatar
0 votes
1 answer
29 views

How to convert this bash prompt to work in zsh terminal?

I am trying to get colored text in zsh, and I like the color options given in this bash command PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\]. ...
user avatar
  • 103
0 votes
0 answers
4 views

Flatpak doesn't find existing apps on Flathub for installation

I'm using Flatpak 1.10.7 on Debian 11 (32 bit) and it can't seem to find anything on Flathub for me to install. I set up Flathub according to their instructions and then run e.g. $ flatpak install ...
user avatar
  • 279
0 votes
2 answers
23 views

File content from env var

I would like to completely avoid writing credentials to disk. I want the credentials to be read from the environment variable. But some scripts require a credential file on disk from which they read ...
user avatar
0 votes
1 answer
16 views

Tree. What is the location of the generated text file?

Ubuntu. Tree. tree -fi /path/to/the/directory >~/file.txt I see the files in terminal but was under the impression that a text file called 'file.txt' would be generated, but I can't find it.
user avatar
  • 1
0 votes
0 answers
4 views

rtcwake: write error and PM: Swap header not found!

When I run $sudo rtcwake -m disk -s 60, it shows: rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "disk" using /dev/rtc0 at Fri Jul 1 10:09:45 2022 rtcwake: write error I created a ...
user avatar
1 vote
1 answer
16 views

like history and fc but for a personalized list of useful commands

I have spent a few hours trying to get an easy access to my most useful commands I have to use in a certain environment, I have the "incredible" idea of using history for that purpose, to ...
user avatar
0 votes
0 answers
20 views

Are there any compression algorithms that create identical files on Linux and Mac?

This question and answer (GZip doesn't produce the same compressed result on macOS vs Linux) are pretty clearly the GZIP doesn't meet the bill. No argument there. But, I think the real question ...
user avatar
0 votes
0 answers
12 views

Connect to Raspberry Pi through ssh from different network

I want to access my raspberry pi through ssh from another network than my home's I set my raspberry to use a static ip and mapped port 23456 to it (with TCP protocol) I then tried ssh -p 23456 ...
user avatar
0 votes
0 answers
15 views

Alternative permissioning systems considered in the past?

I remember reading about a permissioning system other than the one we're used to in unix. If I recall correctly it was designed by someone on a team involved in the development of unix and never ...
user avatar
0 votes
0 answers
4 views

How to unbind a vim command in visual studio code

So when I press ctrl + c it toggles from insert mode to vim. What can I write in the settings file to turn this toggle off?
user avatar
0 votes
1 answer
12 views

python-dev package installation error

Package python-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the ...
user avatar
0 votes
1 answer
10 views

DNS server not working on one computer only

I have a computer and a laptop, both have 127.0.0.53 running as their DNS servers. One computer runs fine with the current DNS server, but the laptop gets a "Temporary failure in domain name ...
user avatar
0 votes
0 answers
15 views

How to use sed with a path saved in a variable

I programmed a small application for which I want to provide some kind of install script. Part of that script is to register the app as a systemd service for which I need to provide the path to the ...
user avatar
0 votes
0 answers
6 views

How debug core dump created on remote ARM machine?

How do I debug a segmentation fault in an application created with QT Creator for a remote ARM device with a core dump? In QT Creator, with my Project open, I go to Debug > Start Debugging > ...
user avatar
  • 121
-2 votes
0 answers
11 views

Howto fix tor service on kali linux

After Installing Kali Linux 2022.2 32bit and watching YouTube videos on how to use Kali Linux. I found that some of the packages and services like Tor and Synaptic are not available how can I fix my ...
user avatar

15 30 50 per page
1
2 3 4 5
4384