Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

Why a non-root installed software can work across the whole cluster?

I recently installed a new python3 and another python package locally in my account folder on a cluster with a dozen of nodes (each node with several cores). I originally thought that I can python3 ...
user avatar
0 votes
0 answers
4 views

Centos-Http connection fails for GUI applications/browser over Xwindows

http proxy is defined inside profile and all cli applications like curl,wget,yum all work fine. When running any browser over Xwindows and setting the proxy through the browser menu or system wide ...
user avatar
  • 155
0 votes
0 answers
14 views

Is it possible to, and if so, how can I, boot a USB-sticked copy of Linux on this Chinese-made ARM machine?

I recently acquired a quite nice Chinese ARM computer board, the ITX-3588J from Firefly (aka. T-Chip) and with core processor made by RockChip. By itself, the board is an integrated single-board ...
user avatar
0 votes
1 answer
15 views

How do I ensure tmux disconnects when session times out, instead of exiting

Compliance requires a 10 minute timeout on ssh sessions. I want to use tmux so I don't lose the stdout from long running processes. [ -n "$PS1" -a -z "$TMUX" ] && exec tmux ...
user avatar
0 votes
0 answers
12 views

swapon: /swapfile: swapon failed: Invalid argument

I have the latest Debian: Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye I have tried following code from this website: sudo dd if=/...
user avatar
0 votes
1 answer
10 views

bind9 query failed (REFUSED)

I installed and configured bind9 on Ubuntu 20.04 with the following files: root@server:/etc/bind# cat named.conf.options options { directory "/var/cache/bind"; // If there ...
user avatar
  • 193
0 votes
1 answer
6 views

named-checkzone: chroot option "-t" as non-root user

We have bind nameservers running in chroot environment. We edit zone files on a different host where we want to verify them using named-checkzone before uploading. We used parameter -w to adjust the ...
user avatar
  • 103
0 votes
0 answers
5 views

Supervisor - unix:///var/run/supervisor.sock no such file when nodeamon=true

I have a problem with supervisor. My supervisord.conf looks like:[unix_http_server] file=/run/supervisor/supervisor.sock [supervisorctl] serverurl=unix:///run/supervisor/supervisor.sock [supervisord]...
user avatar
0 votes
0 answers
8 views

calculate ext4 inode checksum [closed]

I am not very good at C and yet I would like to know how to calculate the checksum of inodes in ext4 v4.19 (or above). I understand the OS uses crc32c, and input is the UUID, the inode number, and the ...
user avatar
  • 1
4 votes
4 answers
576 views

Disabling everything except letters in browser- and on OS-level

We would like to make an interactive exhibition piece foolproof, requiring as little staff presence as possible when recovering it from anything anyone made it do. It has a text input and then it ...
user avatar
0 votes
0 answers
14 views

Duplicity cron not working

I'm trying to run Duplicity backups via a cron script with --encrypt-key and a GNUPG key ID (from gpg --list-secret-keys). It's failing with /root/backup.sh: 5: --encrypt-key: not found but if I ...
user avatar
  • 136
0 votes
0 answers
16 views

Linux: Setting up permissions on a directory, so that one user has rwx on everything, while everyone else only has rwx on own files

I want to create a directory, in which the following rules apply: One user can see every file in there, open and edit it Other users can put new files there Other users can see, open and edit their ...
user avatar
  • 63
2 votes
1 answer
14 views

Linux 16.04 LTS: Cannot upgrade PHP version manually

Having trouble upgrading to PHP version 7.4 from 7.0.33 on Ubuntu 16.04 LTS version So far, I am running PHP 7.0.33 on my Ubuntu 16.04 PC. Today I am trying (for the first time) to manually upgrade ...
user avatar
0 votes
0 answers
14 views

Re-installed Windows 10 and grub menu disappeared

Events chronologically: Installed Windows 10 Installed Ubuntu 22.04, this added Grub dual boot menu. Both OSes bootable. All good Deleted Windows 10 reserved and main partitions and merged in to one ...
user avatar
0 votes
1 answer
19 views

Some websites not working on void linux server

I have a void linux server, and some websites don't work on it. If I ping google.com, I get timeout errors PING google.com(fra24s04-in-x0e.1e100.net (2a00:1450:4001:827::200e)) 56 data bytes ^C --- ...
user avatar
0 votes
0 answers
4 views

Autostart a tigervnc session for the local display

