Latest Ubuntu related questions

Score: 0
sheldon scofield avatar
Terminal minimizing whena an other window is clicked
dj flag

I am running a maximized window (ROS) and in the foreground i have a compromized terminal. What i want is to click and check boxes in the main Program (ROS), without the terminal minimizing. How do i do that ?

Score: 1
pcantoniopc avatar
Ubuntu 22.04.1 LTS upgrade : could not install nvidia-driver-470 / nvidia-driver-525
se flag

I was wondering if someone had the same problem as me when upgrading to Ubuntu 22.04.1 LTS and how to solve it.

In summary, the issue is that I am not able to install the nvidia-dkms-525 driver, which if I'm not wrong, is the correct version for the Ubuntu 22.04.1 LTS kernel.

I would much appreciate it if someone can through some lights to find a solution for this. TIA

Here you are some details about t ...

Score: 0
scott0 avatar
Where is the KODI folder in Ubuntu 22.10?
th flag

Installed Ubuntu 22.10 and KODI with no problems. In Ubuntu 22.04 and earlier versions KODI is a Hidden folder in the Home directory.That doesn't seem to be the case for U-22.10. I was able to find a kodi4 folder under the user folder but the layout is not quite the same as the previous versions folders. Normally I do not use flatpack or snap to install programs.(personal preference) May have used flat ...

Score: 0
Simone avatar
Losing internet connection after some minutes (wired connection)
sn flag

i'm setting up a computer that i use like a server, it is wired connected to the modem. When i turn it on i can ping www.google.com and it's working fine but after 5 minutes it loose the connection and is no more able to ping outside. I've the ufw enabled, i've already tried to disable and test if it was the problem but same results.

I've tried to open two putty connected on the same server with on ...

Score: 0
Jori Mäntysalo avatar
ydotool and minus sign comes out as plus sign
be flag

ydotool type 'ab-cd' produces ab+cd in Ubuntu 22.04. I have tried for example LANG=C but wihtout luck, and ydotool key does not help either. I am using the Finnish keyboard, i.e. this has letters åäö. Also ydotool type '?' produces _ and ydotool type '_' produces ?. What should I try next?

Score: 0
tatsu avatar
installing steam on 22.04
ke flag

I'm trying to install steam (deb or terminal, it has to not be flatpak or snap)

and I tried following the first method on this website: https://linuxconfig.org/how-to-install-steam-on-ubuntu-20-04-focal-fossa-linux

sudo apt install steam
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  i965-va-d ...
Score: 0
user20663427 avatar
IP not getting assigned to VM created using ansible script
vi flag

I have created a VM using ansible script. IP is not getting assigned to VM even if we give static IP. And in vsphere client it is showing blank for IP Address.

---
- hosts: 127.0.0.1
  connection: local
  gather_facts: no
  vars_files:
    - variables.yml
  tasks:
    - name: Create a ubuntu vm using ansible       
      vmware_guest:
        hostname: "{{vsphere.hostname}}"
        username: "{{vs ...
Score: 1
Universal avatar
VNC Crashes right after login
cd flag

While I'm connecting to a pc via VNC it works smoothly but when I'm trying to log in a specific user which I added the user via the Join to domain process the VNC crashes right after, the login worked before but I think the specific user did something with his profile that causes this issue and I cannot see how to figure it out.

I tried to do some terminal commands such as:

sudo service lightdm restar ...
Score: 1
badprogrammer avatar
How to get rid of error codes SC1009, SC1073, SC1056, SC1072
vi flag

So I have put in my bash script in shell check and I'm getting this error code which says:  

