Latest Ubuntu related questions

Score: 0
Nazim Ben avatar
nvidia-driver-520-open
km flag

I tried to install the driver on Ubuntu 22.04.1 LTS (Kernel 5.15.0-52-generic GNU/Linux) with GeForce RTX 3060:

sudo apt install nvidia-driver-520-open

But, I had some errors as you can see:

A modprobe blacklist file has been created at /etc/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting the following file: /etc/modprobe.d/nvidia-graphics-drivers.conf
    
A new init ...
Score: 0
mnj avatar
How to deal with outdated Docker images?
cn flag
mnj

Docker images are built at some point in time and later they are fetched by the users of those images, and they create containers based on them. Seeing how often updates show up on Linux distros (like Ubuntu), doesn't it mean that the images are outdated pretty much the day after they get published to image repository?

Let's say someone creates an image for their app:

FROM ubuntu
RUN apt update -y # o ...
Score: 0
terminal_ avatar
pip3 installs to python3.10 despite the later not being default Python version and shows permission denied
bn flag

While working on a project, I changed my Ubuntu 20.04 default Python 3 version to Python 3.10, by doing the following changes

  1. in bashrc, added alias python3 = python3.10 and sourced it
  2. ln -sf python3.10 python3 to mean that "python3 command means python3.10"

I know I messed up and rolled back these by

  1. removing the first line from bash and sourcing
  2. running the same command in 2 but with 3.8 replacing ...
Score: 0
Faizal avatar
How to install GRPC in Xampp Ubuntu 22.10
br flag

I have installed xampp on my ubnutu machine. I try to install grpc. so the pecl is preinstalled in xampp which is found in /opt/lampp/bin.

I try to install like this sudo /opt/lampp/bin/pecl install grpc. but i get this error ERROR: /tmp/pear/temp/grpc/configure --with-php-config=/opt/lampp/bin/php-config' failed Please check the error screenshot here

Score: 0
Eliasmys avatar
Problems with snap, after freshly reinstalling it ("unable to contact snap store")
ms flag

I recently installed Ubuntu 22.04.1 LTS on my PC and have tried getting to know them, having a first experience of them. After some time, I realized that I, very commonly, ran into errors with the new, so-called, "Snap Store" of Ubuntu (not "Ubuntu Software", this is another app) (the errors of "Snap Store" is a matter in itself). That led me to try uninstalling it and the reinstalling it again,  ...

Score: 0
Raimon Hossain avatar
Newly installed Graphics card not detected
tn flag

I have a clean install of Ubuntu 22.04. I can't figure out if I'm actually using my dedicated graphics card. When I connect the monitor to the graphics card output, it doesn't show anything, the monitor doesn't even recognize a signal. But when I plug it into the motherboard connector, everything works more or less fine (I get a non-native default resolution, but I fixed it temporarily with xrandr, whic ...

Score: 0
Tikendra Kumar Sahu avatar
Cannot open settings with Keyboard Shortcut Ubuntu 22.10
es flag

I set Ctrl + 0 as Shortcut to Open Settings. and It worked Fine in Ubuntu 22.04. After Updating to Ubuntu 22.10, it won't work.

If anyone could resolve the Issue. Please do. Thank you random citizen.

enter image description here

Score: 0
DilLip_Chowdary avatar
"cannot find EFI directory" Error while installing grub in fresh storage volume
ar flag

What I Have Done?

I'm planning to replace the current default volume with a new one for some reason, so that's why I'm planning to copy data to it, set up grub, and replace the original volume with this new volume.

In the existing Ubuntu server, Attached additional volume (newly formatted volume), setting up grub for this.

After that, I get the below error while installing grub.

Command

sudo grub ...
Score: 0
jake avatar
openssl configuration issue caused failure during certification by canaonical server
ci flag

I have an openssl problem as below:

# pro --help
Failed to access URL: https://contracts.canonical.com/v1/resources?architecture=amd64&kernel=5.15.0-52-generic&series=jammy
Cannot verify certificate of server
Please check your openssl configuration.

What I can do to configure openssl correctly (in order to use ubuntu advantage tool which has already been installed here). Thanks.

Score: 0
Daniel Cruz avatar
how can i run a .vp6 file on ubuntu?
nl flag

Some time ago I installed a video game (need for speed most wanted) on my pc with ubuntu 22.04.1lts operating system. The problem was that the cinematics weren't working for me, and over time I found out that they were in a type of .vp6 format, which I don't know. Now just out of curiosity I would like to know if there is any way to play those files, or make them work correctly in the game. Thanks a lot ...

Score: 1
sixty-four avatar
no graphics with 6500xt
tz flag

I built a new computer to game on recently, and when I try to boot 20.04 off of usb it stops displaying anything. specs: i3-12100F 16gb ddr4 rx 6500 xt update: i tried using safe graphics and it displayed some error: VGACON disables amdgpu kernel modsetting

mtd device must be supplied

Score: 2
Zack Drett avatar
Ubuntu crashes while booting (Dual Boot)
rs flag

I Dual booted Ubuntu 22.04.1 on my Lenovo IdeaPad Gaming 3 along with pre installed Windows 11.

I was facing WiFi problem as it says no WiFi adaptor was found. I tested many "solutions" that didn't work for me, and I tried to disable "Allow the computer to turn off this device to save power" on my WiFi card in Windows.

When this setting is disabled and I try to boot Ubuntu, it just crashes. What shou ...

Score: 0
Andrew W Tucker avatar
multiple problems after upgrade to 22.04
cn flag

I have multiple problems after upgrading to Ubuntu 22.04 LTS. I get random screen flickering that comes and goes. Amd stoney graphics on a hp laptop. All the solutions I have seen are for intel. The only session that works out of 8 choices is the default gnome 42. I run Ubuntu studio 22.04 and Ubuntu 22.04 (dual boot) on my desktop with no issues. The on;y difference is mine was a clean install and her ...

Score: 0
alilland avatar
How can I increase Ubuntu hard drive space on AWS when resize2fs says there is nothing to do?
kz flag

I've looked at a few tutorials, they say -

Step 1) run df -h

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.7G  6.1G  1.7G  79% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           787M  832K  787M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/loop ...
Score: 0
lamp bottle avatar
Error installing dropbox
cn flag