Hi I'm trying to setup tigervnc so I can remotely view my laptops screen. I've followed the guide on the arch wiki (https://wiki.archlinux.org/title/TigerVNC) and I can start the server but no matter ...
user avatar
  • 103
0 votes
0 answers
29 views

Does the rsync command provide a safe means of transferring data from a Windows disk image to a Linux system?

I currently have Windows 10 on my computer, and I am planning on installing Ubuntu. Before installing Ubuntu, I am planning on creating a disk image to preserve my data. Once Ubuntu is installed, I ...
user avatar
1 vote
1 answer
32 views

Disks/Partitions & Filesystem

I've been committed to learning about Linux for the past few months & its been fun! My main problem is understanding certain concepts, due to the fact that this is my first time seeing all this ...
user avatar
0 votes
0 answers
11 views

How can I make rclone work like rsync?

I started using OneDrive backup with rclone. It has some nice qualities, but rclone (over OneDrive etc.) has all kinds of corner case errors, and doesn't preserve permissions and ownership. Is there a ...
user avatar
0 votes
1 answer
21 views

Getting a Particular Binary Package from A Source Package?

(Sorry if the title is worded incorrectly - I am a newbie in this domain, so please correct me wherever I am wrong) From https://packages.ubuntu.com/source/bionic/amd64/hdf5, I am trying to get the ...
user avatar
0 votes
1 answer
35 views

Detect files with multiple extensions

I've a synology running a kind of linux OS. I've transfered there a lot of photos. Unfortunately, some are with .jpg and some with .JPG depending of the tool I used to import. These are considered as ...
user avatar
  • 3
0 votes
0 answers
7 views

No sound output devices listed on Debian testing

After I installed some updates form the package manager my sound device is missing on Debian testing: $ inxi -SMA System: Host: Hera Kernel: 5.18.0-2-amd64 arch: x86_64 bits: 64 Desktop: GNOME v:...
user avatar
  • 161
0 votes
0 answers
11 views

Multi-booting: Installing multiple Windows 10 OS's alongside multiple Linux OS's

When searching online regarding installing multiple versions of Windows 10. Every site mentions that Windows 10 will have it own "Selection screen" for OS's. E.g. when you boot your PC, ...
user avatar
0 votes
0 answers
10 views

Bluetoothctl always prompting for pairing even on trusted devices after Bullseye Upgrade

I recently upgraded from Debian Buster to Bullseye and my Bluetooth mouse wont autoconnect despite having it paired and trusted. It always does connect but it doesn't pair it prompts for it such as. $ ...
user avatar
0 votes
0 answers
12 views

Ubuntu best Practice storage setup [closed]

Mainboard: SuperMicro X10SML-F 1 SSD 30GB 4 WD 3TB Disks I used this server for Freenas but now want to install Ubuntu and use a central Linux Server also hosting Docker Containers. Based on best ...
user avatar
  • 101
0 votes
1 answer
18 views

Weird spacing in alias from .profile

I am trying to add some aliases to my yocto linux machine. For testing purposes i added the lines alias ..='cd ..' and alias ps='ps -A' to a newly created ~/.profile. When I log in to my device with ...
user avatar
0 votes
0 answers
8 views

Stop Linux application from using all monitors

I have a setup with 1 GPU and 3 monitors attached (2 DisplayPort and 1 HDMI). I'm running Ubuntu 18.04 with DWM (dynamic window manager). I have an application that has the option to go fullscreen on ...
user avatar
0 votes
3 answers
24 views

Moving files only linux

I have a path /participant/data where all the files are in the data directory. However, I want the directory-structure to be /participant/data/subdirectory, with subdirectory containing all the files. ...
user avatar
0 votes
0 answers
22 views

Tmux froze after attaching to session

Today logged on to a HPC facility to check on my tmux sessions. Did a tmux ls and it successfully listed all the sessions. But when I tried to attach to a session, it hung! So I opened another ssh ...
user avatar
  • 11
0 votes
0 answers
11 views

Monitor folder and subdirectories to show log in a single output

I have a local program whose execution generates many log files, which is why it is becoming difficult for me to follow its operation. I would like to know if there is any way to monitor a folder and ...
user avatar
  • 111
0 votes
1 answer
17 views

wifi isn't working on kali linux (and downloads too)

So I have kali linux on my VM (I use vm ware workstation pro 16) And whenever I try to download any update it tells me this : Ign:1 http://http.kali.org/kali kali-rolling InRelease Ign:1 http://http....
user avatar
  • 3
0 votes
0 answers
6 views

IPv6 link-local multicast stops working after a reconnection

I have two microcontroller boards with the same Wifi module. One of the boards acts as an Access Point (AP) while the other acts as a Station (STA) trying to connect with the AP when it is in range. I ...
user avatar
0 votes
0 answers
11 views

Is it possible to automatically decrypt hd0,gpt2 in GRUB2? [duplicate]

I'm wondering if it's possible to let GRUB automatically decrypt the boot partition and if so, how do you do it? I did a full disk encryption when installing Manjaro and set up a Yubikey Challenge-...
user avatar
0 votes
0 answers
20 views

AWS EC2 Cron getting hacked or changing [closed]

I have a EC2 instance and using sudo crontab -u apache -e to add crons to my instance to run as apache user. Iv noticed that once a week or so the cron entries get wiped out and instead get replaced ...
user avatar
  • 101
0 votes
0 answers
13 views

Automatically enable sudo mode when connecting to a VM through putty

I'm using the following shortcut to log into my Ubuntu VM: "C:\Program Files\PuTTY\putty.exe" -ssh xxx -pw yyy I tried running sudo -i on startup, like so: "C:\Program Files\PuTTY\...
user avatar
  • 201
0 votes
3 answers
45 views

Unix: How to Exit Out of "/" directory?

I am learning some elements of the Unix environment myself. I have tried to search up this question but perhaps I am not wording it correctly. It is quite possibly a very trivial question, too, but I ...
user avatar
0 votes
1 answer
20 views

"bring" sudo into front?

I have a very simple task: change all files' permission which are located in a specific folder: find in_this_directory -type f -exec sudo chmod 0664 {} \; While this works, it calls sudo on every ...
user avatar
  • 255
0 votes
0 answers
8 views

Best way to find the memory usage of a process, in bytes, non-interactively

I'm trying to measure the increase in memory footprint of a program as I add data to it, so I've written a Python script that does basically start_the_program() while True: add_some_data() ...
user avatar
0 votes
0 answers
13 views

Linux distros are not being installed properly on WSL Kernel

I am trying to install WSL2. This is a part of the main Issue I am facing with my new Laptop. Here is the main Issue. No matter what distro I install on the WSL kernel, all repeatedly asks for Unix ...
user avatar
0 votes
0 answers
17 views

Running windows applications from linux host without going inside windows guest

Is it possible to run windows applications like excel, word, from Linux host when using kvm as if an X server is running in side the kvm guest and i can access the graphical applications of the guest ...
user avatar
  • 933
0 votes
0 answers
23 views

VT-x is not available (VERR_VMX_NO_VMX) on Linux Server

Error when I try to start VirtualBox on Linux Server: VT-x is not available (VERR_VMX_NO_VMX) Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-...
user avatar
0 votes
1 answer
15 views

how to install qt5 in debian 11 stable?

I'm trying to play an NES emulator named punes, and on its github page, it says I need to configure and build manually. When I do ./configure, I get configure: error: Qt5 library not found. However, ...
user avatar
  • 298
0 votes
0 answers
13 views

/boot partition gets full using mintUpdate

I have a 1gb /boot partition, which should be more than enough according to all the advises I see (see here, or here ) I keep my system updated using the mintUpdate utility. After today's update, I ...
user avatar
  • 115
1 vote
0 answers
15 views

How can I acess a NFS server from outside of the local network

I have an NFS server and I want to be able to use it places other than just home. How (if possible) can I access it from other places? Would I just simply port forward the port NFS is using?
user avatar
  • 11
0 votes
0 answers
13 views

Linux Motion text_scale Function

Good Day, I have installed and configured Motion on Debian 11 with 3 cameras - one network RTSP and two USB. The streams work flawlessly and the text_left and text_right functions correctly show the ...
user avatar
0 votes
1 answer
24 views

Is it possible to share network PC to PC?

Is it possible to somehow share a WiFi connection from PC to another PC on Linux? I have a laptop which can connect to WiFi but my other PC cannot because it doesn’t have a WiFi card. I need to SSH ...
user avatar
0 votes
1 answer
30 views

Why do VMs hosted in Germany (external IP from German Provider) and my hypervisors get Columbia as their location when searchign with google?

I just noticed a strange behaviour for my virtualization cluster (Proxmox). The external IP of the cluster is registered for a German company. When I e.g. access Google via the GUI of my internal ...
user avatar
2 votes
1 answer
139 views

How does UEFI know which bootloader configuration to use

It's been a while since I read about UEFI and forgot how some pieces connect. I forgot how UEFI and the Grub bootloader work together. I'll say what I recall, please correct me if I'm wrong: UEFI is ...
user avatar
  • 135
-1 votes
0 answers
22 views

zram: swappiness, vfs_cache_pressure, page-cluster, dirty_ratio and dirty_background_ratio settings for gaming machines with HDD and low RAM? [closed]

I'm trying to game on Linux, but my biggest bottlenecks are my HDD and my 8GB of RAM. I used zram to allow more data to be stored in my RAM by compression (using lz4 algo with 100 priority and "...
user avatar
  • 37
0 votes
2 answers
21 views

if-then statement in bash to toggle screen resolution

How do I phrase a script that checks screen resolution with xrandr and changes resolution depending on what it is currently? Which is to say, toggles the resolution. Sample output of xrandr -q ...
user avatar

1
2 3 4 5
1111