New answers tagged

2 votes

How to add Launchpad repository to Fedora?

To add a custom repository you actually need a repository with RPM packages, Launchpad doesn't offer option to build RPM packages, only DEB packages for Ubuntu or Debian via PPA repositories, so there ...
Vojtech Trefny's user avatar
0 votes

Ubuntu sound problems

I encountered a similar problem, and based on the materials I found, I wrote a daemon that solves it. You can get it in my GitHub repo: https://github.com/Smoren/huawei-ubuntu-sound-fix. Problem The ...
Smoren's user avatar
  • 1
0 votes

Copy text from remote tmux to local x clipboard

The general correct way to handle this (which works through tunneled SSH as well, e.g. host -ssh-> server A -ssh-> server B) is with OSC52 xterm escape sequence. What happens is the app (in this ...
Steven Lu's user avatar
  • 2,252
0 votes
Accepted

ubuntu 22.04, remote USB on Raspberry Pi 0 W

In the end I reformatted the SD-Card again with Raspbian 11, I set-up the CAN module exactly as I did before, infact everything was set-up as before, the only difference is I did not try to run: sudo ...
SPlatten's user avatar
  • 111
0 votes

ubuntu 22.04, remote USB on Raspberry Pi 0 W

Have you tried loading vhci_hcd driver? This helped in my case with the same error message: sudo modprobe vhci_hcd
kaolpr's user avatar
  • 105
0 votes

Artifacts related to the software side

I'd try using a mainline kernel instead of the xanmod kernel you have installed there. I don't recognise that one being provided with Pop!OS. There's currently a lot of work being done on the amd-gpu ...
TDuff's user avatar
  • 1
0 votes

Linux Ubuntu - use .service file to ExecStart with same exact path as with systemctl start

Problem solved by @muru in this comment: "after using of systemctl stop thingsboard, it should automaticaly restart" ... That's by design. If it were possible to set up a service to restart ...
0 votes

Artifacts related to the software side

AMD Ryzen 7 7840hs should work with the free software radeon provided by xserver-xorg-video-ati package. Or the proprietary driver from the ofiicial website.
GAD3R's user avatar
  • 66.4k
0 votes

bash: cannot set terminal process group (-1): Inappropriate ioctl for device

I had the same problem when switching user inside the docker container. I fixed it by adding --pty (-P) option that creates a pseudo terminal for the session and avoids TIOCSTI ioctl terminal ...
Muzammil's user avatar
  • 113
0 votes

Accessing the same file between two different WSL2 installations in Windows?

You could mount a shared public folder from windows in both WSL installations: mount -t drvfs C:/Users/Public/share /mnt/share -o "rw,noatime,dirsync,mmap,access=client,msize=262144,trans=virtio&...
jpw's user avatar
  • 36
1 vote

Connect IPSEC VPN to network interface

It seems that the issue is related to the fact that the tun0 interface does not have a default route, and therefore, it does not know how to forward packets to the VPN server. To fix this, you can add ...
ZarTek Creole's user avatar
0 votes

Unable to access proftpd server via sftp: port 22

This has been sorted. The resolution is sftp module (mod_sftp.c) is not enabled by default. The modules can be found in /etc/proftpd/modules.conf, uncomment the mod_sftp section So I installed the ...
user16605410's user avatar
2 votes

Popup cannot be interacted with: "Daemons using outdated libraries" "Which services should be restarted?"

The particular pop-up you mention is produced by needrestart (which I imagine you already know since your script configured it). needrestart is invoked by hooks; the two relevant hooks here are its ...
Stephen Kitt's user avatar
1 vote
Accepted

Understanding risks of setting nscd positive-time-to-live to a longer duration

If I understood correctly, nscd caches password for 10 min for each login. No, it only caches the user information that would be found in /etc/passwd, which is generally everything except the ...
u1686_grawity's user avatar
0 votes
Accepted

Cannot avoid suspend on Xfce

I found something, I don't know at what point it is good, I haven't checked if everything in this is mandatory, but it worked. echo_blue "Disabling screensaver and lock setup" gsettings ...
lalannou's user avatar
0 votes

Frequent freezes and reboots on Lenovo Legion 5i RTX2060

I had issues with freezes on my Legion Pro 5 16ARX8 82WM (R9000P) running Linux in hybrid graphics mode (amdgpu + nvidia 550 drivers). And looks like i found a workaround for. The nvidia GPU can be in ...
superqwerty's user avatar
4 votes
Accepted

What is the /usr/bin/dir binary on linux?

The difference is explained in the GNU Coreutils documentation. Unfortunately the shared manpage for ls & dir does not state this clearly. 10.2 dir: Briefly list directory contents dir is ...
Esa Jokinen's user avatar
1 vote

How to mount VeraCrypt or TrueCrypt volumes with the boot password

You can unlock truecrypt volumes and veracrypt too with your system boot (luks) password with at least Debian and Ubuntu. A Veracrypt volume with a PIM needs at least v254 of systemd for the veracrypt-...
Echogolf's user avatar
0 votes

Boot blocks with "Gave up waiting for suspend/resume device"

Since this is one of the first results when searching "ubuntu 20.04 gave up waiting for suspend/resume" on Google, I should mention that before trying to tinker with initramfsto solve the ...
Tiago's user avatar
  • 1
0 votes

How to specify extra TZ info for 'apt-get install -y awscli'

You may also just install the awscli with DEBIAN_FRONTEND=noninteractive: DEBIAN_FRONTEND=noninteractive apt-get install -y awscli It will just select the default timezone for tzdata, which seems to ...
Niko Fohr's user avatar
  • 126
1 vote
Accepted

Weird Internet disconnection issue on Linux and ethernet

Loopback Address See: What is the use of a loopback address in IPv4? A loopback address or 'localhost' is an IPv4 address that is reserved for something called a 'loopback'. For loopback, IP ...
eyoung100's user avatar
  • 6,199
0 votes

pip install command fails

Using Python3.10 (defaut) Switch back to Pyhon3.10 the default python version for Ubuntu Jammy. Change the Python3 default version in Ubuntu Using Python3.11 Install Python3.11 from the official ...
GAD3R's user avatar
  • 66.4k
0 votes

Grub2 does not show Manjaro entry along with Ubuntu and Windows

I found the issue. This was due my UEFI firmware has in Boot Menu an other entry to choose boot loaders order. So each time I restarted the computer, even if I have used efibootmgr to change it, the ...
TechRevo's user avatar
0 votes

Grub2 does not show Manjaro entry along with Ubuntu and Windows

You can source the Manjaro grub.cfg into Ubuntu grub. Add the following line to /etc/grub.d/40_custom: menuentry 'Manjaro grub menu' { search.fs_uuid the_uuid_of_the_root_partition root hd1,gptX set ...
GAD3R's user avatar
  • 66.4k
0 votes

ASMedia SATA controller 106x not working under ubuntu

Created an account so I could comment here, because I have been battling this one for a while with the same card under Ubuntu. There's a switch on the card. Shut down the computer, move it to AHCI (...
Nathan Spinuzzi's user avatar
0 votes

Sound crackling – Ubuntu 22.04

On my end I have never been able to fix the problem for good. These days, when this happens, I just do: pulseaudio -k And launch again whatever audio source was playing. Every single time, the sound ...
Will59's user avatar
  • 101
0 votes

Need to install HDF5 library 1.8.16 on Ubuntu 18.04

The page you linked are for binaries built for CentOS 6, CentOS 7 and Windows, if you must use Ubuntu 18.04 then you would want binaries built for Ubuntu. I found the Ubuntu repository has your ...
GracefulRestart's user avatar
0 votes

Run BeEF as a service in ubuntu 20.04 LTS

BeFF isn't correctly installed on your system. BeFF come with its own systemd service beef-xss.service, the sytemd file service should be found under /usr/lib/systemd/system/beef-xss.service To check ...
GAD3R's user avatar
  • 66.4k
0 votes

Lenovo x1 gen9 @ ubuntu22 - touchpad too sensitive to touch

Run this command in the terminal to find the ID number of your touchpad xinput --list from example mine is 12 DELL097D:00 04F3:311C Touchpad id=12 [slave pointer (2)] then set the ...
dodohjk's user avatar
  • 101
1 vote

Not able to install nodejs 21 in ubuntu wsl

According to the posted error, the nodejs package you are attempting to install contains a file /usr/include/node/common.gypi that also belongs to an already installed package libnode-dev. dpkg (...
GracefulRestart's user avatar
0 votes

Boot Linux into RAM from ISO file on hard drive and do a clean Linux reinstallation

Grub doesn't do that. All Grub does is load kernel/initrd and pass parameters. Ubuntu then loads itself into ram. Grub is not further involved in that process. toram is a feature implemented by Ubuntu'...
frostschutz's user avatar
  • 48.8k
14 votes
Accepted

/var/log/auth.log stops recording authentication errors

Have you restarted rsyslog or kill -HUPped it after recreating the file? You probably should. In POSIX-compliant systems, deleting a file while some other process is using it will make the file ...
telcoM's user avatar
  • 95.1k
0 votes

How do I get my old firefox profile to run in snap environments of re-installations/other users on my machine?

On the old install. Create a Mozilla account, synchronize your Data. Reinstall your system then sign in firefox and synchronize. Firefox browser sync when you switch from your desktop computer to ...
GAD3R's user avatar
  • 66.4k
3 votes
Accepted

Ubuntu resize partition in in backward direction

There are multiple things you need to understand: a partition contains a file-system, usually but not necessarily with the same size as the partition partitions can be expanded (or reduced) on their ...
blaimi's user avatar
  • 1,175
0 votes

How to let kea-dhcp4-server wait on postgresql database being ready during boot on Ubuntu 22.04?

Answering my own question: Perhaps I was typing to much in the override.conf for the kea-dhcp4-server.service. When I tried this the boot order became right and working: more /etc/systemd/system/kea-...
Henry Roeland's user avatar
2 votes

Japanese characters in file names are displayed as empty squares in Xfe

going off of what @eduardo-trápani said you most likely don't have the correct fonts installed, I would recommended installing fonts-noto-core or xfe-i18n so get rid of those squares
cinemassacres's user avatar
0 votes
Accepted

BIND zone transfer, failed while receiving responses: NXDOMAIN

I found the issue. I should've checked netstat and my samba config first. Netstat showed me that the samba dns task was still enabled and after checking the samba wiki. I had to add server services = -...
iPad's user avatar
  • 1
0 votes

How to locate installation path for software that I am able to open but I do not know the name of?

It is a snap. You can list all installed packages through snap by: snap list You will find the exact BitTorrent client name listed. To run it from terminal: snap run program_name_here. The path to ...
GAD3R's user avatar
  • 66.4k
1 vote
Accepted

How to locate installation path for software that I am able to open but I do not know the name of?

Assuming you can get the process ID (or pid) of the turkey, then, ls -l /proc/{pid}/exe (replacing {pid} with the pid, of course) shows the full path of the executable.
GammaZoid's user avatar
1 vote

Configure access point on Ubuntu 20.04 with the wwan0 interface

To configure an access point on Ubuntu install the linux-wifi-hotspot. sudo add-apt-repository ppa:lakinduakash/lwh sudo apt install linux-wifi-hotspot To use the GUI: wihotspot. To Use the CLI ...
GAD3R's user avatar
  • 66.4k
2 votes
Accepted

How to check permissions of a non sudoers user with full root access?

doas doesn’t provide a command to list all the privileges it grants to a given user; all you can do is check whether a given command is permitted for the current user: doas -C /etc/doas.conf some ...
Stephen Kitt's user avatar
1 vote

How to check permissions of a non sudoers user with full root access?

As far as I understood this question, there is a program named doas which can be used similar to sudo. The simple command that can be used to check if a user has root privileges is the following (in ...
L_R's user avatar
  • 75
0 votes

E: Package 'sshpass' has no installation candidate(not able to install sshpass in linux)

sshpass is available from universe repository (already enabled in your sources.list): sudo add-apt-repository universe sudo apt update sudo apt install sshpass The last command should be: sudo apt ...
GAD3R's user avatar
  • 66.4k
0 votes

E: Package 'sshpass' has no installation candidate(not able to install sshpass in linux)

the package you want is in your repos jammy, so you need to update ubuntu to find that package using sudo instead of just apt-get
cinemassacres's user avatar
2 votes
Accepted

systemd+ - cannot stop mongo service

Copied and Pasted StackOverflow Answer ps (sadly) trims the username to 8 (if I'm counting right) characters and adds a + after the user name initial part. The username could be systemd-mysql or ...
eyoung100's user avatar
  • 6,199
1 vote

Upgrading Ubuntu Server 22.10 Kinetic Kudu to 23.10 Mantic

The good news is, Linux is as easier to use now than Windows, so unlike an on a Windows machine, where you pull it out after 2 years and have to spend hours installing automatic updates, with Ubuntu,...
MICHAEL MICHALSKI's user avatar
4 votes

Upgrading Ubuntu Server 22.10 Kinetic Kudu to 23.10 Mantic

I had the same "not supported" error upgrading from 22.10 (Kinetic Kudu) to 23.10 (Mantic Minotaur). I was able to trick do-release-upgrade into upgrading to 23.04 (Lunar Lobster) first: Do ...
Mike Demenok's user avatar
0 votes

How can I get Ubuntu to set up my printer?

Thanks for all the suggestions from several people. I discovered that even though I thought my printer had access to the wifi because the computer recognized it, this was not the case. I realized that ...
Jim Shilleto's user avatar
2 votes

GRUB2 Terminal: Ubuntu 23.10 does not boot, MX Linux 23.2 on Live-USB does not boot, too - commands?

Your current GRUB seems to be started from external media. The fact that your ls (hd0,gpt2)/boot/ shows just the efi/ directory suggests your Ubuntu installation has no correctly installed kernel ...
telcoM's user avatar
  • 95.1k
0 votes

Bluetooth won't turn On on Ubuntu 20.04

try these commands .. it worked for me sudo apt install --reinstall bluez gnome-bluetooth indicator-bluetooth pulseaduio-module-bluetooth sudo systemctl enable bluetooth pulseaudio --start sudo ...
Darshan Padia's user avatar

Top 50 recent answers are included