Latest Ubuntu related questions

Score: 0
Nicholas Saunders avatar
Warning: apt-key is deprecated, when installing Microsoft Edge
mx flag

To install Microsoft Edge, the suggestion is to:

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
 

however, this is now deprecated. So the suggestion is to now use something like:

curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/spotify.gpg

However, I'm not quite clear on how to adapt that

Score: 0
Al.U.Mak avatar
Opera browser on Ubuntu
tz flag

I have installed the Opera browser on Ubuntu 22.04 (on a VPS). When starting in the command line, I get the error message:

[8410:8410:0505/155636.151776:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY [8410:8410:0505/155636.152212:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

echo $display returns only blank spaces.

I would need help, to get the Opera browser to work. ...

Score: -1
udippel avatar
Trying to play media to a Sony TV using DLNA
cn flag

Sitting on kubuntu, there is alas no 'Sharing' in Settings. So I guessed I had to add software. I tried minidlna, which works but is limited and cumbersome (configuration, startup, permissions), and most of all: not all formats will play on the Sony TV.

So tried rygel, which should contain renderers. However, it doesn't seem to do anything. When I start it, it comes up with some

(rygel:68800): RygelCo ...
Score: 0
Adrian D. avatar
Snaps don't launch after fixing issue with them not appearing in launcher
us flag

I'm having an issue where my Snap apps are not launching whenever I click on them.

The first issue was that they weren't showing up in the launcher, but I did some digging and it seems it was related to me installing ZSH, so I added emulate sh -c 'source /etc/profile' to my /etc/zsh/zprofile.
This fixed the issue of them not showing up, but now they won't launch.

If I try to run something like firefox ...

Score: 0
God of Money avatar
Why does BIOS created Raid0 array shows as Non-Raid in Ubuntu 22.02
so flag

I have 1 of 1TB m.2 and 2 of 500gb m.2 Why does BIOS created Raid0 array(500x2) shows as Non-Raid in Ubuntu 22.04? Here is the result from sudo lsblk

nvme1n1     259:0    0 931.5G  0 disk 
└─nvme1n1p1 259:3    0 931.5G  0 part /media/cache
nvme0n1     259:1    0 476.9G  0 disk 
└─nvme0n1p1 259:2    0 476.9G  0 part 

Moreover, even when I boot without doing the BIOS raid 1 of 500gb nvme always  ...

Score: 0
Manoj kumawat avatar
no wifi adapter found, Ubuntu 22.04.1 LTS Lenovo
iq flag

In my lenovo laptop wireless network is not working. I am getting No wifi adapter found error.

*-network                 
   description: Network controller
   product: Cannon Point-LP CNVi [Wireless-AC]
   vendor: Intel Corporation
   physical id: 14.3
   bus info: pci@0000:00:14.3
   version: 30
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix bus_master cap_list
   configuratio ...
Score: -1
user43280 avatar
Can I install ubuntu 22.04 alongside my exiting ubuntu 20.04 in a separate partition?
cn flag

I am too scared to touch my current 20.04 setup (various reasons), but at the same time I want to test 22.04. Can I have both in two partitions and be able to choose freely while booting? This would solve a lot of my issues!

Score: 0
keldorn avatar
Script run in terminal vs Script run via Desktop shortcut
gb flag

I would like to ask what is the difference between executing script/commands via normal termianl window vs clicking on Desktop shortcut for terminal application (see the desktop shortcut at the end).

There must be some difference, because when I start command in standard terminal window and try to close during test command "sleep 100" there is warning prompt ("Close this Terminal? There is still  ...

Score: 0
Johnny Laguna avatar
System Monitor doesn't see enp0s5
um flag

I'm running KDE/Plasma 5.24.7 under Ubuntu 22.04 in a Parallels VM. Parallel's recommended networking option ("Shared networking") is working just fine — I have complete access to the internet. The Info Center app sees my IP address and the ethernet network interface just fine: enp0s5. However, the System Monitor does not, nor does the Network Speed widget; both report that there is no network connect ...

Score: 0
TheRandomGuyNamedJoe12 avatar
/dev/mem and even /dev/port can't open even as root!
de flag

I made a program that tries to do mmaping on /dev/mem and it fails with:

Failed to open /dev/mem: Operation not permitted

And I tried using od as a test for my code being bad too:

od: /dev/mem: Operation not permitted

od: /dev/port: Operation not permitted

I am also running Kubuntu 22.04 LTS

To clarify, I never mmaped /dev/port.

How do I make these files open-able?

Score: 0
T Davies avatar
Trying to install Bimp for Gimp on xubuntu: Makefile:9: recipe for target 'make' failed
lt flag

I am trying to install BIMP for GIMP 2.8

I'm on xubuntu.

Following help below I installed the recommended way by cloning from git.

I still get the makefile error and there is still no Batch option when I look in the menu under File in GIMP.

talyadavies@talyadavies-E201NAS:~/Documents/bimp$ cd
talyadavies@talyadavies-E201NAS:~$ git clone https://github.com/alessandrofrancesconi/gimp-plugin-bimp
Cloning int ...
Score: -1
sancho.s ReinstateMonicaCellio avatar
TeamViewer as a client, to connect to a Windows machine

I mean to connect from my Ubuntu 20.04.05LTS to a Windows machine with TeamViewer. I have just installed the .deb for TeamViewer. It only shows as TeamViewer Host, and when I launch it, it doesn't look like I was used to.

enter image description here

I don't see how to use it as a client, where I can simply enter the information for the server and connect to it.

Is that possible? How?

Score: 0
redturtle avatar
Boot freezing on "Failed to start Samba NMB Daemon"
so flag

I turned my computer on to find that it can't complete the boot process fully, telling me that it's failing to start the Samba NMB Daemon. It appears to be linked in with a particular Bluetooth driver, but I'm unaware of any reasons that this would prevent it from booting. My system is running Ubuntu 22.10, and I can still access GRUB. Here are some photos showing the different errors I'm getting:

Score: -1
reducing activity avatar
How can I update sane-backends for Ubuntu 20.04?
cn flag

scanimage --version shows

scanimage (sane-backends) 1.0.29; backend version 1.0.29

which is ancient and may be reason why I get cryptic failures like scanimage: sane_read: Error during device I/O - for CanonScan Lide 300 listed as supported on http://www.sane-project.org/sane-mfgs.html

(In case of XY problem: I am fine also with getting scanner to work in other way, or at least to produce less cryptic er ...

Score: -2
Mundi avatar
grub-pc error on VPS: cannot rename file in /etc/default
cn flag

I have an ubuntu 20.04.6 LTS installation. Every time I do any sudo apt-get upgrade (and other install, configure, update and upgrade actions), I have an error with grub-pc. This also happens with e.g. dpkg --configure -a.

I have been ignoring this error, but now it prevents me from upgrading to Ubuntu 22 LTS.

The error is always triggered by an unsuccessful command in the post install script for grub-p ...

Score: -1
Zakhar Yagudin avatar
NVidia driver Ubuntu 22.04
ax flag

I'm currently trying to set nvidia driver on Ubuntu 22.04 5.19.0-41-generic RTX 3080

And I'm struggling with NVidia drivers installation(probably as every linux user))

First, I've removed all previous nvidia packages and have installed nvidia-driver-470

$ dkms status
nvidia/470.182.03, 5.19.0-41-generic, x86_64: installed
r8168/8.049.02, 5.15.0-71-generic, x86_64: installed
r8168/8.049.02, 5.19.0-40-g ...
Score: 0
PouJa avatar
Ubuntu server 20.04 with netplan and two 1G ports that are on the same subnet
km flag

I am getting collocation service for my hardware that has 4x1G ports on the same network card. Two of the ports are plugged and they correspond to eno5 and eno6 interfaces on my operating system which is Ubuntu server 20.04. The provider has assigned me a /24 ipv4 subnet and they say I can use both ports on it. Lets consider xx.xx.xx.0/24 is my ip range and xx.xx.xx.1 is my gateway. The scenario I wan ...

Score: 0
Yehuda Clinton avatar
archive manager / file-roller to encrypt & decrypt pgp files
br flag

Is there any way to open/decrypt .pgp files in the gui? It would be great if archive manager was able to do this.

Score: 0
S.T. Veje avatar
Can't launch any apps when Desktop set to show contents of ~/Desktop
bi flag

Yesterday I installed Kubuntu 23.04 (fresh install), set everything up, and everything was working fine, including after multiple restarts. This morning, the icons on my desktop were missing and I couldn't launch any apps. Only thing I could still launch was "Configure Desktop and Wallpaper" by right-clicking on the desktop, though the "Configure Display Settings" below didn't work.

Using journalctl

Score: 0
Epyx avatar
Tried to block an ip address to my server and docker containers
vu flag

I am running a docker server under Ubuntu 22.04.2 with several ip addresses and container.

In my log files i see that an external ip is trying to connect to a minecraft server, that runs in a docker container.

i have added the following rules:

iptables -F INPUT
iptables -F OUTPUT
iptables -P FORWARD DROP
iptables -A INPUT -s [IP-TO-BLOCK] -j DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT ! -i l ...
Score: 0
how to change location of journalctl data?
ma flag

I would like to change the place the systemd data is stored.

It seems like they are being written to /var/log/journal

I guess I could stop systemd-journald.service and then symlink the directory - but there must be a better "official" way. I see other people have asked kind of similar questions, but they are quite old. I'm sure there is now a way to change this, if not they need to program that.

Bit ne ...

Score: 1
Vasilij Duško avatar
ThinkPad Universal Thunderbolt 4 Dock (40B0) - second external monitor black (Ubuntu 22.04)
vn flag

A few days ago purchased device https://support.lenovo.com/lt/en/downloads/ds554336.

Windows works perfectly.

Ubuntu 22.04. In the settings, I see three displays (notebook + monitors). One of them is a black screen.

ThinkPad docking has been updated to the latest firmware version.

Kernel: 5.19.17-051917-generic

Next I tried to use the latest kernel

6.3.1-060301-generic

Two monitors enabled into docki ...

Score: 0
John Doe Junior avatar
I can't get the app store icon
sa flag

I uninstalled some apps in Ubuntu 20.04 using the app store. After a while I tried to install a new program, but I can't get the app store icon anymore. The system is searching forever, but gives no error message. All other installed programs work fine.

sudo apt update gives the following:

E: Type "gpg" is unknown at line 1 in source list /etc/apt/sources.list.d/graphics:darktable.list 
E: The list  ...
Score: 0
koral avatar
Ubuntu 22.04 on Oracle Virtualbox - closes window by mouse click after activate
ai flag

Host; Windows 10 VM: 7.0.8 Ubuntu: 22.04.2 LTS + Guest Addons Host key combination: left windows Mouse integration: on

All works correctly. I press left windows key (do return focus to host) and Alt-tab to change active window. Then mouse cursor in VM changes to black cross and when I left click then active window from VM is closed. I have to first right click to disable to cross mouse cursor.

enter image description here

Thi ...

Score: 0
Celos avatar
UFW blocks pihole traffic after upgrade from 20.04 to 22.04
tr flag

I'm a bit lost here. After upgrading from 20.04 to 22.04 via do-release-upgrade, my pihole stopped working. All queries towards the server over LAN time out, both pihole.log and FTL.log show no activity. Reinstalling ufw had no effect.

Accessing things locally on the server, via curl, works. Disabling UFW works. UFW, when enabled, seems to be correctly processing rules, as I can still ssh into the ...

Score: 0
voutlook avatar
I want to turn off "Blutooth" HP-EliteBook-Folio-9480m TO save power consume
er flag

When I give this command sudo service bluetooth status, it gives this output:

[sudo] password for v: 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor prese>
     Active: inactive (dead)
       Docs: man:bluetoothd(8)
lines 1-4/4 (END)

And rfkill gives this output:

ID TYPE      DEVICE      SOFT      HARD
 0 wlan      phy0   unblo ...
Score: 0
Yigal avatar
gnome-remote-desktop Failed to start RDP server: Error binding to address [::]:3389: Address already in use
dz flag

I'm trying to find an answer but I haven't so far. I installed Ubuntu 22.0.4 and Gnome Desktop didn't work so i went ahead to upgrade to 23.0.4 hoping it will resolve the following issue but it didn't. It doesn't work from Windows 11 and Mac. Gnome Desktop is showing the following error:

yigal@yigal-desktop:~$ systemctl --user status gnome-remote-desktop.service
● gnome-remote-desktop.service - G ...
Score: 5
Even Haffolett avatar
How to build a language pack for endagered languages?
vc flag

I want to learn how to build language packs to preserve and advertise endangered languages. It can also be of great help for conlangers.

Score: 2
Worn-out_home-tech avatar
Updating Firmware
cn flag

I've bought a new computer a few days ago and installed 23.04 onto it. Now I need to look into firmware & drivers to make sure it is all up to date.

With Ubuntu, all the drivers come from the kernel (at least in my case they did). The bios can be had from the motherboard manufacturer(asus) and can be flashed within bios. But the Intel ME firmware can't be done in bios.. at least not that I ca ...

Score: 0
ubudoge avatar
Help with error: Failed to restart hostname.service: Unit hostname.service not found
vi flag

Followed a tutorial for setting my hosts and hostname file. When I go to service hostname restart I get error:

Failed to restart hostname.service: Unit hostname.service not found.

My hosts file is set up like this:

127.0.0.1 localhost

127.0.1.1 bobsrevenge.com bob

My hostname file is like this:

bob

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.