New answers tagged

0 votes

How to enable Unattended Access in anydesk, debian 10, openbox, lightdm

One possible reason is that the password is too weak. In this case, AnyDesk rejects your password without prompting any warning. So the password is still not set, therefore the unattended access is ...
user avatar
0 votes

Virtual Machine Manager - Automate Repetitive Launch Steps

You need to tell libvirt that the "default" network should be automatically started when libvirtd is started. sudo virsh net-autostart default If "default" hasn't already been ...
user avatar
  • 66.5k
4 votes
Accepted

Different behavior between SSH into VM and running SSH commands from script

When you ssh into a machine, you start an interactive login shell. When you run ssh ip command, you are starting a non-interactive, non-login shell: $ ssh localhost 'echo $- $0; shopt login_shell' hBc ...
user avatar
  • 215k
0 votes

Rename ether interface with systemd-networkd without reboot

Thanks to @telcoM who put me on the right track finding an answer. By restarting the systemd-udev-trigger service the interface will be renamed according the .link file. Full command: systemctl ...
user avatar
4 votes

Different behavior between SSH into VM and running SSH commands from script

Your diagnosis is probably correct. To circumvent the problem, you need to verify which rcfile is not executed at startup (it will likely be the one where PATH is set up), among the scripts in the ...
user avatar
  • 4,049
0 votes

Negative disk used space after shrinking RAID1 in Debian 11

Run the following command with the file system unmounted: debugfs -w -R "set_super_value overhead_blocks 0" /dev/sdXX Then the next time you mount the file system, the correct value for &...
user avatar
  • 111
1 vote

0bda:c811 Realtek not recognized

The first thing to do (in Debian): sudo apt-get install git sudo apt-get install dkms Update repository in file /etc/apt/sources.list: deb http://deb.debian.org/debian buster main contrib non-free ...
user avatar
  • 11
2 votes

Rename ether interface with systemd-networkd without reboot