When installing:

https://www.dropbox.com/install-linux

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

~/.dropbox-dist/dropboxd

Getting:

/home/ubuntu/.dropbox-dist/dropbox-lnx.x86_64-160.4.4703/dropboxd: 15: exec: /home/ubuntu/.dropbox-dist/dropbox-lnx.x86_64-160.4.4703/dropbox: Exec format error

I'm running this Linux instance through multipass with GUI on ...

Score: 0
ibby2009 avatar
Copying packages from previous distro doesn't work
at flag

I am using apt-clone to clone all the packages from the distro I was using previously and in the new distro I am using sudo apt-clone restore ~/foo.apt-clone.tar.gz and it fetches nothing but doesn't produce an error. The distro I am using now is kbuntu 22.04lts and the one i was using before was linux mint 20.3

This is the result of:

Warning: apt-key is deprecated. Manage keyring files in trusted.g ...

Score: 1
Trunk avatar
Odd Error With deja-dup Backup Application
nc flag

Ubuntu Version: 22.04.1 LTS

Deja-Dup version 42.9

I use Timeshift to back up my Ubuntu system.

This excludes folders:

/root, /home/myadminname and /home/myusername from the system backup.

The contents of these are mostly data files plus some "dot" folders relating to application configs for my user account, e.g. .ssh for SSH transfers for the user in question.

Naturally, I could include these in th ...

Score: 0
Alexey Lot avatar
Files from external device was deleted after copying
es flag

I have connected external HDD to my Linux machine via USB. Then, I copied directory A with files from machine to the external device folder B containing folder C. When copying successfuly finished device was disconnected via interface button and powered off. After that, I am trying to enable external device and see there neither folder A nor C at all. What happened? How to get it fixed for the future? ...

Score: 0
Serafim avatar
Ubuntu doesn't read an HDD external hard drive after update (22.04)
in flag

When updating the Ubuntu(to the 22.04 version), the HDD disk was connected via USB to the computer. And as I understand it, at this point in the system update, an external drive was used, and this somehow affected it. But the problem is that important files were stored on them, and now the system does not even see the HDD. Does anyone know how to solve this issue and restore files if they were lost?

 ...
Score: 0
sijo avatar
Macro hardening is now failing
cm flag

I am running Ubuntu 20.04. I am using Libre Office that comes with it. (6.4.7.2) I have been hardening LibreOffice macros by using disablemacrosexecution set macrosecuritylevel to highest

Recently there was an Ubuntu patch release (2ish weeks ago?) that seems to have stopped this from working.

Does anyone know what has changed?

