Skip to main content

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
2 votes
2 answers
108 views

Unknown commands hogging all my cpu. " ./4 -c/tmp/ ..."

this is a follow up for this issue Usually, a few hours after a restart we would get a weidly named process like this htop output Turns out it was from out docker postgresql service and the posgres ...
1 vote
2 answers
4k views

Script to auto execute creation of ssh tunnel

I'm a CS student, and still learning a lot of these things, and so please bear with me if I don't have a full grasp on what I'm trying here. I'm on a Mac, connecting to a linux machine. I can set up ...
11 votes
2 answers
13k views

Systemd service - Python script inside Screen on boot

Im currently running a python script inside a Screen session through this script in rc.local: screen -L -dmS pi python /home/pi/truck/main2.py & But I would like it to run through systemd so I ...
1 vote
1 answer
3k views

How to make Chrome user proxy server on ArchLinux

I would like to set HTTP proxy for Google Chrome on ArchLinux. When I open the proxy settings section in Chrome GUI I get: When running Google Chrome under a supported desktop environment, the ...
0 votes
1 answer
13 views

Having JetBrains WebStorm open regularly kills screen session in PuTTY

I have a very odd and very frustrating issue. Summary I have my Linux environment set up to automatically reconnect to any existing screen session on log in, which when combined with the WebStorm IDE ...
0 votes
0 answers
13 views

ffmpeg doesn't have access to qsv nor vulkan

I'm running gentoo, and I have media-libs/oneVPL-intel-gpu installed, and latest mesa drivers, and intel gmm, however, qsv refuses to transcode and gives me the following error everytime ffmpeg -...
0 votes
0 answers
8 views

How to allow the download of files with custom extensions from a Plesk server?

I have a dedicated Plesk server with several domains. In one of them I want to make available a file called, say, "file.db" If I try to download that file from a web browser, I get a 403 ...
159 votes
2 answers
315k views

create tar with multiple directories and file locations

I have some scripts and files located in various locations like: /etc/dir1 /var/www/html /home/somedir I want to make a tar file so that it copies files and folders with the location structure. ...
0 votes
0 answers
11 views

How do I configure 2 public IP addresses on Debian and enable NAT traversal on one?

I got 2 IP addresses from my hosting company, xx.xx.xx.109 and xx.xx.xx.110, both in the same subnet. The subnet mask is 255.255.255.192 and the gateway is xx.xx.xx.20 I have a Proxmox server and ...
0 votes
0 answers
12 views

Jenkins Continuous Integration Server not starting on Linux EC2 Instance

I am facing a problem starting jenkins after an update on an Linux EC2 Instance. There was an older version of Java installed and i updated using yum command sudo systemctl status jenkins.service ...
0 votes
0 answers
19 views

Sending Environment Variables via SCP

I'm looking to send some kind of environment variable using "SCP -o" (or any other file transfer protocol for that matter PSFTP, PSCP, etc). I currently use SCP to transfer files between ...
0 votes
0 answers
16 views

Unable to get shared clipboard using VNC server on Ubuntu and Mac client [closed]

I have a remote Oracle Cloud VM running Ubuntu, and I want to remote in via VNC via macos Screen Sharing. I can connect with Xvnc version TightVNC-1.3.10 – but for the life of me cannot get shared ...
1 vote
1 answer
2k views

Kali Linux - Can't move or resize my terminal

I have the following problem. I logged into my linux account, opened the terminal and tried to resize it and it didn't even show the resize icon. After not being able to resize my terminal I tried to ...
0 votes
0 answers
10 views

How do you set up a system wide Proxy system for multiple SSH Dynamic Port (SOCKS5) Connections

What I'm trying to do is create a FoxyProxy type system wide proxy system for SSH Dynamic ports. My starting point is a OpenBSD Unix Based system, but has a lot of RedHat based additions. All of the ...
0 votes
0 answers
7 views

Linux: How to find the location of a specific "include" library in Python? [migrated]

Note: I have already searched extensively and found nothing that even vaguely resembles an answer, including here. If this is a stupid question or a duplicate, please accept my apologies. Also Note: ...
2 votes
2 answers
9k views

How to break a Linux boot process by using Control-C

