Latest Ubuntu related questions

Score: 0
LearningC avatar
error: couldn't connect the modem: 'Timeout was reached'
hm flag

I'm using Modem Manager on Ubuntu 18.04 LTS. Pay attention to modem 0:

root@flexiwan-vbox:~# mmcli -m 0
  ----------------------------------
  General  |              dbus path: /org/freedesktop/ModemManager1/Modem/0
           |              device id: a09c43b5c1de8161a3dcc1147ac33a7d4970afd5
  ----------------------------------
  Hardware |           manufacturer: QCOM
           |                ...
Score: 0
Vincenzo avatar
Can not update GRUB due to syntax error /out of memory error
mv flag

I have a dual boot with Windows 11 and Ubuntu 22.04 and I'm not able to update GRUB due to the following error

Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-53-generic
Found initrd image: /boot/initrd.img-5.15.0-53-generic
Found linux image: /boot/vmlinuz-5.15.0-52-generic
Found in ...
Score: 0
masoud hanifehzadeh avatar
iptables to block http and ssh in one direction
eg flag

I have a topology where there is a Linux as a router that connects two Linux, and I want to use iptables to filter ssh and HTTP in one direction. I used the below code but it didn't work! I really appreciate any help you can provide.

iptables -A FORWARD -i ens33 -o ens38 -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -i ens38 -o ens33 -p tcp --sport 80 -j ACCEPT
iptables -A FORWARD -i ens38 -o ens ...
Score: 0
Dennis Lynster avatar
How do I fix a typo in mount command output "relatime"?
us flag

I ran the mount command to see what was set up so far. Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-56-generic x86_64) Output snippet:

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8029452k,nr_inodes=2007363,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gi ...
Score: 0
Ubuntu 22.04 Wifi Adapter has vanished
br flag

I'd been running Ubuntu 22.04 without trouble for several months on my Lenovo Yoga laptop. Today, I find that the Wifi has vanished, and nothing I do can get it back.

$ inxi -N


Network:
  Device-1: Intel Ethernet I219-V driver: e1000e
  Device-2: Intel Bluetooth wireless interface type: USB driver: btusb


$ lspci -nnk | grep Net

$ [Returns nothing]

$ uname -a
Linux Medusa 5.15.0-56-generic #62 ...
Score: 0
how to recover/continue from cancelled 20.04 to 22.04?
us flag

I thought I was telling it to "cancel" (not send) the error about this service I don't use anyway. It canceled the whole installation. I did not reboot yet .. what is the best way to proceed?

screenshot

Score: 0
Pixel scroll with logitech mouse in 22.04
cn flag

I have Ubuntu 22.04 and a Logitech mouse. I want to get pixel or smooth scroll with it, the kind you usually get with the touchpad or a touch screen. I tried this which worked for me in the past, in Xubuntu 20.04, but it is not working anymore.

Score: 0
Berimcolo avatar
How I can recover my windows data after almost installing ubuntu by mistake in the same drive
bl flag

I wanted to install ubuntu and I made the mistake of doing it on the same drive as windows. Before finishing the installation I got a message saying "Partition(s) 1, 4 on /dev/sdb have been written, but we have been unable to inform the kernel of the change". I pressed ignore and continue but then ubuntu could not be installed. I also could not get back to boot windows either. I would like to know if I  ...

Score: 0
Vinz M avatar
best way to quickly rotate screen / change orientation?
vi flag

I am using Ubuntu Studio 22.04, computer is connected to screen using HDMI.

Depending on the software being used (Ardour or VLC or software to manage my mixer...) I would like to have my desktop/screen rotated 90°...

I know that I can go to Settings/Displays and change the orientation, however I am looking for a quicker way to do so...

Ideally a function key or a shortcut :->

Any idea ? Thanks Vincent ...

Score: 1
Suleman avatar
Ubuntu 20.04: Ethernet works fine (few minutes) -> then becomes non-responsive (few minutes). This cycle repeats
us flag

My ethernet was working fine few days ago until I noticed this weird behavior.

This is the cycle:

  1. Internet works fine at full speed (75 Mbps).
  2. Now it becomes non-responsive. Can't even ping google.com
  3. Again it start working at full speed for few minutes.
  4. Now stops and becomes non-responsive again.