I can't test this right now and haven't tried this exact procedure before, so take this with a grain of salt. The .link files are not processed by systemd-networkd, but by systemd-udevd (see man 5 ...
user avatar
  • 66.8k
0 votes

Automatic rollback to files copied with the backup argument

If you have space to have two parallel filesystem trees, you could possibly have something like /bin and /bin.old. Repeat for all top-level directories. Installation would be a case of creating /bin....
user avatar
  • 88.9k
1 vote

Erasing the boot disk on an external hard drive

my recommendation: alias lsblk2='lsblk -o type,name,label,partlabel,size,fstype,model,serial,wwn,uuid' then run lsblk2 and identify the correct device... i.e./dev/sdb in your case... so you don't ...
user avatar
  • 4,111
2 votes
Accepted

Erasing the boot disk on an external hard drive

The sdb device isn't a folder or file to be erased, it is the representation of the actual disk device. You cannot use rm to erase partitions on this device. If you want to remove the partitions, you ...
user avatar
  • 15.1k
0 votes
Accepted

Cannot login after enabling pam_faillock module

I've uncommented your lines and put them in what I think is now the right place. I've also moved one or two of the other lines around to fix the authentication flow. # here are the per-package modules ...
user avatar
  • 88.9k
1 vote

Setting up debian archive keys on risc64: new key but contains no user ID

Packages authentication If you want apt to verify the downloaded packages, you can either install the debian-ports-archive-keyring package or manually import the Debian ports archive key into apt [...]...
user avatar
  • 24.6k
1 vote
Accepted

Setting up debian archive keys on risc64: new key but contains no user ID

If you can't import the gpg key, you can install the debian-ports-archive-keyring manually. wget http://ftp.us.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-...
user avatar
  • 57.5k
0 votes

While installing Debian KDE on i386 computer, Locks me out unexpectedly

You could try using the passwd command before beginning the install to set a password, so that when you get locked out you can log back in. Most live and install disks dont have passwords set for any ...
user avatar
  • 21
0 votes

openfortivpn can't connect to fortigate

It seems that POST method on dem-hq.fortidyndns.com:443/remote/logincheck isn't allowed, and you can't authenticate because of that !
user avatar
  • 1
9 votes
Accepted

Debian: "dpkg -l" name field sometimes includes arch/abi, sometimes not. Why?

Adding one more line would reveal the relevant field: $ grep -A7 "Package: bind9-libs" /var/lib/dpkg/status Package: bind9-libs Status: install ok installed Priority: standard Section: libs ...
user avatar
1 vote

How to solve NO_PUBKEY 8C718D3B5072E1F5

Copy this gpg key into mysql_pubkey.asc file then run: gpg --import mysql_pubkey.asc gpg --fingerprint 5072E1F5 See MySQL documentation: 2.1.4.2 Signature Checking Using GnuPG
user avatar
  • 57.5k
0 votes

How to solve NO_PUBKEY 8C718D3B5072E1F5

apt-key is deprecated. Normally apt-get would warn that you still have a key stored in /etc/apt/trusted.gpg. Your screenshots show that MySQL key is the only one stored there. I don't see the warning ...
user avatar
0 votes

mkfs.ext4 command not found in Debian (Jessie)

I just ran into a similar issue on Ubuntu server 20.04.4 LTS arm. The solution was to install exfat-utils. Here was my error message. $ sudo mkfs.exfat /dev/sdb1 sudo: mkfs.exfat: command not found I ...
user avatar
1 vote
Accepted

on reboot, Debian 11 always open /run/systemd folder

In the comments, you indicated this happens with your regular user account only, not on a new account created for testing. So whatever triggers opening of that folder is part of the settings of your ...
user avatar
  • 66.8k
1 vote

How do I update R CRAN packages when updating from Debian buster to bullseye?

Keeping the Third party repository enable during the distribution upgrade is possible under Ubuntu Bionic and higher through the Ubuntu's release upgrades, see Keep PPAs Enabled when Upgrading ...
user avatar
  • 57.5k
0 votes

Debian: Can't Install Anything (Package Cannot Be Installed)

Try sudo apt update as you might have not refreshed it for a while!
user avatar
0 votes

Change default xorg.conf video driver

A little confusion by my side, so I have to make the appropriate corrections to get in, I think, a somewhat good explanation. I'm working on several machines trying to make that driver change, and I ...
user avatar
0 votes

How to mount an NTFS partition writable for a non-root user?

Asked 4 years, 10 months ago currently 2022-05-11 I use RHEL/CentOS 7.9, and using ntfs-3g-2021.8.22-2.el7.x86_64.rpm and ntfs-3g-libs-2021.8.22-2.el7.x86_64.rpm which I believe come from the EPEL ...
user avatar
  • 4,111
0 votes

NetworkManager not auto creating profiles for wired connections

The following command: sudo nmcli c add type ethernet ifname ens36 con-name Wired2 will create a new connection (on Debian) under: /etc/NetworkManager/system-connections/ It is called Wired2....
user avatar
  • 57.5k
1 vote

What files set the default PATH

There are many places in a Linux system where the PATH variable may be set or updated. This depends on the mode of accessing the system and the software involved (the SSH daemon, sshd, for example, ...
user avatar
  • 267k
0 votes

Debian: is there a shortcut for switching from Ubuntu to Debian?

I think going to debian 11 would be easier. Also, everything depends on how basic your system is. If you don't have much more than a debootstrap, small upgrades should work. I am currently in the ...
user avatar
0 votes

remove bottom panel in xfce

Just click control + right click on the panel then go to panel then click panel preferences.At the top of the window choose panel 2 then click đźš« symbol which is in the right end of panel 2
user avatar
  • 1
2 votes

Debian 11, the resolv.conf does not save nameserver settings permanently

Since all your DNS configuration information apparently comes from NetworkManager, the next step is to investigate the NetworkManager settings. First, use the nmcli c (c is the shorthand for "...
user avatar
  • 66.8k
2 votes
Accepted

`docker run --rm debian:jessie apt update` does not work on Fedora host

After hours of more trial and error, another image which worked on a different host brought me on the right track. There seems to be a problem with the default ulimits on fedora [1][2]. The following ...
user avatar
  • 51
1 vote

Copying large files to WebDAV share lets overflow the file system

According to your df -h output, /media/dav didn't get mounted...It was actually your rootfs / that got filled up (because /media/dav is just a sub-dir of / unless you mount another fs on it). You ...
user avatar
  • 66.5k
1 vote

Where is "hddtemp" error logged after login?

If your init system is systemd, which is the default init system for Debian 8 and later, then the error is likely logged in the systemd journal. That's accessed using journalctl. See man journalctl ...
user avatar
  • 1,464
0 votes

How to lock a Linux/Debian/KDE system to one program (a password-protected kiosk mode for Kodi)?

The solution is to use cage. It's not yet available in Debian 11 and also can't be built on it. However, it's already in "Debian 12 testing". I will update this once it's in Debian 11 stable ...
user avatar
  • 3,420
0 votes

My RAID 1 always renames itself to /dev/md127 after rebooting | DEBIAN 10

This can happen if mdadm detects the array is a "foreign" array, rather than a "local" one. Foreign arrays will be assigned device nodes starting from md127 (and working down). ...
user avatar
2 votes

`docker run --rm debian:jessie apt update` does not work on Fedora host

Edited based on @jsbillings's comment below -- please note that based on @felher's feedback, this particular answer did not solve their issue, but it can be applied to users having the same issue ...
user avatar
  • 1,867
0 votes

WordPress site broke when updating to php 8.0

This could be a memory issue. Could your php.ini file have been reset during your upgrade.
user avatar
1 vote
Accepted

Is DEBIAN_FRONTEND=noninteractive redundant with apt-get -yqq?

DEBIAN_FRONTEND is read by debconf, which is used to prompt for input in many packages’ maintainer scripts. apt does not take this environment variable into account, so DEBIAN_FRONTEND=noninteractive ...
user avatar
3 votes
Accepted

Debian - Execute a python script with modules import

xmlrpc.client is a Python 3 library (it was xmlrpclib in Python 2), so you need to specify a Python 3 interpreter: /usr/bin/python3 /home/debian/api_odoo_contact.py In Debian 10, /usr/bin/python is a ...
user avatar
0 votes
Accepted

Move /var and /home directory on a separate NVME partition

I was able to fix it. I was not mounting the NVME at startup here's the revised script that I used to solve. Posting in case if anyone needs it. lsblk sudo -s cd / sudo fdisk /dev/nvme1n1 sudo mkfs....
user avatar
  • 101
0 votes
Accepted

How to ensure user processes are killed on logout?

Reboot or sudo systemctl daemon-reexec. daemon-reload only reloads units, thus it won't work.
user avatar
0 votes

How do I download libappindicator1?

I finally ended up finding Discord Beta in the chrome web store, because nothing that you guys suggested was working. Thanks for helping though!
user avatar
  • 1
0 votes

Finding the cause: WiFi almost unusable on up-to-date Debian, works fine on old Ubuntu

Ubuntu 18 uses gvfs-fuse to mount SMB shares into the local directory tree (/run/user/<uid>/gvfs/...) making access snappy and transparent for applications like VLC. Debian 11, by default, doesn'...
user avatar
  • 279
2 votes

How to properly update Mesa drivers?

In the event Mesa & co. aren't in backports you can build from source: Schroot Setup Host setup: sudo apt install --yes schroot debootstrap Make directories for schroots: sudo mkdir -p /srv/...
user avatar
  • 285
0 votes

How to overcome libc resolver limitation of maximum 3 nameservers?

I would suggest to test changes in DNS zones using dig instead of the local resolver. You can specify the DNS server to query using $ dig @8.8.8.8 name.to.resolve (to send the query to 8.8.8.8). This ...
user avatar
0 votes

What do '+b#' packages versions mean in Debian?

All that @derobert posted above is right. Here are the commands to follow this steps: Download the package e.g. apt download <package> # e.g. $ apt download bash Extract dpkg -X <...
user avatar
  • 185
0 votes

How do I download libappindicator1?

The authors of the Discord app seem to have chosen to depend on the libappindicator1 package, which was removed from Debian in September 2021: https://tracker.debian.org/news/1257945/removed-0492-8-...
user avatar
  • 66.8k
0 votes
Accepted

"Move folders only if they exist" not working

Your test does the opposite of what you want it to. [ ! -f $item ] || mv -v $item $project_dir/public/$item The ! in combination with || make this effectively the same as [ -f $item ] && .... ...
user avatar
  • 66.5k
0 votes

How do I download libappindicator1?

How do I download libappindicator1? Your package manager will download libappindicator1 by itself, but the problem is a different one: If you downloaded a deb file from somewhere, it will likely have ...
user avatar
  • 28.8k
0 votes

service start automatically on debian 10

A service can be started in several ways. They are shown when you run the command sudo systemctl status servicname under the heading 'TriggeredBy'. These can all be stopped, started, enabled, ...
user avatar
  • 702

Top 50 recent answers are included