With kernel 3.10.55 I can break a Linux boot process by pressing Ctrl + C. But with the newest kernels (4.1 and 4.4) Ctrl + C in boot time does not work – it displays ^C but does not break init ...
1 vote
0 answers
12 views

How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?

I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
3 votes
2 answers
6k views

Slow bandwidth with iperf3 when using Windows but Linux runs at full speed

I have a DigitalOcean Droplet that shares a gigabit connection and my college dorm fortunately also has gigabit connection. I noticed data transfers between the two were quite slow so I ran iperf3 ...
1 vote
1 answer
4k views

OpenVPN on Debian 6 failed to start

I configured openvpn on my Deabian 6 VPS (using OpenVZ) several times but always stuck on "Starting virtual private network daemon: client server failed!" The syslog indicates, that there seems to be ...
0 votes
0 answers
8 views

Laptop Keyboard disabled after suspend or sleep Debian 12, How do i fix it?

My Dell laptop has Debian 12, every after I suspend or sleep the laptop the keyboard is disabled when I wake it back. even after using on-screen keyboard to log in, it stays disabled. I tried changing ...
1 vote
1 answer
30 views

SSH from A through B to C, using private key on B

Schematic: ssh ssh A ------> B ------> C ^ ^ using A's using B's ssh key ssh key Preconditions: A is running ssh-agent A can access B B can access C A can't ...
0 votes
1 answer
61 views

Bypassing Secure Boot without disabling it

I've tried archboot, but no luck as I was stuck due to the plymouth missing. Now I want to try to install arch or nixos alongside Win 11. The problem lies in secure boot. I don't have spare linux to ...
1 vote
1 answer
6k views

How can I simulate the middle mouse button on Linux?