I re-installed network driver: sudo apt --reinstall install r8168-dkms

But its still the same.

Honstly I ...

Score: 0
Stefano Fedele avatar
Unable to install wine stable because of "broken packages"
cn flag

As reported on the subject, I've failed installing the latest stable wine version because a broken package has accurred in my computer. Particularly, after typing

sudo apt install wine-stable

the following message have appeared

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested ...
Score: 0
Sync files with Windows laptop
in flag

I have a laptop which I use for editing notes in small text files among other things when away from my main ubuntu desktop. This can happen several times a day. Various programs like browsers fail to work adequately when in touchscreen mode so I have been pushed into trying to work with Windows. The notes need to be kept in sync with the files on the desktop with the minimum amount of hassle and the max ...

Score: 1
Dave Levy avatar
How to implement a TCL Package
bz flag

I am trying to write an argument parser for a tcl/wish program.

I am working through the examples on https://stackoverflow.com/questions/24341141/package-for-parsing-argument-in-tcl which suggests using an implementation of getopts via a package, yet I fall at the first hurdle.

They recommend using the command package require cmdline, I get the error message can't find package cmdline. I am using "U ...

Score: 0
Ultral70 avatar
Installed Chrome manually, now cant uninstall it
nf flag

I installed Chrome manually, but now I can't find it anywhere but in the search box. I tried to install Chrome again, but it installed without any hesitation and if I try to uninstall Chrome, it only uninstalls the latest. I can't find it in either the Snap software app or in the Software app.

Both Chromes on search box:

Both Chromes on search box

Packages installed:

Packages installed

Uninstalling Chrome:

Uninstalling chrome

Still one Chrome is showing:

Still one chrome showing

It st ...

Score: 0
vaso123 avatar
Install php repository gives me not found
cn flag

I am trying to install PHP.

When I try to add the repository I've got not found.

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/ondrej-ubuntu-php-kinetic.list
Adding deb entry to /etc/apt/sources.list.d/ondrej-ubuntu-php- ...
Score: 0
woyim46107 avatar
Nautilus not showing song's cover art of .m4a files
bm flag

I have some songs in .m4a format. These songs have a cover art, but on Nautilus I can't see it. If I open it with VLC or If I put these songs on my Android phone, I can see the cover art, so I think it's an Ubuntu bug. If I give this command

file "the song.m4a"

I get this output:

the song.m4a: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]

I tried to rename the song from ".m4a" to ".mp3", but nothi ...

Score: 0
davidpf8 avatar
XP Pen with Ubuntu problems
md flag

I have connected my xp pen device (star 06) and everything is detected, every button is working correctly but when I move the pen in the tablet, the cursor does not move. Any help?

I am using ubuntu 22.10

Thank you :)

Score: 1
Claude Monet avatar
MySQL error while create databaseon mariadb
sy flag

Trying new adventures, been set up cacti on my VirtualBox Machine, sticking to vary instructions, exploring my problem I stuck in, but can't go further.

I'm doing alright till I'm creating database on mariadb:

sudo mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql

Then error appears everytime:

ERROR 1062 (23000) at line 18: Duplicate entry 'MET' for key 'PRIMARY'

Values ubuntu c ...

Score: 0
knfevg avatar
Ubuntu Kiosk with 2 3G modems in Failover mode
pn flag

I ran kiosks based on Ubuntu with Network manager installed. The kiosks are connected to the internet with 3G (4G) USB sticks (two in each kiosk) with 2 different SIM cards for redundancy. What's the best way to build a failover mechanism? The preference would be to choose with BEST stick based on the quality of connection. Both SIMs have unlimited data so I dont care which one to use but I want the OS  ...

Score: 1
Chumpocomon avatar
Default Dark Mode not fully working on Ubuntu 22.10
im flag

I'm trying to use default dark mode on Ubuntu 22.10, however widgets on the top bar (GNOME panel) remain on light mode.

enter image description here

enter image description here I tried Tweak but even with that I couldn't fix it.

Note: I have been upgrading Ubuntu in my computer with any new version since 19.04

Any help would be really appreciated.

