Questions tagged [ubuntu]
Free, open-source operating system based on Debian GNU/Linux. Ubuntu questions are on topic here, but if you prefer an Ubuntu-only audience there is Ask Ubuntu (https://askubuntu.com/).
22,060
questions
0
votes
0
answers
12
views
Cannot ssh into host or access any hosted service, but WireGuard works
I'm having an extremely strange issue.
I have an Ubuntu server running a few docker containers (including a WireGuard server) on my home network. It has the IP 192.168.1.208. The WireGuard port 51820 ...
0
votes
0
answers
17
views
Forwarding yubikey to Ubuntu Guest with Hyper-V causes Blue Screen
I am using Windows 11 and Ubuntu 22.04 in a Hyper-V guest.
Version information:
Microsoft Windows 11 Pro (x64)
10.0.22631 Build 22631
Ubuntu 12.3.0-1ubuntu1~22.04
Kernel 6.5.0-44-generic
I am trying ...
1
vote
0
answers
19
views
Ubuntu 24.04 - Mouse cursor changes to hand w/finger point
I have Ubuntu 22.04 installed on a laptop with a trackpad, but I have mouse, keyboard and monitors connected via docking station. I was typing and a gecko (small reptile) crossed the trackpad ...
0
votes
0
answers
11
views
I already installed Ubuntu.sh file but when I am start Ubuntu permission denied comment is showing how can I resolve this issue
$ ./ubuntu.sh
skipping downloading
writing launch script
Setting up pulseaudio so you can have music in distro. pulseaudio is already the newest version (17.0-2).
Summary:
Upgrading: 0, ...
1
vote
1
answer
37
views
How can one automatically check if a PDF contains a section with a specific title?
Task: I have several PDFs. How can one automatically check if a PDF contains a section with a specific title?
Environment: I can use Windows, or command line on Ubuntu.
Motivation: https://...
0
votes
0
answers
15
views
WSL2 VPN connection intermittently fails but WSL2 internet still works
I'm having an issue which I find hard to debug. I researched different SU and Reddit topics, but none seem to match the issue that I am facing. I'll outline the issue that I'm facing and the steps ...
0
votes
0
answers
22
views
How to configure XShell so that PgDn work properly in bash?
The key PageDown types a ~ in my bash session instead of showing next command. Why does this happen and which settings do I need to change?
In vi key works as expected.
I did as described in How to ...
0
votes
0
answers
15
views
How to run gnome wayland inside schroot?
I would like to run Gnome using wayland inside a schroot. So far my experiements have been unsuccessful. Here is how I have set-up the schroot:
debootstrap --variant=minbase --include=sudo bookworm /...
0
votes
0
answers
19
views
htpasswd refreshes the page when entering wrong password, and locking me out when entering the correct one
I got tasked with creating a phpipam server, and adding htpasswd authentication to it, as a test of skill during my internship. Yes, I am aware that this solution doesn't make sense, since phpipam ...
1
vote
1
answer
22
views
Network interface created by SoftEther VPN works for a while and then goes down
I am using SoftEther VPN 5.01 Build 9674 in Ubuntu 22.04 to connect to a private network.
I have done the configurations in vpnclient and I am using the below script to establish the connection.
#!/...
0
votes
1
answer
104
views
Gparted doesn't allow adding free space to partition at end of table
I've dual booted my Ubuntu 22.04 system with a Windows 10. I alloted 100GB initially, but that turned out to be just slightly less than I thought I needed. Now I'm trying to increase the size of my ...
0
votes
0
answers
25
views
FFmpeg high CPU usage Ubuntu Server
I have compiled FFmpeg to be able to stream Music Player Daemon (MPD) Digital Rights Management (DRM) streams, everything works but after about 1–2 hours the CPU starts to increase inhtop and my load ...
0
votes
0
answers
11
views
How to apply Postfix milter *before* smtp_generic_maps for DKIM purposes?
My Postfix instance instance correctly signs outbound mail with DKIM when I set the myhostname parameter to be the domain I wish to send from, say domain1.com.
The issue I have is I have multiple ...
0
votes
0
answers
18
views
Visual Studio Code very slow and crashing on Parallels Ubuntu VM
Today I created an Ubuntu virtual machine under Parallels on my Macintosh. I installed Visual Studio Code into it. It appeared to run normally, although I had no content to try it on yet.
I installed ...
0
votes
1
answer
34
views
How to copy SSH private key from Ubuntu to Windows?
I needed Ubuntu on my Windows laptop to work with remote servers, so I installed VMware to run Ubuntu on the same machine.
Now I need to transfer the private key from Ubuntu on VMware to Windows to ...
0
votes
0
answers
30
views
How can one automatically check if the text in one of the pages of a PDF exceeds the page margin?
I have a PDF with 10 pages. How can one automatically check if the text in one of the pages exceeds the page margin?
Example of a page that exceeds the page margin (I added the vertical black margin ...
2
votes
1
answer
55
views
Ubuntu upgrade changed my home directory permissions - malicious or mistake?
My setup
I have a private server (Ubuntu 22.04.4) that I use as a test server for my web development code.
Every couple of weeks I update it (sudo apt update; sudo apt upgrade -y). I don't usually ...
0
votes
0
answers
37
views
Unable to Access Jupyter Server on WSL Ubuntu from Mac on the Same Network
I have installed a Jupyter server on WSL Ubuntu on my Windows PC. My goal is to access this Jupyter server from my Mac so that I can use the GPU on my PC for TensorFlow.
Here’s my setup:
Server: ...
-1
votes
0
answers
65
views
How to upgrade SSH / SSHD cve-2024-6387
I am using Ubuntu 20 and my ssh version is (1:8.2p1-4ubuntu0.11).
I need to update it but I cannot find how to do it.
Setting the login grace time to 0 creates issues with scp call used to this ...
0
votes
1
answer
12
views
How to fix Apache PHP rejecting post requests which are over 40MBs
My php Laravel API when put behind apache2 (with ssl) when making a post request which is roughly 40Mbs in size, it gives a 500 internal error with following log
[Wed Jul 10 21:08:51.397912 2024] [...
0
votes
0
answers
14
views
Don't receive anything from my tayga in my aws vpc
I have a server at home with both IPv6 and IPv4 addresses. However, my internet provider uses CGNAT, which makes direct connection via IPv4 impossible. To work around this, I created a VPC (with ...
0
votes
0
answers
13
views
How do I add the ProjectM presets to VLC on Linux?
I know that you can put custom milkdrop visualization presets by placing them in the Windows directory, but where do I place the presets on Linux?
I'm using Ubuntu 23.10/Zorin OS to be exact.
0
votes
0
answers
61
views
Restart graphics driver in Ubuntu
Windows has the Win + Ctrl + Shift + R keyboard shortcut. Is there anything equivalent for Ubuntu?
I have a Windows Desktop and Ubuntu laptop that I am using through a KVM on multiple monitors. When ...
0
votes
0
answers
25
views
VirtualBox RDP Connection Not Working
I have 2 PC's, one running Windows 10 Home, the other running Ubuntu 24.04 LTS. On the Ubuntu machine I have VirtualBox installed, and I am running a Kali Linux virtual machine. I cannot connect to ...
0
votes
1
answer
76
views
What's the equivalent of python3 -m pip install on modern debian-alikes?
I'm currently trying to do an install of changedetection.io with playwright. I don't want to do the docker install since the rest of my environment is using incus.
The instructions given are for ...
0
votes
0
answers
8
views
Pulseaudio wants to use HDMI upon wakeup instead of previous selected output
OS: Ubuntu 22.04.4 LTS
Kernel: 6.4.11-060411-generic
I believe sound is managed by PulseAudio on these systems. Please correct me if I'm wrong.
I wish to use SPDIF as default sound output all the ...
0
votes
2
answers
21
views
how can i list all the download files start with "a" using dpkg
I'm trying to use dpkg -l with grep to list all the download files starting with the letter "a":
dpkg -l | grep "a*"
However, it just printed the contents of the files instead of ...
-3
votes
0
answers
106
views
An error occurred during the signature verification. How can I fix this? [closed]
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://84.95.247.234/cpanelsync/repos/Ubuntu/22/EA4 ./ ...
0
votes
0
answers
20
views
How to resolve issues migrating scripts from Vagrant (Ubuntu) to Docker (Alpine)?
I am trying to migrate my development environment from Windows to Linux, which is going fine. However, my setup in Windows was using Vagrant with VirtualBox as the provider to set up the development. ...
0
votes
0
answers
19
views
Ubuntu 20.04: php lacking permissions to access /var/www/html
I'm trying to write contents to file, however I constantly receive error about lacking permission.
fopen(/var/www/html/files/l.log) Failed to open stream permission denied in /var/www/html/files/file....
0
votes
0
answers
16
views
Firewall limit not working when using vpn
I have a ufw firewall with the following rules:
Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), deny (routed) New profiles: skip
To Action From
22/tcp LIMIT IN Anywhere
80 ...
0
votes
0
answers
44
views
Install Debian 12 alongside Ubuntu 22.04 and Windows 11
I have a laptop with a succesfully installed Windows11 and Ubuntu 22.04.
I have 2 nvme ssd disks.
I can start Windows11 or Ubuntu 22.04 via dual boot.
On my first nvme disk (named nvme0n1) have the ...
12
votes
1
answer
2k
views
firefox returns odd results for file:/// or file:///tmp
Not long ago (a few months at most), Firefox on Ubuntu 22.04 was able to open files in /tmp, using a file:///tmp/xxx link. Now these links show the files as unavailable.
When I try to use a file:/// ...
0
votes
0
answers
20
views
Where is "lid close behavior" stored on gnome ubuntu?
Power settings like HandleLidSwitch and HandleLidSwitchExternalPower are stored in /etc/systemd/logind.conf. I had set these variables to hibernate; however, closing the laptop lid was suspending my ...
0
votes
1
answer
24
views
Could I make changes to a bootable Ubuntu ISO by booting into it, making changes within the OS, and re-exporting the ISO?
Suppose I have a bootable Ubuntu ISO. I would like to make several changes to the image at the OS level. The changes I want to make include changing the default user password, as well as a few other ...
0
votes
0
answers
30
views
How can I get back my grub menu after Windows update?
I have a dual boot installation on my laptop, I have both Debian 12 and Windows 11 installed. I updated Windows 11 yesterday and my laptop boots directly into Windows after the update, no grub menu is ...
0
votes
0
answers
159
views
FTP passive server setup works when it shouldn't work
I've set up vsftpd server (version 3.0.5) in an Ubuntu Server 24.04 box.
No pasv_min_port nor pasv_max_port settings in vsftpd.conf. Except port 21, no port forwarding in router.
To my surprise, this ...
0
votes
1
answer
56
views
Desktop shortcut with a command line argument which contains filename with random numbers
I'm trying to create a desktop shortcut which launches a terminal app with commandline arguments which contains a path to a file with a randomly generated number in the filename.
I've tried everything ...
1
vote
1
answer
59
views
10 gig PCIe network card won't come up unless onboard 2.5 gig card is connected
I recently acquired a zimacube - its a N100 based NAS system. I've wiped the preinstalled zimaos and run a minimal install of ubuntu server 24.04 and made the usual changes I do on my builds for ...
1
vote
1
answer
2k
views
How to determine if I need to patch for recent SSH exploit on Ubuntu 20.04?
OpenSSH version:
OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020
According to this Aualys blog post, that version is not affected by the SSH bug.
I noticed the SSL version looked old - ...
0
votes
0
answers
17
views
How to Merge 2 Unallocated Spaces that are on either side of Primary Partition? (New Linux/Ubuntu User) [duplicate]
Current Disk Setup
Please see image link: I have unallocated spaces to left and right of my primary partition (that has the Linux File System and EFI). Have installed GParted but need help on how can ...
1
vote
1
answer
45
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
0
answers
24
views
Missing libraries - FreeCAD AppImage
Ubuntu 24.04, in fairly "clean" state, all updates, installed in a VM, VMWare 17.5.2.
Attempting to run a freshly downloaded FreeCAD AppImage
-rwxr-xr-x 1 hannu hannu 848377024 2024-06-...
1
vote
0
answers
21
views
SoundCore P25i works on Ubuntu, but on Debian it disconnects and connects with the same sound settings. Why?
SoundCore P25i works on Ubuntu, but on Debian it disconnects and connects with the same sound settings. Why?
SoundCore P25i is a bluetooth headphone
Is there a package installed in Ubuntu that is not ...
0
votes
0
answers
44
views
How to make apt update just one repo?
Is there a way to run apt update for just one specific repo, without deleting all the conf files in /etc/apt/sources.d?
For context, I'm writing a Dockerfile based on an image which has a lot of ...
0
votes
0
answers
66
views
How should I configure OpenVPN from gateway server to private server?
Seeking a bit of guidance on how I should set up my OpenVPN tunnel from client -> gateway server -> home server.
Right now I'm running an Ubuntu 20.04 server on my home network. In order to
...
1
vote
1
answer
35
views
Windows 11 Device Encryption not working after dual boot [duplicate]
First I installed Windows, I turned on Secure Boot and checked in System Information that the PCR7 Configuration was OK and that Device Encryption Support was ready to be enabled. Then I installed ...
0
votes
0
answers
31
views
VPN Strongswan traffic forwarding from local machine
I have four VPS machines linked together with permanent IPs on eth1. This is private traffic and cannot be accessed publically. One VM is my public proxy for all public access on eth0. My objective is ...
-1
votes
0
answers
27
views
My ubuntu not power off
I run ubuntu 22.04 on my pc but I encounter to problem .when I click on tabs power off my monitor change to black color but my pc didn't power off.i have to press key power manually .how can I solve ...
-1
votes
0
answers
54
views
Installing Ubuntu over Windows - not detecting SSD
I had Windows 11 on my laptop until it decided to have BSOD every 5 minutes. I tried to check if the OS was a problem and then I booted into a live USB and everything went smoothly.
However, when I ...