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.
58,235
questions
0
votes
0
answers
11
views
iwconfig wont associate connman does
Given a Cisco WDS with captive portal, open no WPA/WEP used.
I can connect with connman or other connection managers in Linux but not with regular iwconfig.
/sbin/iwconfig wlan0 essid Guest_company ap ...
0
votes
1
answer
43
views
Unknown commands hogging all my cpu. " ./10 -c/tmp/ ..."
What command is ./10 -c/tmp/ ... ?
I have tried killing it with no luck. Other than reboot what are my options?
How could I find out what triggered it? What command was it, I need to identify what ...
0
votes
1
answer
61
views
Trying to allow a device access to the Internet through ufw using a shared ethernet port on Raspberry Pi while on Wi-Fi
I'm attempting to share my Raspberry Pi's ethernet port so I can connect an ethernet device (indirectly) to Wi-Fi while still protecting the device (and Pi) with a firewall (in this case ufw with gufw ...
0
votes
0
answers
16
views
Wireplumber on Artix OpenRC doesn't detect audio devices unless i run it manually inside the user
yesterday I was messing with my Artix Linux installation (I'm using OpenRC as the init, KDE Plasma as the DE and SDDM), and i needed to change the audio server from PulseAudio to PipeWire.
I installed ...
0
votes
1
answer
77
views
+100
How do I get dark mode on VirtualBox, with Arch Linux as the host OS?
The white background in the VirtualBox manager hurts my eyes and I'd like to make it dark themed.
I'm using Arch Linux with i3, I've tried enabling dark theme in both qt5ct and lxappearance, ...
0
votes
0
answers
14
views
Monitor requires xrandr command to turn on every time it turns itself off to save power
Problem: A monitor fails to turn back on after going into power saving mode. I physically turn on the monitor, and it displays "No signal".
Note that when this happens, the computer itself ...
1
vote
0
answers
50
views
How to determine what script is deleting files in Linux?
I run a Plex Media Server (PMS) on a ubuntu 22.04 system. There's been no update to the PMS libraries for a while, and I recently started adding a few movies to the collection. But what I've found ...
0
votes
2
answers
62
views
How to force declare -f to respect semicolons
Given the function
hello () { echo "one"; echo "two"; }
Inside a script I'm using cmd="$(declare -f hello); hello" then I try executing the command using bash -c $cmd, ...
0
votes
0
answers
21
views
How do I reduce the space allocated for Persistent Storage on my Ubuntu Live USB?
I used Rufus to create a Ubuntu 22.04.3 LTS Live USB with persistence. However, I allocated all of the remaining drive space for the Persistent Storage, thinking that it could be accessed and used as ...
0
votes
0
answers
57
views
Scary error while booting the PC from USB
I created a flash drive with pop OS! on it. I performed every step to boot from USB. At a point a try or install pop OS! Appeared on screen with timer showing seconds left to boot. But this message ...
0
votes
0
answers
18
views
Battery remaining time is not shown in KDE after upgrade to Kubuntu 23.10
I upgraded my computer from Kubuntu 23.04 to 23.10 and now it refuses to show me the estimated battery time anymore (not showing remaining time of battery, sorry about the Slovenian language on the OS)...
0
votes
0
answers
49
views
Persistent SSH Error 'port 22: No route to host'
I have been trying to resolve a problem on my Windows 11 laptop dealing with openSSH server with the error message 'port 22: No route to host'. Mind you I have done the download correctly, and have it ...
0
votes
0
answers
53
views
Order of device initialization at Linux boot
I'm working on embedded system with screen connected over HDMI, but screen initialization takes longer than is comfortable for user. When I have ploted boot sequence by systemd-analyze tool, I have ...
1
vote
0
answers
15
views
xinput settings are randomly lost
I start the following script at KDE startup to configure my Logitech TrackMan for left-handed use:
#!/bin/bash
lsusb | grep 'Logitech, Inc. Marble Mouse' &>/dev/null || exit 0
xinput set-...
0
votes
1
answer
136
views
How to convert code from test format to if fi format?
I have code that opens a bash file in a terminal for entering the sudo password:
test "$IN_TERM" || {
export IN_TERM=1
konsole -e "$0"
exit 0
} && true
I need ...
1
vote
1
answer
79
views
VirtualBox installation fails on Ubuntu
I'm trying to install VirtualBox on Ubuntu 22.04.
I downloaded the right .deb from the official site and installed with sudo dpkg -i virtualbox-7.0_7.0.12-159484\~Ubuntu\~jammy_amd64.deb which gave ...
0
votes
0
answers
29
views
Accidentally ran `mkfs.ext4` on my `/boot` partition (fedora 36)
I pulled a total amateur-hour move and ran mkfs.ext4 /dev/nvme0n1p2 on accident the other day while trying to troubleshoot a hosed retropi sdcard. /dev/nvme0n1p2 was my /boot partition on my work ...
1
vote
0
answers
37
views
Sending and receiving ffmpeg video stream through USB to TTL converter
I need to transfer video signal through USB to TTL converter from one VM and receive it on other USB to TTL converter then display the received stream on second VM (the bitrate on converters are ...
0
votes
0
answers
63
views
How to properly get nvidia drivers/cuda setup for rtx a6000 workstation
I am having issues setting up nvidia drivers/cuda on a rtx a6000 workstation, if it matters I am running 2 of them in nvlink.
I am on Fedora Workstation 39
I've tried multiple ways of installing the ...
2
votes
0
answers
80
views
How can I securely watch videos on my VPS downloaded from untrusted websites?
I have a linux VPS containing videos downloaded from untrusted websites, which may contain viruses. I want to watch these videos safely.
I'm not concerned about the VPS itself being infected, I'm wary ...
0
votes
0
answers
46
views
I'm getting the "mmc0: card never left busy state" for an SD card that Windows happily recognises and formats. What can I do to make it work on Linux?
I went and bought a steam deck, and decided to get an SD card for it - a Hunyeiz thing from a Kodak shop. After a messy time accidentally formatting it poorly, hastily typing console commands given to ...
-1
votes
0
answers
43
views
How to write a script in MobaXterm [closed]
I have never really done any coding before except for an introductory class to Python for school. I need to know how to write a script in MobaXterm that will essentially shell into another machine(s) ...
0
votes
0
answers
24
views
mdadm grow fails with "mdadm: Cannot add bitmap while array is resyncing or reshaping etc."
We have a RAID-1 setup. We changed the old 1TB disks for 3.7TB disks. The disk changes worked without a problem, the disks are in sync. We did have to change the partition type from MBR to GPT, but ...
0
votes
0
answers
18
views
Set proxy on login if proxy server is reachable
I have to move between work, where we have a firewall and have to connect to the internet through a proxy and home where I do not need a proxy.
Since there are no global proxy settings in Linux and a ...
1
vote
0
answers
16
views
Can't connect to a Debian on CHIP from Macbook
I've got a weird problem I have no idea how to fix.
I have an old CHIP computer. It's a single board computer similar to Raspberry Pi. It runs on ARMv7 CPU and has RTL8723BS WiFi chip.
Originally it ...
6
votes
3
answers
959
views
Turn debian laptop tty monitor off at start
I have a laptop that's turned on 24/7, it runs debian with no windowing system (just tty). I've looked through various posts that recommend setterm or vbetool and i've tried making a systemd startup ...
0
votes
3
answers
142
views
Import psql dump without change in pg_hba.conf?
For some time I've been working on an install script for Tryton ERP on Linux systems. Meanwhile, most things are working, but I do not get around one challenge:
I need to provide the option to import ...
0
votes
3
answers
31
views
What's the history on the option separator of GNU sed?
They say GNU sed supports using any character following the command character as a separator for command options, like the following.
echo abc | sed 'y%abc%ABC%'
But I can't find the documentation ...
1
vote
0
answers
110
views
How can I make Debian 12 automatically turn the laptop screen back on upon opening the lid?
I've installed Debian 12 on my old laptop with the intention of using it as a home server, avoiding the installation of any graphical interface. However, I've encountered an issue where the screen ...
0
votes
1
answer
105
views
How to send an email from one user to another, locally and offline?
I'm just testing a few things with e-mail and want to send something with mailutils strictly locally and offline from one user to another:
tbird@mordor:~$
tbird@mordor:~$ mail nicholas@mordor....
0
votes
1
answer
97
views
Wifi Dongle on Armbian, nl80211 driver doesnt work
I have problems to get a wifi-USB-dongle working on a linux (Armbian 22.05.0-trunk with bleeding edge Linux 5.16.20-rockchip64).
the file /etc/wpa_supplicant/wpa_supplicant-wlan0.conf looks like:
...
0
votes
0
answers
23
views
Unable to change keyboard layout when inserting password in Linux (Fedora + Gnome)
I'm using Fedora 38 with Gnome UI and GDM login screen.
I have two layouts Russian and Mozc (Japanese input)
Mozc has a direct input mode that I'm using instead of English layout. And usually it works ...
0
votes
1
answer
28
views
running a multi-threaded script on a macPro to a smb-mount folder throws an error
We're trying to run a multi-threaded script from our macPro but we keep getting an error massage.
The xml script contains parameters to run a specific tool, the paths to the raw data and other ...
0
votes
0
answers
11
views
Facing an error while vagrant up and trying to create new vm with hard disks
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu2204"
config.vm.disk :disk, size: "400MB", name: "extra_storage1"
config.vm.disk :disk, ...
0
votes
0
answers
44
views
Issues installing whonix on top of kicksecure
I do not know anything about linux however I have been working on this problem for about 20 hours.
I have a Lenovo thinkpad T430s i installed Debian 12, and I am quite certain I have installed ...
0
votes
0
answers
25
views
Single network interface with multiple IPs
I'd like to implement multiple VPN protocol tunnels on the same virtual interface.
My VPN tunnel is implemented on top of UDP connection so basically I can use this connection to send packets to ...
0
votes
0
answers
28
views
Thunar Quick Link to Downloads not Updating After Changing Default Downloads Directory
I recently updated the default downloads directory on my Linux system by editing the ~/.config/user-dirs.dirs file. The change seems to be reflected in most applications, including Firefox. However, ...
1
vote
0
answers
69
views
KVM host and guest cannot communicate, other traffic works fine
I have a KVM host and a guest on it.
The KVM host hosts a mail service (postfix). The VM is a spam filter (called "spamfilter" for ease).
The basic problem and question is that spamfilter (...
1
vote
1
answer
67
views
SSD cannot be recognised on Windows and LInux
I recently bought a new SSD to replace the one in my laptop. I took the old SSD out and stuck it in an external enclosure, planning to use it as an external drive. When I first plugged it in to ...
0
votes
1
answer
44
views
How many environment variables can be passed through openssh SendEnv/AcceptEnv
I have added SendEnv whatever_* in ~/.ssh/config on the local host and AcceptEnv LANG LC_* whatever_* in /etc/ssh/sshd_config on the remote host.
Now, I'm trying to run some stuff on the remote ...
2
votes
0
answers
101
views
Linux and S3 sleep on a Thinkpad X1 Carbon gen 11
I got a new laptop, a Lenovo Thinkpad X1 Carbon gen 11, and it doesn't support S3 sleep mode. When in sleep the battery continues to drain, badly.
~ cat /sys/power/mem_sleep
[s2idle]
journactl |grep ...
2
votes
1
answer
101
views
Why does starting `tmux` on sway launch over `swaymsg` does make tmux inaccesible?
I want to start tmux server on sway startup.
Therefore I created in sway.conf the following:
exec ~/.config/sway/scripts/start-up.sh
in which script I start tmux as such:
#!/usr/bin/env bash
# ...
0
votes
1
answer
91
views
Optimize file system for parallel read for HDD
I have slave 16TB drive, that need to run 6 spacemesh node which need each to read 512G folder (so total ~3TB data) at same time as fast as it can (atm its 230MB/s as read is sequential with 1 node)
...
0
votes
0
answers
26
views
KDE Keeps freezing for some reason
First, to give a bit of details about my system:
I use KDE plasma
I use X11/Xorg as my protocol
I use Arch Linux
I have an NVIDIA gpu and an intel IGPU
Since I've installed Arch i have been ...
0
votes
0
answers
28
views
Ubuntu Server randomly crashes and hangs
System randomly crashing, cannot find reason
I am running a Jellyfin media server on a machine at home and it has been crashing randomly since it was installed. The system would just crash and hang ...
-1
votes
1
answer
68
views
Logitech G502 lightspeed adapter disconnects after disk migration on Debian 12
Recently I treated myself to a 1TB NVMe SSD to replace my very old Samsung 750 500Gb SSD.
I cloned my debian 12 install to the new disk using clonezilla's disk-to-disk, expand partition setting. apart ...
-1
votes
1
answer
180
views
IPtables dropping packets I can't see with tcpdump and I don't know why?
My IPtables rules are blocking apt update for example:
root@vpn:~# apt update
Ign:1 https://pkgs.tailscale.com/stable/ubuntu jammy InRelease
Ign:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
...
0
votes
0
answers
24
views
Choice of file sharing for projector
I have a question similar to this one: Using projector via Wi-Fi from Linux laptop running Ubuntu 19.04 (Disco)
I haven't had a TV for the last 40 years, but the family wants a projector for Xmas. I'm ...
0
votes
0
answers
12
views
How do I stop rAlt+Spacebar from outputting the NO-BREAK SPACE character?
I use a non-English keyboard layout, which contains multiple characters that have to be input using, for example, rAlt+a, and I frequently press rAlt+space by accident, inserting an unicode character ...
9
votes
1
answer
981
views
sudo password not working over ssh
I have a user on my local (virtual) machine with sudo privileges and when I login with this user I can run SUDO commands such as:
$ sudo ls
[sudo] password for <user>: ***PASSWORD ENTERTED***
&...