Questions tagged [ubuntu]

Please don't use this tag just because your system is running Ubuntu. Use it **only** if your question is somehow specific to Ubuntu only. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
3 views

add LDAP slave to N-way multimaster system

I have 2 Ubuntu 22.04 LTS servers running Openldap 2.5 in N-way multimaster mode. It works great and has for several years. Now I'd like to add a slave to this system. The two multimaster nodes do ...
1 vote
2 answers
4k views

nginx timeout when started via systemd unit

My nginx starts well with a /usr/sbin/nginx -c /etc/nginx/nginx.conf command line, but when I try to start it with: # systemctl start nginx then it hangs until timed out. My systemd unit looks like ...
0 votes
0 answers
9 views

How to force systemd unit to log into journal instead of syslog

For some time now I'm trying to force systemd unit I created to log command output to systemd journal. It logs only to syslog. Here is my config: $ cat /etc/systemd/system/sf-synchronize.service [...
0 votes
0 answers
14 views

Automatically stopping a service (via NetworkManager script) after manually disabling Wi-Fi interface from GUI does not work

I would like to have the autofs service stopped after I have manually disabled the Wi-Fi interface from the GUI (in KDE). Unfortunately, the service still keeps running even after the Wi-Fi interface ...
1 vote
1 answer
44 views

ubuntu 22.04, remote USB on Raspberry Pi 0 W

On my iMAC: Retina 5K, 27-inch, Late 2015 4 GHz Quad-Core Intel Core i7 16 GB 1867 MHz DDR3 AMD Radeon R9 M395X 4 GB I am running VirtualBox: Version 7.0.14 r161095 (Qt5.15.2) I have a Linux virtual ...
2 votes
1 answer
4k views

Installing ukuu on Ubuntu 18.04

Can you help me? I'm trying to install ukuu to upgrade my kernel. I'm using this tutorial: sudo apt-add-repository -y ppa:teejee2008/ppa sudo apt-get update sudo apt-get install ukuu I'm following ...
0 votes
0 answers
11 views

Gnome White Screen of Death on AMD Laptop using Ubuntu;

I have installed Gnome shell onto Ubuntu on my new laptop (AMD Ryzen 7730U with Radeon Graphics). I am using WSL2. Upon inputting /usr/bin/gnome-session --session=gnome into the Ubuntu command line I ...
0 votes
1 answer
3k views

How to install CUDA 9.2 on Linux Mint 19

I would like to install CUDA 9.2. on Linux Mint 19. It was possible to install CUDA on Linux Mint 18.3 even though Linux Mint is not an officially supported distribution. However, Linux Mint 18 was ...
0 votes
1 answer
50 views
+50

Connect IPSEC VPN to network interface

I have a StrongSwan IPSEC VPN configured on my Ubuntu 22.04.4 LTS server. The VPN starts up and connects to the primary interface (eno1) successfully. Using qBittorrent, I bind to the IP Address that ...
0 votes
1 answer
3k views

failed to get the Python codec of the filesystem encoding after Ubuntu upgrade

After upgrading to Ubuntu 23.04, my Python installation does not work anymore. Running Poetry gives the following : ➜ ~ poetry Could not find platform independent libraries <prefix> Could not ...
0 votes
2 answers
34 views

Artifacts related to the software side

I started using Pop os(Ubuntu based), before that I used Windows. On linux there are artifacts, sometimes the screen starts blinking white, I don't understand what to do with them. Changing the ...
5 votes
1 answer
2k views

Why is my ISP DNS still in resolv.conf after a VPN connection and how can this be fixed?

Ubuntu 15.10 and dns=dnsmasq is commented out in /etc/NetworkManager/NetworkManager.conf Before I connect to a VPN /etc/resolv.conf contains nameserver 2xx.xx.xx.xx <-- ISP DNS 1 nameserver 2xx....
2 votes
1 answer
3k views

How to solve failure in plugging external DVD driver in Ubuntu 20.04?

I have bought an external DVD driver but, after plugging (or booting with the unit already plugged) I see the unit listed in the resources of the computer but I cannot access it: If I try to access ...
0 votes
1 answer
38 views

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

I'm fresh to Linux, so maybe my question will not seem clear. Hope I'll learn enough of Linux in the future, to be more concise. The problem is, we have service (Thingsboard 3.6.1PE) running on our ...
0 votes
0 answers
13 views

How to use secondary IPs as source for a ping request without assigning it on an interface

Summary I have an Ubuntu VM that has a public IP address e.g. 1.1.1.1 assigned to its eth0 interface. upstream router has also routed another public IP subnet e.g 2.2.2.0/256 to server's main IP ...
19 votes
2 answers
100k views

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

