Latest Ubuntu related questions

Score: 0
mehsheenman avatar
Can't find gcc-11 11.3.0 for ubuntu 22.04
tg flag

I'm trying to downgrade my version of gcc-11 from 11.4 to 11.3, but when I check the packages repository, I only see 11.2 and 11.4. Is there a way to safely install version 11.3 for Ubuntu 22.04?

Score: 0
cwhitmore avatar
Ubuntu 22.04 time behind 1 minute
bi flag

I'm running Ubuntu 22.04 on AWS and noticed the time was behind by one minute. The only thing I changed was the timezone using:

sudo timedatectl set-timezone "America/Chicago"

I also tried switching to ntpd using this suggestion: Ubuntu 18.04 clock is faster by 2min

Any ideas?

Score: 0
AAA avatar
Lock–Key protection Mechanism
gl flag
AAA

According to the book " Operating Systems Concepts " , 9th edition, page 638, we have a describtion for the Lock–Key protection Mechanism :

The lock–key scheme is a compromise between access lists and capability lists. Each object has a list of unique bit patterns, called locks. Similarly, each domain has a list of unique bit patterns, called keys. A process executing in a domain can access an obje ...

Score: 0
Crashofs avatar
How can i remove and unistall completely Cloudflared Packges in ubuntu?
vg flag

hello I'm new in Linux Ubuntu. I installed cloudflared by this steps :

sudo dpkg -i cloudflare_warp_2021_8_1_1_amd64_a8f66bae8a.deb
sudo apt --fix-broken install
sudo apt update
sudo dpkg -i cloudflare_warp_2021_8_1_1_amd64_a8f66bae8a.deb
warp-cli --help
warp-cli register
warp-cli connect

I was trying to install cloudflared on linux ubuntu and tried to remove it with some command that searched with re ...

Score: 2
dazzmos avatar
Custom modt script prevents me from logging in on server. Am I doing something wrong?
ru flag

I am running Ubuntu 22.04 LTS Server on an old computer I have, and I would like to have a custom script be run when I login to print useful information.

