Latest Ubuntu related questions

Score: 2
Mohammad Sohani avatar
cisco openconnect disconnect every 5 minutes
dk flag

Recently I installed Ubuntu (Ubuntu 20.04.5 LTS) and I installed openconnect server I am faced with one problem. When I connect to my server with the cisco any connect app from my iphone or any connect software in windows 10 , my connection is disconnecting every 5 minutes. Does anyone have a solution to how can I solve this issue? I installed with below commands :

Build docker image: docker build ...

Score: 1
evae-pol avatar
How to build a livecd without dev entry points for local hard drives
td flag

I'm trying to create a bootable USB key with "livecd" lubuntu distribution (lubuntu-22.04.1-desktop-amd64) for a specific purpose: a restricted OS for students examinations. I'm almost done with it (networking automatic configuration and restriction, script to mount specific accounts of exam server on LAN, etc.) but I'm still facing a complex issue: how to tell lubuntu to NOT create the /dev/ entry poin ...

Score: 0
Disable "auto mute" for sound?
in flag

I have Kubuntu 22.04.1 LTS. I've just attached speakers and they weren't working (I'm using the virtual output to have output on both headphones [attached to front panel] and speakers [attached to rear]), so I've found that my system has alsa as part of pulseaudio. Moreover, alsamixer can re-enable the sound -- by selecting my sound card, then moving across to the right, then toggling the "auto-mut" (sic ...

Score: 0
cseha avatar
nodejs seems to be installed but it1s not available
de flag

I am having trouble with installation of nodejs version 16 (I tried with v14 and v18 with same results). The default version for ubuntu is v12 but I need higher.

I followed instructions from https://github.com/nodesource/distributions/blob/master/README.md#debmanual

And the result:

user@:~$ nodejs -v
Command 'nodejs' not found, but can be installed with:
sudo apt install nodejs
user@:~$ sudo apt instal ...
Score: 0
Chris Bare avatar
ffmpeg undefined symbol: mpg123_param2 on
cw flag

I have a freshly installed Ubuntu 22.04.1 LTS system and ffmpeg does not run:

$ ffmpeg -version
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libopenmpt.so.0: undefined symbol: mpg123_param2

I have the following installed:

$ dpkg -l | grep mpg
ii  libmpg123-0:amd64                          1.29.3-1build1                          amd64        MPEG layer 1/2/3 audio decoder (shared library)
ii ...
Score: 0
gupnp-av-cp fails to set volume of Sony Bravia on LAN through wi-fi
in flag

I am running Ubuntu 22.04 Mate. I use gupnp-av-cp from gupnp-tools package. It controls smart tvs via LAN. It works OK on Ubuntu 20.04 and earlier versions.

It detects Sony Bravia on LAN but fails to set volume, etc. via gupnp-av-cp gui.

I found the following warning in ~/.xsession-errors:

 ** (gupnp-av-cp:390810): WARNING **: 19:58:41.447: Failed to get sink protocol info from media renderer 'uuid:00 ...
Score: 0
Vince avatar
umount2() for an NFS mountpoint returns EPERM, even when called as root
ro flag

I'm running Ubuntu 20.04, but I've had this problem back to Ubuntu 14.04.

I've been trying to automate unmounting NFS mounts when my VPN connection closes, but no matter how I call "umount", I get "Operation not permitted" even though I'm running with root privileges. I thought it would be easier to diagnose the issue if I just wrote a small stand-alone program to do the unmounting:

int main(int argc, ...
Score: 0
Javier Espinoza avatar
how to disable ubuntu 22.04 bluethoot volume control over soundbar?
in flag

I have a fresh Ubuntu 22.04.01 install and, after connecting to Sony HT-S40R soundbar via Bluetooth, when i change the volume level in Ubuntu many times the soundbar volume goes max, suddendly.

I had enough jumps on my seat (lol), so i ask for help.

Best solution for me would be disabling Ubuntu's control over the soundbar, so i can have more control.

Only way of connecting the OS to the Sound Bar is v ...

Score: 0
唐嘉敏 avatar
ubuntu crashed with EXT4-fs error and icons become gray boxes
de flag

I'm new in askubuntu so i hope this question is suitable. After installing Ubuntu 22.04, I found my system crashed sometimes, especially after visiting my videos on browser.

Here is the error log: enter image description here

enter image description here

Could you please tell me the reason?

Score: 0
B P avatar
How to share files via a shared drive across multiple VM's running Ubuntu 18.04?
mp flag
B P

I am trying to share a single disk across multiple VM's. The VM's are hosted in Azure and the disk is an Azure Managed Disk. I've attached the disk to both VM's and have mounted them. I can see the partition on each, as well as the test file I've created, test.txt. However, updates to the contents of the txt file while SSH'ed into VM1 are not reflected in VM22. Instead, the VM2 shows the prior value  ...

Score: 0
Snappy avatar
Remove Immutable Flag from /etc/hosts
cn flag

I am attempting to change the /etc/hosts file on a VPS with Ubuntu 20.04 LTS.

I cannot open the file for editing and chmod is not able to affect the file:

root@Montgomery06:~# sudo chmod +w /etc/hosts
chmod: changing permissions of '/etc/hosts': Operation not permitted

I tracked the issue to the immutable flag on the /etc/hosts file. But even after running the chattr command, the immutable attribute eit ...

Score: 0
Andreas W. avatar
finding correct kernel source based on dkms infos
vu flag

I'm searching for a possibility to find the correct kernel source of an Ubuntu system based on the information which is available for the dkms system.

Background: I'm using a system with an Atheros network adapter supported by the alx driver. In my previous installation Wake On Lan worked like a charm on this interface. Now I want to use Ubuntu 22.04 and WOL doesn't work out of the box. I already ...

Score: 1
Pravesh Kumar Sharma avatar
How to add a splash screen theme to ubuntu 22.04?
kg flag

I am using Ubuntu 22.04 on my dell laptop [ Intel i3, 64-bit]. During the booting process, the screen only show a black screen. I wants to show a custom image or gif during the booting process, but don't know how? If anyone knows, please help...

Score: 1
nxtronic avatar
AMD 6600 xt -- daily - display corruption on Jammy
pt flag

About once a day, usually on the lock screen I see lots of display corruption -- green matrix type looking things. When I'm in this state I can't always login, various apps exit.

What logs should I capture to debug this?

➜  ~ sudo lspci -k | grep -EA2 'VGA|3D'                        
[sudo] password for deem: 
2f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon  ...
Score: 0
Santosh Baruah avatar
nginx: [warn] server name has suspicious symbols with long domain redirect
br flag

What is the best way in Nginx to redirect two Long domains URLS, I would like to configure a redirect between two domains like this:

I'm sure this has been asked before, but I can't find a solution that works.

original link:

https://qwerty.test.com/education/7/abc-science

New link

https://www.test.com/education/7/abc-science

I have tried this :

server {
    listen 80;
    listen 443 ssl;
    serv ...
Score: 0
AGP avatar
Problem when booting from USB
vi flag
AGP

Hi I am trying to install Ubuntu for the first time. After making the USB and booting I get this error: 0.221374 iommu ivhd0: AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device= 00:00.0 pasid=0x00000 address=0xfffffffdf8000000 flags=0x0a00]

Score: 0
John Rothman avatar
How to enable Keyboard and touchpad while laptop is rotated
cn flag

I am trying to enable the touchpad and keyboard when rotating the laptop. I believe the feature is done because the laptop assumes it's in tablet mode, but I would like to have the keyboard and touchpad to remain active at all times. I'm not sure how to enable this

Using Ubuntu 22.04.1

Hardware information

Host: HP Pavilion x360 Convertible 1
Kernel: 5.15.0-48-generic
Packages: 1866 (dpkg), 27 (snap)  ...
Score: 0
Nicolas avatar
GoPro 7 does not work via MTP in Ubuntu 22.04.1 LTS
ng flag

My GoPro 7 does not work via MTP on my Ubuntu 22.04:

Oct 19 17:05:50 sesta11 kernel: [  124.113398] usb 1-4: new high-speed USB device number 18 using xhci_hcd
Oct 19 17:05:50 sesta11 kernel: [  124.263827] usb 1-4: New USB device found, idVendor=2672, idProduct=0047, bcdDevice= 0.01
Oct 19 17:05:50 sesta11 kernel: [  124.263842] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct ...
Score: 0
Ray Butterworth avatar
Google Chrome failing to fetch pages from one specific site on one specific Ubuntu user account
ck flag

I use the latest version of Chrome:

  • Version 106.0.5249.119 (Official Build) (64-bit))

on an up-to-date Ubuntu 20.4:

  • Linux ray-desktop 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

For a while (perhaps a few months), I've been getting this message:

This site can’t be reached
The web page at
https://www.etymonline.com might be temporarily down o ...

Score: -2
Jose avatar
apache .htaccess error 500
ls flag

I'm using Ubuntu 20.04. I configured the .htaccess file in the restful project, but I got error 500, internal server error. Without the .htaccess file the application works. I changed apache to:

apache view

.htaccess file contents:

htaccess view

Score: 0
Yasha Karant avatar
How to undo apt autoremove
cn flag

As the GUI Software Updater is not working, I have been doing via a terminal window within the MATE GUI sudo apt update followed by sudo apt upgrade . A new kernel and kernel "support" packages were installed. This time, when the upgrade requested to clean up a number of supposedly unneeded packages, my Xwindows system failed. From /var/log/apt/history.log I found:

Commandline: apt autoremove
Reque ...
Score: 0
fixit7 avatar
Remove visual studio code installed with .deb file
kp flag

I am trying to remove visual studio code that is in code_1.72.2-1665614327_amd64.deb.

I used this to install.

gdebi code_1.72.2-1665614327_amd64.deb

I have tried this.

andy@7 ~> sudo dpkg -r code_1.72.2-1665614327_amd64.deb
dpkg: error: you must specify packages by their own names, not by quoting the names of the files they come in

According to this, there should be a /usr/share/code/ directory, but ...

Score: 0
Network configuration does not reflect the NetworkManager profile
ve flag

In Ubuntu 22.04, I created a NetworkManager profile called netplan-enp2s0.nmconnection:

[connection]
id=netplan-enp2s0
uuid=7ea6f90b-3495-3533-948a-ef0035687c34
type=ethernet
interface-name=enp2s0
permissions=
timestamp=1634026237

[ethernet]
mac-address-blacklist=
wake-on-lan=0

[ipv4]
address1=192.168.0.100/16,192.168.0.254
dns=192.168.0.254;8.8.8.8;4.4.4.4;
dns-search=
ignore-auto-dns=true
method=manua ...
Score: -2
sudo . source_file command not found
it flag
. source_file

works.

sudo . source_file

doesn't work.

Is there a replacement command?

Score: 1
Can't install any package: "package linux-image-5.4.0-42-generic is missing final newline"?
cx flag

I tried to install some package updates on my Ubuntu 20.04.5, but everything fails with:

dpkg: unrecoverable fatal error, aborting:
 files list file for package 'linux-image-5.4.0-42-generic' is missing final newline

How would I resolve this?

Here is the example I tried:

> sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating  ...
Score: 0
Channaveer Hakari avatar
Getting 404 not found when I do sudo update Ubuntu Server 22.04
vn flag

I am getting the following error when I try to update the apt repository in Ubuntu Server 22.04

channaveer@channaveer:~$ sudo apt update
Ign:1 http://old-releases.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu impish-security InRelease
Ign:3 http://old-releases.ubuntu.com/ubuntu jammy-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu impish-security Release
  404  ...
Score: 0
Fabrice Jammes avatar
Virtualbox installation problem on Ubuntu 22.04 with kernel 5.15.0-52-generic
jp flag

I can not load vboxdrv module on Ubuntu 22.04, even after having rebuilt this module:

 ✘ fjammes@myhost  sudo apt install --reinstall virtualbox-dkms 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgsoap-2.8.117 liblzf1
Use 'sudo apt autoremove' to remove them.
0 upgr ...
Score: 2
chiel avatar
New install 22.04 Desktop, "apt-get autoremove" breaks something and doesn't boot
xk flag

I reinstalled my desktop (was using 20.04 LTS) with 22.04 LTS. So normal clean install from USB drive..

I do a normal install and when done I open a terminal and do:

  • apt-get update
  • apt-get dist-upgrade
  • reboot
  • (after reboot all is still fine)
  • apt-get dist-upgrade (to see if anything missing)
  • apt-get autoremove

The output of the last dist-upgrade

$ sudo apt-get dist-upgrade 
Reading package lists... D ...
Score: 0
josiahgarber avatar
Getting 'Unmet dependencies' error when updating Ubuntu 22.04.1
tw flag

I am getting an 'Unmet dependencies' error when running 'sudo apt upgrade'. I have tried running 'apt --fix-broken install', but get the following output.

Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-image-unsigned-5.15.0-46-generic
Suggested packages:
  fdutils linux-doc | linux-sour ...
Score: 0
w3tx75 avatar
I can't change the value between two quotation marks with sed
gf flag

How can I replace the word at the very end of the first line using sed?

test00 ; test01 ; 'test02 -test03="j32h"'
test04

The result should look like below;

test00 ; test01 ; 'test02 -test03="b254"'
test04

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.