Latest Ubuntu related questions

Score: 3
John Doe Smith avatar
Is it necessary to activate automatic reboot for unattended upgrade on a webserver?
US flag

I’m running a Ubuntu 22.04.1 LTS web server. My apps run with docker.

Is it necessary to activate automatic reboot for unattended upgrade on a web server by setting Unattended-Upgrade::Automatic-Reboot to true in /etc/apt/apt.conf.d/50unattended-upgrades?

If I don’t activate automatic reboot, the upgrades won’t apply?

Is it save to reboot a production web server?

Score: 0
Karma Yogi avatar
Installing Linux based Virtual Machine in Azure Portal
kr flag

Can i install Linux directly on Host Azure VM instead of installing in hyper-v of Azure VM? As far as i know, Azure VM comes with windows server OS by default, so how to install Ubuntu 20.04 on Azure VM ?

Score: 1
Ommm avatar
Editing /etc/hosts using WSL vs. using Notepad as an administrator
de flag

Why am I not able to modify my /etc/hosts file in Ubuntu through WSL? But if I try to run Notepad as an administrator and name the file as c:\Windows\System32\drivers\etc\hosts, I am able to modify the /etc/host file.

Is this the limitation of WSL, since I am running it in my Windows machine?

Score: 0
Connecting to wifi wlan0 via command line
ru flag

I am writing a script where I would like to connect to the wifi from the script. The below command fails for me:

printf '%s\n' "$WIFIPASSPHRASE" | iwctl station wlan0 connect $WIFINETWORK

When I execute the script I get the below in my terminal output:

Type the network passphrase for _MYWIFI_ psk.

Passphrase: _my passphrase will be printed_

Operation aborted

Any idea how to fix this or a better way  ...

Score: 0
Ishfaq Rather avatar
Wifi issues with fresh installation of Ubuntu 22.04
fr flag

I made a fresh installation of Ubuntu on my laptop. At the first, the wifi was working pretty well. But then it started misbehaving. Taking a long time to connect wifi and after like 10-20 seconds of connectivity, it disconnects automatically. I tried some solutions posted here such as disabling ipv6, although that allowed the wifi to connect, the connectivity was zero.

I was using kernel 5.15 wh ...

Score: 0
How can I install Docker Desktop on Ubuntu 20.04? (current version requires 22.04 or 21.10)
za flag

I'm using Ubuntu 20.04 and want to test a software on docker. But Install Docker Desktop on Ubuntu says I need Ubuntu 22.04 or 21.10. And Install Docker Engine on Ubuntu says Ubuntu 20.04 is OK. Two questions.

  1. What is the difference between Docker Desktop and Docker Engine? Can I just install Docker Engine and use it?
  2. Docker has been around for many years so there should be Docker Desktop for U ...
Score: 0
Costa rica avatar
Ubuntu 22.04 Jammy not showing my CSS from Flask application
ss flag

I am running a flask application on Ubuntu. It runs fine on Ubuntu 20.04 Focal Fossa, but for some reason when I try on Ubuntu 22.04 Jammy Jellyfish flask runs fine but my application doesn’t find my css.

Any ideas why?

22.04 Jammy Jellyfish

20.04 Focal Fossa

Score: 0
Willy Gooris avatar
Ubuntu is opening in a black screen
is flag

Yesterday mi wife did an update and halfway the update she closed the computer. When starting up again, the screen remains black with only a "-" in the left top corner. However, if i start in recovery mode, the screen comes on normally.

Ubuntu is installed on an acer aspire 7520 I see also: Ubuntu with Linux 4.15.0-194-generic

Then i start in recovery mode, and used all the tools that are available  ...

Score: 0
Mihir avatar
How to increase the sound quality and loudness on Ubuntu 22.04?
jp flag

I have a ThinkPad e14 and the sound quality is way better on Windows 11. This may be because of Dolby but loudness is also very low in Ubuntu.

How to improve the loudness and sound quality to make it feel like windows?

Score: 0
Courier-Chan avatar
Trying to install Ubuntu on an old pc to be used as a server, having issues
az flag

I've picked up an old computer my grandma used to have, and put another hard drive in it so I can use it as a media server. I wanted to install Ubuntu because I'm just following a tutorial, but I've run into an issue which I believe is being caused by the bios. Before I even installed Ubuntu, I had issues. The computer would boot, get past the splash screen, then ask my keyboard layout. As soon as I use ...

Score: 0
vijaya Reddy avatar
Need usb write protection
td flag

I need to stop a user transfer files to usb from Ubuntu desktop. However, this user should be able to read usb content.

In Windows, we can achieve this through group policy. I tried but completely blocked usb. Is there any option in ubuntu desktop ? kindly help me out please.

Score: 0
Ramin Malekghasemi avatar
IPv6 Tunnel For Ubuntu
gt flag