I have the script (linked below), placed it in /etc/profile.d/motd.sh so it runs at login, and ran sudo chmod -x /etc/update-motd.d/* so the default Ubuntu motd isn't executed. But upon logging in, it logs me out immediately. (both via SSH and physical ...

Score: 0
How to restore Ubuntu 18.04 LTS to "factory settings"
cn flag

I have Ubuntu 18.04 LTS on a computer I am selling. There isn't much on there, but I wanted to do some kind of "factory reset" so it's clean for the next person and remove my name from the admin account etc.

Is the only way to do this by creating an Ubuntu Live USB or is there something I can just do in the system?

Score: 0
emk2203 avatar
Accidentally deleted the system `uuidd` user and group -- which package to reinstall?
in flag

I accidentally deleted the system user uuidd and their group from my system.

I want to reinstall the package they belong to, but when I look for the manual of uuidd on the net, it references the util-linux package. A reinstall of this package with sudo apt --reinstall install util-linux does not bring this user back.

How can I find out which package to reinstall and repair the system?

Score: 0
emk2203 avatar
Looking for a 'screensaver' (animated framebuffer graphics, not just blanking) on a X-less system for the console
in flag

I have a small Ubuntu 23.04 system without X11 or Wayland (server edition) where I want an oldschool screensaver in the text console.

Is there any program in the Ubuntu distribution which can achieve this? I know of the possibility to have a slideshow of pictures with fbi, feh or fim, but I'm looking more for starfield simulation, fireworks or generally any xsceensaver-like visuals.

If this is not  ...

Score: 0
Evgeny Gurevich avatar
I faced an issue with start UI on Ubuntu 22.04 after login
us flag

Until now everything has worked well.But today when I tried to login happend next one.

I boot my Ubuntu and see login screen as usual. I fill login and password fields as usual After that system stucks and I see blue screen After a few afforts I logged in, but after system reboot I got sameissue again.

If a switch from Ubuntu UI to Gnome default UI (on login screen), I get access to the system, ther ...

Score: 0
Zayaan avatar
Suspend/Hibernate not working in Ubuntu 22.04
eg flag

Suspend/Hibernate is not working. Basically, when I suspend/hibernate, it just turns off my laptop screen, waits for 2-3 seconds, and turns it back on. (For hibernate, I have a large enough swap file, 64GB)

Specs:
OS: Ubuntu 22.04.3 LTS (64-bit)
Hardware Model: Dell Inc. Inspiron 3584
Processor: Intel® Core™ i3-7020U CPU @ 2.30GHz × 4
Graphics: Mesa Intel® HD Graphics 620 (KBL GT2F)
Gnome: 42.9 ...

Score: 0
Nahid Hasan avatar
How can i reset my keyboard layout in xwayland in ubuntu
ke flag

Unfortunately I changed my keyboard layout and now my keyboard acts like unreal. I installed a software called xkeycaps and then came this problem

I tried setxkbmap and it works with a warning. After restarting my device it's staying in the previous layout. Please someone help me to solve this problem ubuntu version 23.04

Score: 1
the c avatar
How do I install MSSQL Server on Ubuntu
gh flag

I am 74 years old and an old Windows user (dating back to MS-DOS 3.0 days) I am dumping Windows 10 and moving over to a Linux OS. I have chosen Ubuntu for my migration.

Here is my situation. I am using VMWare workstation 17 in Windows 10 with Ubuntu 20.04 as my learning environment. I have a need to run MSSQL Server in this environment. I have tried this several times without success. I know I am ...

Score: 3
Tim avatar
How can I convert an avif image file to a png file?
us flag
Tim

How can I convert an avif image file to a png file?

$ convert macadamiaCracker1.{avif,png}
convert: Decoder plugin generated an error: Unspecified (7.0) `macadamiaCracker1.avif' @ error/heic.c/IsHEIFSuccess/135.
convert: no images defined `macadamiaCracker1.png' @ error/convert.c/ConvertImageCommand/3325.

where

$ file macadamiaCracker1.avif
macadamiaCracker1.avif: ISO Media, AVIF Image

Was convert

Score: -1
Mahmoud Sobeih avatar
Create image from unallocated hdd
mr flag

I want to create file.img from unallocated hdd to another hdd ( backup the hdd ) to rescue my partitions and files in it . When I

dd if=/dev/sda of=dev/sdb/file.img 

It shows

dd: failed to open '/dev/sda': permission is denied 

Please help Can i create image from used space only on unallocated hdd this is all what i need . Because i will attempt to perform tdisk after creating the image to try re ...

Score: 0
hlper ZHANG avatar
How can I fix " wait for dpkg-deb --fsys-tarfile subprocess failed: No child processes E: Sub-process /usr/bin/dpkg returned an error code (2)"
bj flag

When I use 'sudo apt-get upgrade, I get a problem with the dpkg.

(Reading database ... 93929 files and directories currently installed.)
Preparing to unpack .../motd-news-config_11ubuntu5.7_all.deb ...
Unpacking motd-news-config (11ubuntu5.7) over (11ubuntu5.4) ...
dpkg: unrecoverable fatal error, aborting:
 wait for dpkg-deb --fsys-tarfile subprocess failed: No child processes
E: Sub-process /usr/ ...
Score: 1
ramki avatar
Ubuntu 23.04 logs me out arbitrarily while going to sleep mode
in flag

I upgraded my desktop to Ubuntu 23.04 a few days ago. Since then I've noticed that sometimes i get logged out when the system goes into sleep mode after 15 minutes of inactivity.

I searched askubuntu and elsewhere for solutions but didn't find any.

Any suggestions?

Thank you in advance.

Score: 0
neutrino avatar
JDBC Driver Error after Ubuntu upgrade from 18.04 to 20.04
cn flag

I recently upgraded the Ubuntu version from 18.04 to 20.04 (using do-release-upgrade) on a machine running MySQL server.

Now I get on the client machine the following error message in programs using the Java database connector:

JDBC Driver Error: Communications link failure

I am pretty sure that the MySQL server is up and running well, for example, I can access it from the same machine as follows:

 ...
Score: 0
Harord avatar
How to boot from external display - Ubuntu 22.04?
bb flag

I have setup with 3 external monitors while lid of my laptop is all time closed. I power up using button in dock station. In BIOS I switch option to boot up from external monitor. Everything was perfect but unfortunately recently it is no longer. When I power up my laptop I can see Ubuntu booting screen on my external monitors and I have time to press 'enter' to go into BIOS. After that there should be  ...

Score: 0
BowPark avatar
Unable to run notify-send from cronjob
ph flag

In my Kubuntu 22.04, a script run by my crontab uses notify-send. However, it doesn't work: there is no pop-up appearing. If I redirect the output (stderr in particular) of the script to a file, this error is printed:

Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached

If instead I run notify-send directly from a cronjob,

0 * * * * env DISPLAY=:0.0 notify-send - ...
Score: 0
Does KDE sensor Gnome apps – where's Gnome Terminal?
cn flag

I'm running Ubuntu 22.04 LTS and trying to use KDE desktop (I've just installed the package kde-full and switched to KDE/Plasma session from the login manager). I find that the KDE default terminal app Konsole is inferior to Gnome Terminal but I cannot find the Gnome Terminal from the KDE / start menu even though I can start it from command line running gnome-terminal. I've never noticed that Xfce ...

Score: 0
EnkiduGilgamesh avatar
How to use an old version of gcc-11 in Ubuntu 22.04
hu flag

I tried to install CUDA 11.7 tookit on Ubuntu 22.04.3 LTS. I followed the steps on NVIDIA website:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda-repo-ubuntu2204-11-7-local_11.7.0-515.43.0 ...
Score: 0
VooDooDarkMagic avatar
Software Index is broken error and configuring Secure Boot pop-up
mn flag

Ok so I am getting this Software index is broken error. The complete error is as following -

Software Index is broken. 
It is impossible to install or remove any software. 
Please use the software manager "Synaptic" 
or run "sudo apt-get install -f" in a terminal to fix the issue at first. 

When I run the synaptic package manager, I get this -

An error occurred The following details are provided
E: ...
Score: 0
Felice Pollano avatar
Error while connecting a device with CH341
cn flag

I'm trying to connect an Arduino board to the IDE and I have the following driver log:

[  543.412356] usb 1-2: USB disconnect, device number 3
[  549.593729] usb 1-2: new full-speed USB device number 7 using xhci_hcd
[  549.748438] usb 1-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[  549.748449] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  549.748 ...
Score: 0
jppy avatar
I deleted the EFI volume where the Windows boot entry was while installing ubuntu
re flag

I deleted the EFI volume where the Windows boot entry was. And I created a new EFI partition in the Ubuntu installation. Now the only OS in my EFI partition is Ubuntu. I have 4 drives : /dev/nvme (UBUNTU) 500gb -> EFI partition here!! /dev/sda (games) 1TB /dev/sdb (WINDOWS 11) 500gb /dev/sdc (games) 5TB how can I set the Windows boot entry into the EFI ?

Score: 1
canerandagio avatar
rsync does not include some files
de flag

In order not to carry all the hidden home folders in the backup, I excluded '.*' in the exclusion file.

But now there are some files, which are inside some subdirectories of the hidden directories, therefore excluded.

Well, I can't include these files.

rsync --archive --verbose --human-readable --delete --exclude-from='rsync-exclude-files-and-folders' --include-from='rsync-include-files-and-folders'  ...
Score: 0
tom mooo avatar
Ubuntu shows a black screen which only has a blinking cursor
st flag

My computer is an IdeaPad 3 Slim 3.

  • Intel Core i5

  • Intel iRIS XE graphics

  • Dual boot Ubuntu and Windows

The problem started after I created a bootable USB for cloning the image from another computer, however once I used that USB and started booting the system in IdeaPad 3, the OS in that USB is working but the Ubuntu in my IdeaPad is not functioning anymore which is just the beginning of my night ...

Score: -1
BalkrishnaDange avatar
which modemManager package in ubuntu 16.04 & ubuntu 22.04 supports Sierra EM7590 modem?
vu flag

which modemManager package in ubuntu 16.04 & ubuntu 22.04 supports Sierra EM7590 modem?.

I am trying to find modem manager package which supports Sierra EM7590 modem. Also it would be helpful if got to know how to configure modemManager for particular Sierra EM7590 modem.

Score: -1
pi4desktop avatar
ssh on vnc tightvnc server
gt flag

ive got xfce on pi4 b 4gb with ubuntu buster.I installed vnc tight server follwed instructions and comes to tunnel setup right at the end it doesnt wan to says address already in use. bind [127.0.0.1]:5901: Address already in use i used :lsof -ti:5901 5161 5535 and these two items appear then did a kill but now its this ssh: connect to host 192.168.0.149 port 22: Connection refused is this to connect on ...

Score: 0
JamesQReader avatar
low consuming Virtualization for Ubuntu to use Windows XP
cw flag

Looking for low consuming Virtualization for Ubuntu to use Windows XP. Need to open small application with Windows XP using small interface window

Trying to save computing resources, so I'm looking for something small and neat

Score: 1
Hendranata Saputra avatar
Booting Ubuntu 22.04 with kernel 6.2.0-26 results in a kernel panic
cn flag

I am running kernel 5.19.0-50-generic, meanwhile when start booting using new kernel 6.2.0-26-generic results in a kernel panic.

kernel panic screenshot

I'm not sure why.

We are using mainlines kernel to maintenance the kernels. Also if we try to remove kernel 6.2.0-26-generic it also failed.

mainlines kernel screenshot

Here is file under /boot folder:

@komp:/boot$ ls
config-5.19.0-50-generic      initrd.img.old                vmlinuz
config-6.2.0 ...

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.