I just got a 4-button trackball mouse without a mousewheel (many of those don't have a mousewheel, for some reason), and I would like to make one of those buttons act like the middle mouse button (for ...
1 vote
1 answer
4k views

How do I uninstall dwagent from a linux machine?

I followed the instructions here to install dwagent on some linux server. I can connect to the server fine, but the screen share/capture isn't working for whatever reason, so I want to uninstall ...
0 votes
0 answers
11 views

How to solve Ansible venv runtime exception in specific versions?

I want to set up a venv with the following packages as these are specified in a project I'm working on: ionoscloud==6.1.4 pytest==6.2.5 pytest-cov==3.0.0 ansible==5.0.1 PyYAML==6.0 kubernetes==24.2.0 ...
0 votes
4 answers
12k views

Kali Linux 2020 Brightness Issue

When I try to decrease brightness means it won't change. I have seen some videos in youtube channel and try to install 'apt-get install xblacklight' this command showing an error that 'E: Unable to ...
0 votes
1 answer
24 views

Wine not being given proper permissions?

After updating to Ubuntu 22.04 wine stopped working. I noticed some other things I did not like about Ubuntu so I went over to Debian 12. Wine still did not work. I asked in the wine forums but no one ...
0 votes
1 answer
24 views

How to detect even or odd minutes in bash script

I need to detect whether the current minutes are even or odd regardless of the time zone ! I tried this according to answers from several sites: #!/bin/bash n=$(date +"%M") r=`expr$n%2` if [...
2 votes
1 answer
3k views

mount a cifs share without root/fstab

Hello is it possible to mount a samba share without root privileges? Currently I have a java program that needs to access a smb share. (it will index every file on the smb share and will create some ...
0 votes
2 answers
5k views

Network cable not working - dual boot Ubuntu 16.04 and Windows 10

I have dual boot (Ubuntu 16.04 and Windows 10) installed on my laptop. I found out, that when I shut down Ubuntu and run Windows then often happens that network cable stops working. I usually restart ...
0 votes
1 answer
5k views

USB drive not listed as media device

My multiboot USB drive (that also is used as a normal USB) isn't quite working properly. By this, I mean I can't get a computer to realize that it's a USB flash drive. The closest I've gotten is under ...
0 votes
2 answers
322 views

Shell underlined with link or info box

On Gnome shell when you type links like https://www.stackoverflow.com, it's underlined and you can click it to open the link in a web browser. How can we use echo to make underlined text, that when ...
1 vote
1 answer
90 views

Can't resize partition after cloning the disk to the bigger disk

I cloned my entire disk to the new disk with dd if=/dev/sdb of=/dev/nvme0n1 . It was a long process so I don't want to repeat it again. I booted from the new disk but there is a problem: the new disk ...
2 votes
1 answer
43 views

CIFS mount issues

I am trying to mount a network drive to my AlmaLinux box, and are running out of ideas. I want to mount the folder "project" with: sudo mount -t cifs --verbose -o username=$USER,uid=$USER //...
1 vote
0 answers
18 views

Hotspot connection SSH / Ping

I have a singleboard computer (Rock 4 SE) with a wifi that is hotspot capable. It is running linux Debian. I want to SSH into it with my laptop using the linux machines own wifi as a hotspot for ...
0 votes
1 answer
3k views

Transfer files from one remote server to another remote server in WinSCP

I want to transfer some files from one remote server to another remote server. The issue is these servers are accessible to be by doing hop from a jump server. I am able to get into these servers ...
3 votes
1 answer
8k views

Can no longer forward X11 with MobaXterm

Until today, I was able to effortlessly enable X11-forwarding with MobaXterm from my Linux laptop to my Windows laptop. However, as of today, I am suddenly getting this error message whenever I try to ...
2 votes
2 answers
4k views

chpasswd and passwd not updating /etc/shadow for root user

I'm having a weird problem, and I don't know if I've screwed something up or this is the way it's supposed to be and I never noticed.. Using passwd and chpasswd to change a users password works as ...
1 vote
1 answer
4k views

kubeadm init command gives error

When I run the following command: sudo kubeadm init --pod-network-cidr=192.168.0.0/16 --apiserver-advertise-address=192.168.56.101 I get the following error: [WARNING IsDockerSystemdCheck]: ...
1 vote
1 answer
17 views

Capture TCP stream with tcpdump/netcat

I have a hardware device that hosts two separate TCP modules. One is for receiving commands from other machines, while the other is a TCP stream server that sends data based on the commands received. (...
402 votes
21 answers
562k views

How do I detach a process from Terminal, entirely?

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy. However, I'm struggling with how to completely detach a ...
21 votes
2 answers
34k views

SCardEstablishContext: Service not available

I installed the following packages: libusb-dev libusb++-0.1-4c2 libccid pcscd libpcsclite1 libpcsclite-dev List item libpcsc-perl pcsc-tools But when I send the pcsc_scan command I ...
0 votes
0 answers
17 views

How can I use up all my CPU/RAM for testing purposes?

I want to bring up my CPU and memory usage all the way up to 100% for testing purposes. How can I do this effectively?
1 vote
0 answers
12 views

How can I change the initial directory of apps back to the home directory?

Apps like the XFCE4 terminal and Thunar used to open in the home directory. However, recently they started to open in $HOME/.config/xfce4/panel. I want to change this back to the home directory. How ...
0 votes
1 answer
5k views

backup GPT table is corrupt. Running fdisk

I went to check my disk with fdisk -l and came up with one that says the The backup GPT table is corrupt, but the primary appears OK, so that will be used. I'm not sure which disk it is referring to ...
0 votes
1 answer
4k views

Execute a jar with double click in linux

What I'm trying to achieve is to run a java program on any Linux system (Ubuntu, Fedora, etc... covering as much as possible) by simply double clicking a file-like I would on Windows. I have created a ...
1 vote
0 answers
23 views

How to Identify and Terminate Idle tmux Sessions on a Debian Server

I have a Debian server with multiple tmux sessions running. Some of these sessions are idle and not running any active processes. How can I identify and terminate all tmux sessions that are not ...
1 vote
0 answers
19 views

How to skip a directory when downloading with wget?

I want to download a website with wget in Linux that have the following 'structure': sssssssssss.com/things/summer/tables/books/ There is a directory in the directory 'summer', named 'sport'. I want ...
1 vote
1 answer
27 views

Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04

I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs: First disk with the following partitions: /boot/efi /boot ...
1 vote
0 answers
18 views

Matrox G200eW3 fails on Debian 12.5

I do have a server with Matrox G200eW3 (on-board) on Debian Bookworm, but graphic display fails. There is a small _ in the top left corner, but that's all. Still the terminals (ctrl-alt 2/3/4/5) are ...

1
2 3 4 5
1183