Related to: Dark mode keeps turning off in Ubuntu 22.10

Score: 0
lovely loner avatar
how do i install users indicator with a terminal command?
ml flag

I'm on ubuntu 22.10 kinetic kudu unity. once I updated to that version of ubuntu I realized it lacked the users' list button at the top bar. I need it to switch between accounts. help.

I tried sudo apt install indicator-users but that didn't work.

Score: 0
TadoTheMiner avatar
When I run ./AdobeAIRInstaller this huge exception occurs in terminal
bf flag
$ ./AdobeAIRInstaller.bin: line 1: syntax error near unexpected 
token

(there are a lot of lines after it). I followed this tutorial

Score: 1
Jody B avatar
Windows install disk to ISO file to USB HDD to boot and install Windows on a PC that has no optical drive. Can it be done?
cn flag

If I put a Windows install disk in my Ubuntu desktop DVD drive, make an ISO file from it, can I then (somehow) use that ISO file to turn a USB connected HDD into something that will boot and install said Windows onto a PC that lacks an optical drive? I have install disks for Windows 98, ME, XP and 7. I don't care which version I end up with. Thanks!

Score: 0
dartharva avatar
Steam snap doesn't scale properly. How do you change launch parameters when even .desktop files for snaps are write-protected?
jp flag

The current Steam snap renders badly with fractional scaling enabled. I want to launch it with GDK_SCALE=2 but it's apparently not possible to edit snap apps' .desktop files.

Any ideas how I could go about fixing this?

Score: 0
Godfrey Nix avatar
stuck in reboot loop - reason unknown
rw flag

tried out Ubuntu 22.04 from a USB stick and it works fine on a new laptop computer, but after installing it I am left with it constantly rebooting with just 'reset system' message flashing up. Have tried minimal install, checking UEFI settings but nowhere nearer finding cause or knowing what to try next. Is there any boot log file I can look for if I start it again from the memory stick? Any other sugge ...

Score: 0
Christian Boyce avatar
How to fix the Boot screen being stuck with “Failed to start Gnome Display Manager”
sk flag

My computer is stuck at a boot screen, with the line says “Failed to start Gnome Display Manager”. I was moving images from folder to folder, and then I had an error saying it’s not responding, now goes the gnome. How do I fix this?

My computer is Ubuntu 22.10

Score: -1
user20663427 avatar
Restore deleted docker container in Virtual Machine
vi flag

I have connected to a VM via SSH in Visual Studio Code and in that connected to docker container. When I closed the container, the container got deleted permanently. When I check in VM "docker ps" , it is not showing the container ID.

Please help to restore the container

Score: 0
anir avatar
Unable to use onedrive on any browser on ubuntu
fj flag

I am unable to access OneDrive on ubuntu through any browser.

Microsoft Edge: enter image description here

Brave:
enter image description here

Firefox:
enter image description here

I also tried switching from LAN to mobile hotspot. Still the same. This also used to happen on another LAN at my home. However, sometimes the website works.

Stack trace from dev tools console: link

PS:

Ubuntu 20.04.4 LTS 64-bit GNOME: 3.36.8

Score: 0
lovely loner avatar
when i press F11 to boot from a pendrive my screen stays black
ml flag

so here is my problem. I downloaded the ubuntu 20.04 iso image and applied it to my pen drive. I plug in the pen drive, reboot my system, and hit the f11 key at least 4 times. and then, I just get a black screen. it stays stuck in the process of loading the options which would allow me to boot from my pen drive. what do I do? does this have anything to do with installing what some call the ''grub menu'' ...

Score: 1
Ahnaf Ahamed avatar
Cannot Install Ubuntu on WSL 2 Windows 11
bs flag

I'm trying to install Ubuntu on my Windows 11 machine and I get this error:

WslRegisterDistribution failed with error: 0xffffffff
Error: 0xffffffff (null)

System Info:

Edition Windows 11 Home Single Language 
Version 22H2 
Installed on ‎2022-‎09-‎12 
OS build 22623.1037 
Experience Windows Feature Experience Pack 1000.22638.1000.

Output of wsl --version:

WSL version: 1.0.3.0
Kernel version: 5.15 ...

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.