Score: 0
Cristofer Posas Valdivia avatar
Ubuntu 22.04LTS GDM3 Troubleshooting (Not loading desktop, only showing"Unlock Login Keyring"
mr flag

After messing around on the Login screen, I found the little cogwheel that lets you change desktop environments. I clicked Kodi, logged in, and it worked fine, so then I decided to try Openbox and TWM and none of those launched, so I went to bed and called it a night. When i tried to log into Wayland again this morning I was greeted with a black screen and only "Unlock Login Keyring", and once I unlock  ...

Score: 0
user227495 avatar
Syncing files using Google Drive between Windows 10 and Ubuntu
us flag

I have a desktop with Ubuntu 20.04. My laptop has Windows 10. I am trying to use my Ubuntu desktop for some work and get a copy of the files on the Ubuntu desktop on Google Drive and Windows 10. Is it possible to achieve the same? Any tips will be great.

Thanks.

Score: 0
Mario Navarro Claras avatar
DDoS Attack - Iptables bad configuration
tj flag

I have Ubuntu 20.04.4 LTS. I am under a DDoS attack and don't know how to limit the connections made by multiple IP's (avobe 500).

I saw some post, like this or this, but don't know how to follow the steps correctly to solve this situation.

My current rules are:

## Accept some ports
iptables -A INPUT -p tcp --dport 28261 -j ACCEPT
iptables -A INPUT -p tcp --dport 3724 -j ACCEPT
### Prevent port scan # ...
Score: 0
rabbit Withers avatar
Which partitions should I used for which mounts?
gm flag

My MBR or some boot kernel sector got blown on my Ubuntu 22 install.

my installed Ubuntu 22 boot error

Only solution I could think of is reinstall Ubuntu, leaving my home/ intact. I went to do so: (boot of USB, decline WiFi network, click Install) and during Ubuntu install I get to the step 5 window (from the Ubuntu Install tutorial) [10].

Updates and other software

and select normal install, no updat ...

Score: 1
Andre avatar
i3wm significant lag vs. normal ubuntu gnome session
sa flag

I use i3wm for a couple of years now on Ubuntu. Never had an issue like this one before. I just upgraded to 22.10, but after the update, while in i3wm, I have the following issues:

  1. Whenever I open an application, the screen will temporarily tear, showing other (or previous) applications on some parts of the screen.

  2. In a terminal there is a lot of keyboard input lag.

  3. Emacs is particularly bad,  ...

Score: 0
J. Scott Elblein avatar
Access root user directories from Windows under WSL?
cn flag

I'm running WSL2, Ubuntu 20.04, and Docker Desktop. I often need to access some directories that are root owned and not readable by my main user. It's getting pretty old to always have to:

  • Manually login to the Ubuntu console as root
  • Manually cd to the dirs I need to view files in
  • cat each file one by one

This is especially painful when having to search through a ton of directories within just a minu ...

Score: 0
Jaquantavious avatar
How do I fix xfce being the default desktop environment?
cf flag

I tried to set up a desktop environment for when I connect to my VM from chrome remote desktop and the only desktop that it is letting me use is xfce, I have tried to change my user file in

cd /var/lib/AccountsService/users/username

, but even then it still does not let me not use xfce. Please help and thank you! If you need any extra information I will try and respond as quick as possible.

[User] Lang ...

Score: 0
Martzy avatar
HDMI Audio not working on Ubuntu 22.04 depending on the resolution
qa flag

Have freshly installed 22.04 and the sound through HDMI it's not working. What I noticed is that it works on 3840x2160, if I change to any other resolution, it stops working.

Score: 1
How do I make System monitor use the same theme as Ubuntu 22.10 Cinnamon 5.4.12
US flag

Ubuntu 22.10 with Cinnamon desktop 5.4.12 not showing System Monitor 42.0 with same theme:

sysmon-theme

Ubuntu release updated yesterday 3th november 2022 from 22.04 using lightdm and Cinnamon to Kinetic.

I didn't found any settings to allow to change it:

processes-settings

ressources-settings

filesys-settings

How can I make it use the same theme?

I found the same question here, on github, but the problem came from the snap version.

I installed it with apt install  ...

Score: 2
Truls avatar
How to return to default user after switching to root in Ubuntu on WSL?
re flag

I am using WSL on Windows 11 with Ubuntu 20.04 LTS (Focal Fossa).

During the installation process, I think I entered the command ubuntu --install (in VSCode), but I ran into an issue during the installation. The terminal opened, asking for a Linux user and password, but then it closed as some other application started or something.

Since I never got the chance to set my default user's password,  ...

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.