Hi Dear Friend I Want Run IPv6 tunnel Between 2 Ubuntu and Forward Traffic ipv4 I test Gre tunnel

Error: an IP address is expected rather than

Gre in Ubuntu Donnot support ipv6 For local And Dst address for tunnel

Whitch Tunnel In ubuntu support Ipv6 For local And dst Addreess My internet have only ipv6 address Please help me

Score: 1
Mihir avatar
How to reduce blur from fractional scaling in Xwayland applications in Ubuntu 22.10?
jp flag

When I set fractional scaling to 150% every non wayland native apps gets blurry. I installed Firefox deb version it got scaled perfectly but the preinstalled snap version gets blurry.

I think only the apps working on X11 and Xwayland are getting blurry. From this website I installed two apps which the developers were providing by default (like for obs studio it was flatpak and for mpv it was deb package) ...

Score: 1
Sanskar Bhusal avatar
How to create swap partition during Ubuntu Desktop 22.04.1 LTS installation?
tw flag

I have been distro hopping for a month (on a laptop with Ryzen 5 5500U 2x8 GB RAM) and I have noticed that none of the Linux distros are good at battery saving when left ON with no foreground applications running for a whole night. That is, system only is running and still the battery drains quite heavily although Linux is popular for being lightweight.

Windows on other hand goes to sleep (maybe  ...

Score: 0
user9681173 avatar
Unable to connect to Linux Ubuntu Azure VM using public IP address
dk flag

Unable to connect to Linux Ubuntu Azure VM using public IP address.

I have tried everything.

  1. have 'ufw' active and allowed port 80
username@LinuxLR:\~$ sudo ufw status

Status: active

​

To                         Action      From

\--                         ------      ----

80                         ALLOW       Anywhere

443                        ALLOW       Anywhere

Nginx HTTP       ...
Score: 1
jmzzz avatar
Trying to find Drivers for RTL8188EUS in Ubuntu 18.04
er flag

First, to say that it is an old desktop pc, with a Pentium D 925, and 2 GB of RAM, it did not go well with Windows 7, so I saw on the internet that a way for it to have better performance was to install Linux on it. In my case I chose a Lubuntu 18.04.6 LTS and a Kernel 4.15.0-176-generic.

Right now I am looking for a page where I can find the drivers, because I have found pages on GitHub and on t ...

Score: 0
How to reinstate window buttons in GNOME software and GNOME calendar in Ubuntu Unity?
us flag

I am running Ubuntu Unity 22.10. For some reason, GNOME Software (the one installed with apt, not the snap store) and GNOME Calendar do not have a titlebar, and do not have any window buttons. It might be due to gtk3-nocsd.

How to make GNOME Software or GNOME Calendar show window buttons?

If it is really due to gtk3-nocsd, is there any way to selectively deactivate gtk3-nocsd for GTK4 or libadwaita  ...

Score: 1
Sherry avatar
How to disable routes for the DNS servers in Ubuntu 22.04?
sx flag

On Ubuntu 22.04,the route table can be gotten:

root@jammy-test-shengxpa:~# ip route
default via 62.109.210.1 dev eth0 proto dhcp src 62.109.211.31 metric 100 
10.240.240.1 via 62.109.210.1 dev eth0 proto dhcp src 62.109.211.31 metric 100 
10.240.241.1 via 62.109.210.1 dev eth0 proto dhcp src 62.109.211.31 metric 100 
62.109.210.0/23 dev eth0 proto kernel scope link src 62.109.211.31 metric 100 
6 ...
Score: 0
RobertoAS avatar
Ubuntu 22.04 Does Not Connect to Monitor with Linux 5.15.0-52-generic
ar flag

I have a Lenovo notebook (specs below) that I use connected to an external Asus monitor via an HDMI-HDMI cable. I run Ubuntu 22.04.1 LTS. I was using my monitor this morning and then disconnected my notebook to take it somewhere else. When I came back, I could no longer make it work with my monitor. I didn't make any updates or change any settings today. I couldn't make my computer display on my roommat ...

Score: 0
user11445033 avatar
Usb-c to HDMI adapter shows as billboard device - no display
sy flag

I've tried a few different adapters to get display output from my usb c port. None have worked on ubuntu. This is what I get (or similar) from lsusb for every hdmi-usbc adapter I buy:

Bus 001 Device 010: ID 0bda:2172 Realtek Semiconductor Corp. BillBoard Device

From what I can gather 'Billboard' just means that switching to alternate mode failed because of some issue.

In monitor settings, I only see t ...

Score: 1
mtrojak2 avatar
Ubuntu won't 'Join Displays'
eg flag

Running Ubuntu 20.04

The question is exactly the title; my Ubuntu installation will do anything but Join Displays. I try via settings, but when I do Ubuntu will only display graphics to the primary monitor. The secondary monitor will be on, and it will display the mouse cursor, but it will display no window nor my desktop. I've tried using xrandr and the command xrandr --output DP-1 --auto --right-of DVI ...

Score: 1
How to remote-access an iMac with the screen turned off?
us flag

I have an iMac (late 2011 edition) running Ubuntu Unity 22.10. It is in my departmental office, and I want to access/control it from my home computer (they are not connected to the same local network).

I tried using RealVNC, but the contents of the screen are visible on the physical monitor (and consequently, to other people in the office, while I am not in front of the iMac - which would be a bit ...

Score: 1
John Harris avatar
OBS Shuts down when IDLE
in flag

I am using Ubuntu 22.04 and OBS Studio and it runs almost perfectly, I can record for hours and It won't crash while I'm recording.

The only issue comes when I pause the recording, I leave the computer to go to eat, or do something else and then when I come back OBS Studio is still opened but minimized, when I try to maximize it the program is closed instantly (Sometimes it is closed when I come  ...

Score: 2
Alfred.37 avatar
How to get a list of all terminal commands used by a .sh file with Bash, i.e. a list of the dependencies of the .sh script
ng flag

Given are a PC which use Ubuntu. How to output by bash on screen or on file, a list of all by the .sh file used terminal commands? The output of the commands are not need on runtime. I don't expect any output from the given script, I just want to determine the commands used in the script and save them e.g. in a new file to be created.

Follow a sample of a .sh file:

#!/bin/bash

# Some comments, commen ...
Score: 0
How to fix Google Chrome profile selection screen being corrupted since upgrading to Ubuntu Budgie 22.04 LTS?
ph flag
OMA

Since updating to Ubuntu Budgie 22.04 LTS Chrome doesn't display properly anymore, and I get this instead of the profile selection screen which appeared upon launching:

Google Chrome glitching out in Ubuntu Budgie

Although it's happening in Chrome, this seems like a problem in the graphics subsystem of the OS itself. It shows something resembling the Firefox logo because I had opened Firefox a minute before. It seems to be displaying garbage  ...

Score: 2
Zoozoo avatar
Ubuntu 22.04 black screen no tty
fr flag

After upgrading Ubuntu from 20.04 to 22.04, my system became significantly sluggish which made me decide to use the xorg env instead of wayland. This didn’t work by just choosing xorg in the login screen, so I edited /etc/gdm3/custom.conf.

I uncommented this line:

WaylandEnable=false

Then I ran sudo systemctl restart gdm3

My laptop hanged for quite awhile. The screen was just black so I reboote ...

Score: 1
Sean McKenzie avatar
Different ulimit between Ubuntu on WSL when in the shell vs. calling WSL from Windows command prompt
kh flag

I am attempting to use a Linux based binary called tippecanoe to do some vector map tiling. My computer runs on a Windows 10 operating system.

To integrate with the rest of my mapping functions, I am using R 4.2.0 and calling Tippecanoe through the mapboxapi package for R. This package has a function that makes a system call to tippecanoe. For this to work in Windows, I have to make the system  ...

Score: 0
ziyuang avatar
Cannot convert webm to mp4 with ffmpeg + CUDA: InitializeEncoder failed: invalid param (8): Invalid Level
tr flag

Here is the video: https://1drv.ms/u/s!Ao-GP3hGG9a9gvUpL_ZfCTAUrVCXSQ?e=PjLxKU, recorded by the built-in screencast tool of Ubuntu 22.04. The ffmpeg was installed via apt, and here is the output:

$ ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda -c:v vp8_cuvid -i test.webm -an -c:v h264_nvenc test.mp4
ffmpeg version 4.4.2 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.4.0 (conda-f ...
Score: 2
Backup some files and folders to flash in Ubuntu
ng flag

I'm using the following script to backup some files and folders.

#!/bin/sh
#backup.sh  
zip -r backup_`date +%F | sed -e "s/-/_/g"`.zip \
  /home/xralf/.local/share/Anki2/my_deck \
  /home/xralf/.local/share/Anki2/addons \
  /home/xralf/.local/share/Anki2/prefs.db \
  /home/xralf/books \
  /home/xralf/.mozilla \
  /home/xralf/.vim \
  /home/xralf/.vimrc \
  /home/xralf/.vim_bookmarks \
  /home/xral ...
Score: 0
Antoninius avatar
20.04 openssh and apache2 vulnerabilities
vu flag

Our organization has a fully patched Ubuntu 20.04 app server which is showing up in a vulnerability scan with openssh and apache2 vulnerabilities. Is there a way to address these without upgrading to 22.04?

The package versions are: apache2: 2.4.41-4ubuntu3.12 openssh: 1:8.2p1-4ubuntu0.5

Here is the list of vulnerabilities for reference: CVE-2020-13950 CVE-2020-15778 CVE-2020-35452 CVE-2021-26690 CV ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.