Trying to execute the source command using "lfs" user on ubuntu 14.04 and getting this: root@linux:~/lfs# su lfs - -c "source ~/.bash_profile" bash: cannot set terminal process group (-1): ...
8 votes
5 answers
11k views

Sound crackling – Ubuntu 22.04

I have sound disturbances: A quiet crackling in the background and a loud hissing / crackling when I start Firefox, for example. The problem occurs only when playing through the speakers – the ...
0 votes
1 answer
39 views

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

I have two WSL2 installations, but I have a need to access/modify the same file on both of them. My first thought would be that maybe I need to set up a samba share between the two of them; but I'm ...
0 votes
1 answer
4k views

Best way to use and install Linux (Ubuntu) using two hard drives

I'm currently looking to switch from Windows 10 to Ubuntu 18.04 LTS (not dual-booting, Ubuntu only). On Windows I've used my 128GB SSD for OS-files almost exclusively, while all other stuff goes to ...
6 votes
2 answers
11k views

Fingerprint reader on Asus Zenbook

So I have ZorinOS installed on my ASUS ZenBook UX330UA-AH54, however, FingerprintGUI shows my fingerprint sensor (Elantech I think) as an unknown device. Is there any custom software or fixes that can ...
8 votes
5 answers
15k views

Systemd-networkd: Run script after DHCP client acquires new address

I am on ubuntu 18.04 server. I need to run a script that updates an IP address on CloudFlare (kind of DynDNS script). In previous versions I could do this with a DHCLIENT exit hooks for the interface ...
0 votes
0 answers
23 views

I can see adapter in usb list, yet it remains unrecognized

I am running an ubuntu 15.04 on a Virtual Machine and I own a Alfa Awus 036 nh adapter. Before I connect the adapter, I run ifconfig wlan1 down on the host as wlan1 being the Alfa Awus adapter. Then ...
0 votes
1 answer
4k views

How to install libqt4-dev in Ubuntu 20.02

I'm trying to install libqt4-dev on Ubuntu 20.04 but I get the following errors: kjs@PC:~/Downloads$ sudo apt-get install -y libqt4-dev Reading package lists... Done Building dependency tree... 50% ...
0 votes
1 answer
2k views

How to create an installer for my custom distro?

I created an ubuntu based distro that is truly minimal. It involved taking ubuntu stripping it down to the bare minimum and then implementing my own desktop environment. I currently can create a ...
1 vote
2 answers
3k views

Installing mailx on ubuntu 14.04.2

So I've installed mailx but I'm unable to get it to send an e-mail. I do the following: mailx -s "Test" To: [email protected] Cc: "This is a test." CTRL-D (does not work) CTRL-D does nothing. It's ...
0 votes
1 answer
55 views

Unable to access proftpd server via sftp: port 22

I need help please. Thank you. I'm trying to replace a proftp server because the old one was encrypted during installation and the passkey is lost. Old server works fine on ftp:21 and sftp:22/322 old ...
0 votes
0 answers
223 views

Global Protect Linux - how to change the default browser for SAML login

I have two Microsoft email accounts in my working organization, every time GlobalProtect connects, it prompts Chrome(default browser) out to ask me to login. and I use the old account to login. Now, ...
4 votes
2 answers
4k views

SSHFS: Cannot umount / re-mount remote directory after connection is interrupted

I often use sshfs to mount a remote directory to make it appear as local: sudo sshfs -o allow_other myname@server:/remote/path /mnt/remote/ Occasionally there could be interruption to the connection ...
-1 votes
0 answers
29 views

How do I get past 'Bitlocker is enabled' while downloading Ubuntu?

I have Windows 10 Home, so there's virtually no way to turn BitLocker off. How do I proceed with installation?
2 votes
1 answer
2k views

Black screen while installing Debian 8.8

I wanted to install Debian 8.8 on my laptop which was using ubuntu 16.04 LTS. I downloaded the netinst and used rufus to burn it on a USB. I booted on the USB and I got the menu screen, but when I ...
1 vote
1 answer
69 views

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

The pop-up "Daemons using outdated libraries" "Which services should be restarted?" breaks my scripts as it cannot be interacted with, requiring me to interrupt. It happens when I ...
0 votes
1 answer
24 views

Cannot avoid suspend on Xfce

Okay i have had an issue for the past few weeks I cannot figure out. I have been trying to prevent screen sleep/logout on some industrial screen that should staty awake permanently, with autologin, ...
0 votes
1 answer
15 views

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