Line 61:
function print_2() {
^-- SC1009 (info): The mentioned syntax error was in this function.
                   ^-- SC1073 (error): Couldn't parse this brace group. Fix to allow more checks.

 
Line 164:
manage_users;
             ^-- SC1056 (error): Expected a '}'. If ...
Score: 0
Shobeira avatar
"dns_probe_finished_bad_config" on Chrome ONLY, other browsers work normally
pt flag

Only Chrome browser has the mentioned issue and other browsers behave normally. I am able to visit websites on other browsers and also use ftp.

It seems the problem is not the machine dns resolver, as other applications are able to resolve dns. Any idea why only chrome browser (version 108.0.5359.124) is unable to resolve the dns on Ubuntu 22.04?

(NB: I connect/disconnect to VPNs regularly)

Update 1: I ...

Score: 2
ohemelaar avatar
Ubuntu 22.04.1 LTS very long X session login due to 90xbrlapi
tf flag

I have a problem on my desktop where login takes a minute or two. During that time the screen stays black. I have checked syslog and found a quite large time gap when the X session runs /etc/gdm3/Xsession. I then further added a debug line to the part when it loads /etc/X11/Xsession.d like so:

if [ -d /etc/X11/Xsession.d ]; then
    for i in `ls /etc/X11/Xsession.d/` ; do
        if [ -r "/etc/X11/Xs ...
Score: 1
Anaïs Ahmed avatar
Ubuntu unable to boot, stuck in GRUB command line
pa flag

I'm relatively new to Ubuntu. I am single-booting it on a relatively new Lenovo laptop (factory installed with Ubuntu) and am stuck at the GRUB command line (GRUB 2.04). When I try to ls, I get:

(proc) (hd0) (hd0.gpt3) (hd0.gpt2) (hd0.gpt1) error: failure reading sector 0x951800 from 'hd0'. error: failure reading sector 0x951800 from 'hd0'.

And when I try to ls further into these, everything seem ...

Score: 0
Calvin avatar
$PATH - No such file or directory (but all files and directories exist)
bv flag

I am running Ubuntu 22.04 LTS and at first when I was attempting to use a script that would do the following:

. ~/.bashrc

conda activate {env}

I would receive an error that conda init needs to be run. However, I had ran it and then did it again as prompted but nothing was modified. So after some searching, I decided to check my PATH variable and I receive this:

10:55:42  |base|local@office-dana- ...
Score: 0
Surendra Kumar G P avatar
Some libs are mssing while installing ChromeDriver
py flag

This is the error what I'm getting . Please provide your help on this

Err:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 udev amd64 245.4-4ubuntu3.18 404 Not Found [IP: 185.125.190.36 80] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libu2f-udev all 1.1.10-1 [6108 B] Fetched 93.9 MB in 1s (92.3 MB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_2 ...

Score: 0
Allpep avatar
I was trying to dual windows and Linux using parted magic but my harddrive boot now won't work
kw flag

Soooo basically I used "universal usb installer 1982" and installed Ubuntu using the parted magic.iso, but i misclicked accidentally formated my F:/ instead of my 4Gig USB stick So then i restarted And my harddrive boot just says"syslinux 4.07 EDD 2013-07-25 Copyright (C) 19994-2013 H. Peter Anvinet al" I think i somehow made my harddrive boot into Linux instead of windows but the Linux boot doesn't  ...

Score: 0
tbhaxor avatar
Prevent a particular interface from renaming
ve flag

I want to prevent renaming of wlx.... interface from wlan0, it is hard to remember this name

$ sudo dmesg | grep -i wlx
[219450.888777] rtl88XXau 1-1:1.0 wlx00c0cab236b4: renamed from wlan0
[219451.407162] IPv6: ADDRCONF(NETDEV_CHANGE): wlx00c0cab236b4: link becomes ready
[219464.375388] rtl88XXau 1-1:1.0 wlx00c0cab236b4: renamed from wlan0
[219464.867527] IPv6: ADDRCONF(NETDEV_CHANGE): wlx00c0cab2 ...
Score: 2
TurnItOffAndOnAgain avatar
No microcode detected after installation and reboot
gg flag

I noticed an error in GCP log:

[    0.294304] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode

After installation, I then ran these commands:

sudo apt-get install microcode.ctl intel-microcode
sudo reboot now

However, running sudo dmesg | grep microcode still states that there is no microcode (see image below).

enter image description here

System specs:

System: Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-1025-g ...

Score: 0
cool avatar
Wifi disconnecting - Ubuntu 20.04.1 LTS
vc flag

I am new to Ubutnu, recently installed Ubuntu 20.04.1 LTS. Evrey time when I turn on My laptop, wifi works. But after few mintes, wifi disconnects and I have to start the laptop again. Any solution? uname -r comment is showing "5.15.0-56-generic" Thanks

I run the command sudo apt-get install -y linux-firmware, the out put is as below.

Reading package lists... Done
Building dependency tree... Done
R ...
Score: 2
hamza toor avatar
How can I increase the size of lvm partition?
lb flag

I have a ubuntu 18.04 system. I have a total of 3 partitions and in my third partition, I have an LVM partition. I need to increase the size of that partition. Here is the output of lsblk I need to increase the size of ubuntu--vg-ubuntu--lv partition inside /dev/sda3

NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                         8:0    0  140G  0 disk
├─sda1            ...
Score: 1
daerragh avatar
Ubuntu Videos: "Could not initialise OpenGL support" - Raspberry Pi 4
cn flag

I'm having a problem playing a .mp4 (don't know the codec used) video using Ubuntu Videos (the stock player) on RPi 4. I'm using Ubuntu 22.10 (upgraded from 22.04). I get the above error "Could not initialise OpenGL support" (with a spelling mistake :) ).

I tried running "sudo ubuntu-drivers autoinstall", but all the drivers have already been installed. My OS is also fully updated.

What can I do to  ...

Score: 0
Pippin avatar
Black screen at login
bo flag

In /etc/profile.d/ I inserted the file custom.sh which reads:

~/.start/speakers.sh &
~/.start/vpn.sh &

As you can see, both files are run in the background. Why am I still experiencing, sometimes but not always, a black screen after I press login? When that happens, I don't see the desktop.

This morning, I had to turn off the computer the hard way, then boot again. This time no problem, the ...

Score: 0
Capitol avatar
Kernel version 5.4 performs better transactions in PHP than newer kernels? see thread
US flag

Good day fellow Ubuntu users.

I would like to ask for any inputs or ideas to see on why the kernel version 5.4 performs way better transactions in PHP compared to the newer kernel versions.

Here's the information used during the tests.

Google VM Instance Type: c2-standard-30 w/ 1TB SSD Storage (tested different machine types and the result is the same).
Operating System: Ubuntu Focal 20.04 LTS
LXD/LXC ...
Score: 1
VBtheHun avatar
How to make sense of the "sensors" output?
us flag

If I run the command sensors on my PC, this is the output I get:

hp_vendor-isa-0000
Adapter: ISA adapter
CPU FAN:        0 RPM

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:      643.00 mV 
vddnb:       768.00 mV 
edge:         +46.0°C  
PPT:           0.00 W  

BATT-acpi-0
Adapter: ACPI interface
in0:          13.07 V  
curr1:         0.00 A  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +48.2°C ...
Score: 0
Interval avatar
Ubuntu cannot detect a partition but Windows can detect it
pl flag

I currently have dual boot on an SSD. Earlier I had a dual boot on my HDD. One of the partitions in the HDD is now not accessible to me when I boot from Ubuntu on the SSD. It cannot detect the partition. However, when I boot Windows from the same SSD, it can still detect the HDD partition.

Output of lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sdb 8:16 0 931.5G 0 disk
├─sdb4 8: ...

Score: 0
Megan Darcy avatar
issue installing tmux vlc using WSL on Windows
ss flag

I'm using WSL 18.04 on windows 10, and I'm trying to install the following but I get errors:

sudo apt-get install tmux vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
tmux is already the newest version (2.6-3ubuntu0.2).
tmux set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dep ...
Score: 0
Zion T  avatar
"tcpdump" command in "crontab" crashes immediately after running the "crontab" jobs
cf flag

I want crontab to start a tcpdump command, but tcpdump seems to crash immediately after running the crontab jobs. This is the command that I am trying to run:

@reboot  /usr/sbin/tcpdump -l enpls0 -G 3600 -tttt -vvv 'port 5000' -w /home/edward/dump-%H.pcap

What am I doing wrong?

Score: 1
eurovader avatar
Cannot find any WiFi networks on my HP Pavillion x360 using Ubuntu 22.10
cx flag

On a clean installation of Ubuntu 22.10 on my laptop with a intel WiFi 6 AX201 Wifi adapter, when I click on the Wifi icon, no Wifi networks show up. I've tried looking at other answers but they haven't helped me - I tried almost everything i could that is online. Please help (Ubuntu newbie).

When I turn lshw -C network I get:

WARNING: you should run this program as super-user.
  *-network DISABLED       ...
Score: 0
Per Bock avatar
Is logwatch telling me someone tried using the server as a proxy and does not check whether mod_proxy is there?
vi flag

Logwatch keeps telling me Connection attempts using mod_proxy: for instance with

 Connection attempts using mod_proxy:
    90.151.171.106 -> fingerprints.bablosoft.com:443: 1 Time(s)
    90.151.171.108 -> checkip.amazonaws.com:443: 1 Time(s)

even though I disabled mod_proxy.

I did

root@server:~# phpdismod mod_proxy
WARNING: Module mod_proxy ini file doesn't exist under /etc/php/8.1/mods-ava ...
Score: 0
manodzit avatar
adding permanent custom environment path variable
tt flag

i am trying to create a permanent path variable following this tutorial: https://youtu.be/JLjF75b-vMI?t=126 everything worked fine and i was able to cd to my newly added variable's directory, however when i rebooted.

xxxx@XXXXXX:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/media/xxxx/System/___HOU
xxxx@XXXXXX:~$ echo $H ...
Score: 0
milsim avatar
Offline updates on pro enabled ubuntu 20.04 broken
ng flag

I have an offline Ubuntu 20.04 VM, which is pro enabled (enabled esm-apps, esm-infra and fips). I was thinking of using apt-offline to do the updates on this VM. For investigation purposes, I installed a package pdfresurrect which is known to have esm-apps security updates available for Ubuntu Pro enabled systems.

I then used another network connected VM (which is also pro enabled) to get the upgrades,  ...

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.