Latest Ubuntu related questions

Score: 0
Shourya Shikhar avatar
Wifi keeps disconnecting randomly and won't come back till restarting system
co flag

My wifi keeps getting disconnected randomly. Once disconnected, switching it off and on from the GUI (Settings) doesn't do any good. After disconnection, turning it off says "No Wi-Fi Adapter Found" in the GUI settings. If I try to turn it on, it keeps searching for a network, and is unable to find one.

When it gets disconnected, it keeps being connected to the network (visible with the wifi symb ...

Score: 0
Lucas Scheepers avatar
Xrandr: can't open display (trying to add fake display)
mm flag

I've installed Ubuntu 22.04.2 LTS on my PC. There's a scenario that I need to access this PC using Moonlight and Sunshine when there's no monitor connected to my GPU. Sunshine is the host streaming service and Moonlight the client service. Sunshine uses Xorg and PulseAudio. I've started Sunshine successfully on my PC when there's a monitor connected to my GPU. Only then I'm able to connect to my PC via  ...

Score: 0
Thomas B avatar
Partionning with preseed
nz flag

I used to find my solutions on old post here but today I have to write for help as I don't find any usefull answer anywhere. I'm sure you'll rock and help me with this problem I have for quite a while now. So thanks in advance for all your help. I also apologies in advance for english mistakes... (FR)

I try to install ubuntu as following (roughly):

/boot
/efi
LVM crypt
|--> /           ->10Go
|- ...
Score: 0
dajoyful21 avatar
WiFi not available on Lenovo Thinkpad E15 Gen 4 / Ubuntu 22.04
om flag

I installed Ubuntu "22.04.2 LTS (Jammy Jellyfish)" on my ThinkPad E15 Gen 4, but the WiFi does not work.

I used the command on this link My wireless/WiFi connection does not work. What information is needed to diagnose the issue?

to create this wifireless-info.txt https://pastebin.ubuntu.com/p/jNM99GhPzD/

Is this enough to find out why I cannot have a wireless connection?

########## wireless info S ...

Score: 1
Hayduke avatar
Remmina VNC Not Always Connecting
us flag

5/12/23 Update: I have returned home and done some troubleshooting of my VNC connection. It appears to be something to do with the VNC server on the desktop computer I was trying to access. After restarting the PC, I can connect normally via VNC. When the PC screen is locked, as in without activity for some period of time, I can no longer connect VNC. When trying again after unlocking the screen, I  ...

Score: 0
Problem with WebGL and Google Sign In
es flag
LEo

I'm using Ubuntu 22.10 and Firefox 112.0.1 (64-bit). I had to disable WebGL in order to be able to sign in my Google Account. I believe other services are also affect. When WebGL is enabled, visiting https://get.webgl.org/ says it is all okay. I don't know the reason, but disabling it was the only solution I found to get to sign in Google. Is there any other solution? My notebook is a Thinkpad E480 with  ...

Score: 1
gabogabans avatar
Rclone and S3 SPaces: How to remove files older than X from my remote s3 space?
hk flag

I'm learning to use rclone in order to create backups for my application, I store these backups into my DigitalOcean Space (S3), this is the line I use to backup my sql database.

rclone copy "${database}-${datestring}.sql.gz" dospace:dospace/sql-backups

Works great, now I'd like to know how to remove from my space, .sql backups older than ONE YEAR

Also for backing up user images for my app I'm plann ...

Score: 3
Murat Demir avatar
Ubuntu 20.04.6 external display doesn't work on my new laptop
dz flag

I got a new XPS 15 9530 with following specs;

  • i9 13th gen
  • RTX 4070
  • 3.5k OLED Display

I turned off secure boot and install Ubuntu 20.04.6 and I keep facing some problems. I think I have a driver problem. I try following solutions but none of them works:

  1. I select NVIDIA 525 all options from additional drivers but none of them works
  2. I try x.org driver but it doesn't work too
  3. I download 530 from NVIDI ...
Score: 0
John avatar
unable to start file from script using remmina snap
fk flag

I have remmina installed through snap, all persmissions required for remmine in snap (including home dir) are set correctly.

Starting remmina through kde launcher works
starting remmina in Konsole with:

remmina --connect=/home/user/Documents/location_of_file/file.remmina

works
placing the line above in a script, and launching it from Konsole also works.

But lauching the script through a custom keyboa ...

Score: 0
webfork avatar
How to enable hardware encryption on my Crucial MX500 drive with Ubuntu 20.04
cd flag

I have a Crucial MX500 1TB drive, and it supports hardware encryption. I need to attach it to my Raspberry Pi 4 running Ubuntu 20.04 and enable encryption. I also need the drive to be auto attached to the Pi with the saved password during startup. It is not the boot drive. It is just an another drive that is attached to the Pi.

Score: 0
viglu avatar
squid url_regex not working
th flag

I'm using squid on our Citrix Servers as Proxy Server and only some domains are allowed.

But now I want only the URL https://ec.europa.eu/taxation_customs/dds2/seed/seed_consultation.jsp?Lang=fr to be allowed.

I made the following config

acl seed_url url_regex ^http(s)?://([a-zA-Z]+).ec.europa.eu//taxation_customs/dds2/seed/.*$
http_access allow seed_url

But it do not work squid give the answer in the  ...

Score: 0
hanava331 avatar
Having issues installing Miktex (and compile Latex code)
uz flag

I believe I have installed Miktex, because when I run miktex --version I get One MiKTeX Utility 1.7 (MiKTeX 23.4)

However, I cannot run simple latex code. I tried sudo apt-get update but surprisenly I got :

Ign:2 https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy InRelease                                               
Hit:3 https://packages.microsoft.com/repos/edge stable InRelease   ...
Score: 0
marxin avatar
Windows like quick launch for Gnome
cn flag

I'm trying to get a Windows like bottom panel. I'm using dash to panel extension, running on Ubuntu 20.04. I've enabled ungrouping, and now it looks like I want to:

enter image description here

However, I would also want to have a quick launch section. Not like favorites, because favorites icons, once clicked, get replaced with the running app label. Which is pushing all the other favorites to the right. So instead of something like ...

Score: 0
Steve Pringle avatar
Hwmon PWM-fan driver missing from Raspberry pi version of Ubuntu 22.04
cl flag

Is there any reason why the hwmon pwm-fan driver is omitted from the raspberry pi version on Ubuntu 22.04. It’s inclusion would allow the control of raspberry pi PWM fans using suitable dtoverlays rather than having to use user land code and software PWM.

Score: 0
Jameel Ahamed avatar
Ubuntu software center could not open
bl flag

I am using Ubuntu 22.10, OS Type 64 bit. I could not open Ubuntu software. I tried many solutions but could not fix the issue. I need to fix the issue, please anyone help me.

I tried below solutions

$ killall gnome-software

$ sudo apt autoremove gnome-software

$ sudo apt install gnome-software
$ sudo apt clean
$ sudo apt update

$ sudo apt update
$ sudo apt upgrade
Score: 1
Clémence avatar
GitHub Actions runner cannot access ports.ubuntu.com
zm flag

I'm building containers from GitHub Actions. I'm using Ubuntu Jammy (latest LTS, 22.04). Since few hours, the GitHub Actions runners cannot any more access to the domain hosting the Ubuntu packages for non AMD64 arch, ports.ubuntu.com.

How do you advise getting around this problem?

Note for ports.ubuntu.com maintainers: The IP ranges of GitHub Actions runners are available by API.

Reproduction:

Score: 0
mdolphin avatar
Problem with postinst Script
cd flag

I've written a short postinst Script to create some Directories after my Application has been installed, with the Intention that the Application may create new Subdirectories of these Directories regardless of the User that will use the Application later, like Log-Files in several Subdirectories.

My Script looks like this:

#!/bin/bash
set -e

if [ ! -d "/opt/myApp/logs" ]; then
sudo mkdir /opt/myApp/l ...
Score: 0
linuxnoobie avatar
How to monitor cpu and memory usage?
la flag

How to write script monitoring cpu and memory usage then prints a warning when usage is 70% (red warning)?

EDIT:

cpuUsage=$(top -bn1 | awk '/Cpu/ { print $2}')
memUsage=$(free -m | awk '/Mem/{print $3}')
echo "CPU Usage: $cpuUsage%"
echo "Memory Usage: $memUsage%"
if [ "$cpuUsage" -ge 70]; then
echo -e "The system is not utilizing"

It keeps giving me 0% usage of CPU and message isn't printed

Score: 0
Zenmaru avatar
Ubuntu 22.10 audio lag when enabled lock screen
tr flag

Ubuntu 22.10
Motherboard MSI z97 u3-plus
sudo lshw -C sound

description: Audio device
       product: 9 Series Chipset Family HD Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       logical name: card0
       logical name: /dev/snd/controlC0
       logical name: /dev/snd/hwC0D0
       logical name: /dev/snd/pcmC0D0c
       logical name: /dev/s ...
Score: 0
dada Wu avatar
How to solve nvidia-driver-525 dependencies
om flag
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 nvidia-driver-525 : Depends: libnvidia-gl-525 (= 525.89.02-0ubuntu0.18.04.1) but it is not installed
                     Recommends: libnvidia-gl-525:i386 (= 525.89.02-0ubuntu0.18.04.1)
E: Error, pkgProblemResolver::Resolve generated  ...
Score: 0
Andrei Chalapco avatar
Will the linux kernel support Realtek RTL8852BE WiFi 6 802.11ax PCIe Adapter in the future?
mh flag

Will the newer linux kernels support Realtek RTL8852BE WiFi 6 802.11ax PCIe Adapter??? I'm asking this question because I have a new laptop (HP Pavilion) and I saw there are some drivers available on github. Looking at the github issues this is not a preferred option ... (I think everyone understands this and wants a out of the box solution distribution) I would be more pleased to know if some kind of k ...

Score: 0
Andrea Turbiglio avatar
Ubuntu 22.04: sudo not asking for password with empty sudoers.d and no "NOPASSWD" entry in /etc/sudoers
ru flag

Weird thing, lately I noticed that every time I run a command with sudo, it doesn't ask for password.

Thing I've checked:

  • /etc/sudoers.d = empty
myuser@MYPC:/etc/sudoers.d# ls
README
myuser@MYPC:/etc/sudoers.d# cat README 
#
# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
# installation of the package now includes the directive:
# 
#   #includedir /etc/sudoers.d
# 
# This wi ...
Score: 0
Prasanth A avatar
title bar in ubuntu where not visible properly
sn flag

The title bar text and popup text are not clearly visible in Ubuntu 22.04. Even if I change the font, it does not appear properly.

This is what I see:

title bar

How can I fix this problem?

Score: 0
Dominik Modrzejewski avatar
Problem with second monitor 4k on ubuntu 22.04
kn flag

i connent by micro display port to graphic card 2 monitors, one 4k, second full hd but on windows all works very well, on ubuntu 20.04 monitors work slowly, its looks like 15 fps on display. I tried to install drivers to my graphic card (nvidia t400 mobile), by terminal and system ui, but now my second monitor dont work and i must to unistall this drivers. How to install drivers corretly?

Score: 1
JJohn avatar
MySQL "Server is operational"
om flag

MySQL server was working fine, than unexpectedly going out, I can not connect to it from WorkBench.

#sudo service mysql status
● mysql.service - MySQL Community Server
 Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
 Active: active (running) since Wed 2023-04-19 08:18:38 EEST; 57min ago
 Process: 760 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code= ...
Score: 0
Matt Q avatar
I have a problem with cyberghost in linux 22520
ml flag

I try using the program to connect to a server but I get this error message.

Traceback (most recent call last):
  File "cyberghostvpn.py", line 762, in <module>
  File "cyberghostvpn.py", line 742, in main
  File "servers/traffic.py", line 180, in showInstances
  File "servers/traffic.py", line 89, in getInstances
  File "libs/services.py", line 73, in getServers
  File "libs/api.py", line 19 ...
Score: 0
VladimirLenin avatar
Reinstall application above existing
us flag

Is there a way to reinstall .deb file so that to keep all previously installed files in place ?

Score: 0
Peter Krippner avatar
Driver for Sound card
tr flag

I have the following sound card, however in settings for sound it shows Dummy Output so it is not recognized. How do I get this driver? I am using Logitech S120 external speakers on a mini PC w/ Ubuntu v. 22.04

00:1f.3 Multimedia audio controller: Intel Corporation Device 4dc8 (rev 01)

DeviceName: Onboard - Sound
Flags: bus master, fast devsel, latency 32, IRQ 131
Memory at 6002120000 (64-bit, non-pre ...
Score: 0
user227495 avatar
External Display (HDMI) Not Working After 22.04 update
us flag

I was using Ubuntu 22.04 fine some 30 minutes back. There was an Update prompt which I accepted, it asked for a restart when finished. But after that, my Samsung External monitor through HDMI is not detected. I do not see anything in Settings as well.

I tried the Windows 10 dual boot and the external monitor works fine.

Is there anything I can do to bring the external monitor back to life? Thanks

Score: 2
Scott Fenech avatar
Problem installing TP-Link TX201 2.5 Gigabit PCIe Network Adapter
hm flag

I'm having issues switching my network connection from the onboard controller to a new TP-Link TX201 2.5 Gigabit PCIe Network Adapter. Can someone please help me with this issue that has got this controller working in Ubuntu Server 20.04?

The card is currently showing network UNCLAIMED. My goal is to convert the settings from my existing controller and switch them to the new controller, then ch ...

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.