as I mentioned in another thread, I have an LDAP system supporting two dozen Linux servers. When LDAP server is down for various reasons (firewall rule changes, power outage etc), my rest of the ...
0 votes
3 answers
2k views

Starting tomcat hangs on boot , but run successfully in command line

I installed tomcat9 on ubuntu 16.04, which start normally on command line, sudo /usr/local/tomcat9/startup.sh and all projects in webapps can be loaded. However, it always hangs on loading "...
2 votes
1 answer
3k views

Backup and restore of root file system (Ubuntu 20.04)

It seems I will have to move my root FS from XFS v4 to v5 because there seems to be a move to remove v4 support from Linux kernel. I can use tar to backup and restore files but I am not sure if that ...
1 vote
1 answer
2k views

Raspberry 4 stuck in initramfs

im new on this site so i hope im not making myself look super stupid (beside the fact that my english isnt that best) I got myself a Raspberry Pi 4B with an 64GB SDCard of Sandisk Ultra. Installed on ...
1 vote
0 answers
41 views

Ubuntu service - pq: password authentication failed for user "root"

I have an application running on Ubuntu server that's using PostgreSQL. I can run the application's executable (as a non-root user) from the project's directory. I have created a service for this ...
0 votes
0 answers
39 views

Ubuntu, I can't log in to the OS with password

I can't log in through the password via graphical login. I type password, click Enter but then a message is appeared "Failed to login with password". When I switch to terminal (Ctrl+Alt+F2) ...
0 votes
2 answers
588 views

How to mount VeraCrypt or TrueCrypt volumes with the boot password

For Windows, VeraCrypt implements a feature called "system favorite volumes".  It allows mounting additional discs with the password entered at boot to unlock the system partition. Specs: I ...
3 votes
2 answers
4k views

Frequent freezes and reboots on Lenovo Legion 5i RTX2060

I bought a brand new laptop and tried installing Ubuntu 20.04 on it (via bootable usb), however I experience frequent issues which render the system unusable, ie: everything freezes (including mouse ...
0 votes
1 answer
70 views

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

I noticed I have a /usr/bin/dir which mostly behaves like /usr/bin/ls. I assumed first it was a convenience for people coming from DOS/Windows. I assumed this would just be a softlink to ls, but my ...
0 votes
1 answer
40 views

Weird Internet disconnection issue on Linux and ethernet

I am using Ubuntu 23.10 and an ethernet connection to my router. However, sometimes during the day, my Internet connection gets "lost" for periods that can reach 1 hour sometimes. I can ...
1 vote
1 answer
2k views

dota 2 graphics problem in ubuntu 14.04

I installed Ubuntu 14.04 in my laptop. I then installed steam and finally dota 2. But the graphics are very bad. I have AMD Radeon 7400 in my laptop. It seems like dota 2 is not running through my ...
2 votes
2 answers
7k views

Many troubles trying to mount QNAP NFS server on Ubuntu mount point

I have a QNAP TS-251 NAS with a pair of 4 GB drives set up as RAID 1, running as a server, mainly for backups. It has the default operating system, QTS 4.2.0 (2016/01/19), which I think is current. It'...
0 votes
1 answer
2k views

500 error on index.php with nginx + php-fpm

Before starting, I'd like to ssay this is my first experience with VPS, I have an Ubuntu 18.04 64bit minimal server. For everything I tried so far I didn't tried using complex application. Just plain ...
0 votes
0 answers
18 views

My Ubuntu VM is not rendering certain windows properly. Any help?

I'm running an Ubuntu VM on VirtualBox, but some windows just aren't loading properly. I attatched a screenshot of me trying to run gparted, but the alert window as well as the gparted window are ...
0 votes
2 answers
4k views

Need help to configure netplan for two NICs with static IPs on separate networks

I've got a new server with a fresh Ubuntu 20.04 LTS install. I've got one interface connected to our main corporate network with a static IP address, and now need to connect a second interface to a ...
0 votes
0 answers
20 views

Ubuntu, BIND9 and name resolution

I have installed BIND9 on my Ubuntu 22.04 LTS server as my Primary nameserver for the domain home.twelsh.co.uk. It was installed via apt and the config files were hand rolled with guidance from a ...
14 votes
4 answers
24k views

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

It seems the common solution to this is to run remove /etc/initramfs-tools/conf.d/resume and run update-initramfs -u. But it is unclear how you get to that stage. Can you give a special command to ...
9 votes
3 answers
4k views

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

I want to install awscli onto my ubuntu docker image. This is the command I used apt-get install -y awscli Shortly after the installation commenced, it prompted Configuring tzdata Please ...

1
2 3 4 5
264